Re: mail script

2001-03-05 Thread Alvin Oga

hi ya 

in .login  ( or .bash_profile )

assuming your environment variables are set "properly"

DATE=`date`
mail -s "$USER on $HOST logged in at $DATE " myaddress < /dev/null

also works good for anybody that logs in as root...
that not supposed to be...

c ya
alvin


On Mon, 5 Mar 2001, MaD dUCK wrote:

> also sprach Jaye Inabnit ke6sls (on Mon, 05 Mar 2001 07:19:16PM -0800):
> > looking for a quick sript to add to a .bash_profile to mail me when a user 
> > logs on. I'm pretty unfamiliar with all the stratigies, but would like a 
> > simple message to myself with time and user name. Any ideas GREATLY
> > appreciated :)
> 
> cat << EOF | sendmail myaddress
> To: myaddress
> From: $USER
> Subject: login: $USER
> 
> i just logged in (`date`).
> i don't like how you are spying on me.
> EOF
> 
> 
> you could also just use /var/log/auth.log, which will basically give
> you the same information with far less intrusive action of your part.
> 
> martin
> 
> [greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
> PROTECTED]@@@.net
> -- 
> "no, 'eureka' is greek for 'this bath is too hot.'"
> -- dr. who
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 



Re: Debian on Windows 2k

2001-03-05 Thread Robin Rowe
Yes, you should have a separate partition for Debian. But, with the low cost
of drives it is more economic to install another drive rather than waste
your time dividing up the one you have. Maybe you already have a smaller
drive laying about (2GB is nice) that has nothing to do anyway.

Yes, Debian can read Win2k formatted NTFS partitions just fine.

WinNT crashes sometimes. Win2k doesn't. Don't go back to NT.

Robin



Re: anyone have a epson stylus photo 870 working?

2001-03-05 Thread Ethan Benson
On Mon, Mar 05, 2001 at 10:02:57PM -0500, Dan Christensen wrote:
> 
> Where did it fail?  The Debian specific instructions are pretty
> detailed.  Did you install the packages they say are needed?

yup i followed the instructions, installed all build deps, that wasn't
it, the code is just broken.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgpkuZKm5w3LC.pgp
Description: PGP signature


Is OpenSSH broken in sid?

2001-03-05 Thread calyth
I'm having this odd ball problem where ssh refuses to read the host keys and it 
is unable to setgid. I've no idea what is wrong.
Does anyone have a clue about this?
Because I usually ssh in from school to check mail and maybe ICQ my friends 
remotely =)

Calyth



Re: help...

2001-03-05 Thread Jaye Inabnit ke6sls

Hello Dale,

I had same problem. I don't recall if I just changed the install script or if 
I just downloaded the seti version from seti's site. I do recall the 3.0 not
working since 3.0 isn't available and wouldn't work anyway :)  I really like 
the tkseti front end - basic yet not too basic :) You may also like the 
generic x version of seti since it inclused xseti.
I haven't used a gui for setting IP etc - kinda just do it manually - seems 
more sure fire somehow :) I'm sure there is something out there though.

pick your seti here:  http://setiathome.ssl.berkeley.edu/unix.html
tkseti:   http://www.cuug.ab.ca/~macdonal/tkseti 

Good luck and hope your seti results start adding up.

On Monday 05 March 2001 11:18, Dale Kosan wrote:
> Two quick questions from a newbie, 1)trying to install setiathome but it
> fails,it is looking for version 3.0 and 3.3 is the only available version,
> any ideas? Also, is there a nice gui or easy command line program to change
> the ip and info of a machine I set-up at work but am taking home? Thanks in
> advance,any info or url would be cool.Gotta say, I LOVE DEBIAN..

-- 

Jaye Inabnit, ARS ke6sls e-mail: [EMAIL PROTECTED]
707-442-6579 h/m 707-268-4074
http://www.qsl.net/ke6slsICQ# 12741145
This mail composed with kmail on kde on X on linux warped by debian
If it's stupid, but works, it ain't stupid.




startx error messages

2001-03-05 Thread Simon Harvey
hello,
i was asked to type:
startx 2> Xerror.log
by a helper on this email list, it was because my svga X-server would install 
and give the GUI congratourly message yet when i types 'startx' it simply 
wouldnt load up.

this was the same for both debian 2.0 and 2.2r2
so here is the output message

thanks.
simon


Who needs Cupid?  Matchmaker.com is the place to meet somebody.
FREE Two-week Trial Membership at http://www.matchmaker.com/home?rs=200015

Xerror.log
Description: application/sas-log


Re: simple GNOME question

2001-03-05 Thread John Foster
Matheson Cameron wrote:
> 
> Hey,
> 
> I have a simple (i think) question about GNOME.  I was
> wondering how I make it so that when I minimize an
> app, it shrinks into the GNOME panel.  I'm running
> Sawfish w/ GNOME 1.2 under Woody.

Add a tasklist applet to the panel. You should only do this on 1
panel..though you may have several panels.

- 
We specialize in multi-processor computing systems!
John Foster
AdVance-Computing Systems



Where did the incoming mail go?

2001-03-05 Thread Ian Patrick Thomas
After setting up sendmail to work and transfer my outgoing mail I went 
ahead and setup fetchmail.  I have included the verbose output of its execution 
below.  For some reason the mail is not getting onto my system, even though 
everything appears to be running correctly.

fetchmail: 4.6.4 querying pop.mail.yahoo.com (protocol POP3) at Mon Mar 
 5 23:51:01 2001
fetchmail: POP3< +OK hello from popgate
fetchmail: POP3> USER ipthomas_77^M
fetchmail: POP3< +OK password required.
fetchmail: POP3> PASS *^M
fetchmail: POP3< +OK maildrop ready, 9 messages (26311 octets) (979376 
26214400)fetchmail: POP3> STAT
fetchmail: POP3< +OK 9 26311
fetchmail: POP3> LIST^M
fetchmail: POP3< +OK 9 messages (26311 octets)
fetchmail: POP3< 1 2994
fetchmail: POP3< 2 3091
fetchmail: POP3< 3 3812
fetchmail: POP3< 4 2323
fetchmail: POP3< 5 2593
fetchmail: POP3< 6 4626
fetchmail: POP3< 7 2451
fetchmail: POP3< 8 1696
fetchmail: POP3< 9 2725
fetchmail: POP3< .
9 messages for ipthomas_77 at pop.mail.yahoo.com (26311 octets).
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 2994 octets
reading message 1 of 9 (2994 octets)
fetchmail: SMTP< 220 freeware.org ESMTP Sendmail 8.9.3/8.9.3/Debian/GNU; Mon, 5
Mar 2001 23:51:07 -0500^M
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-freeware.org Hello [EMAIL PROTECTED] [127.0.0.1], pleased 
to meet you
fetchmail: SMTP< 250-EXPN
fetchmail: SMTP< 250-VERB
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-ONEX
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XUSR
fetchmail: SMTP< 250 HELP
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]> BODY=7BIT SIZE=2994
fetchmail: SMTP< 250 <[EMAIL PROTECTED]>... Sender ok^M
fetchmail: SMTP> RCPT TO:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 <[EMAIL PROTECTED]>... Recipient ok^M
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself^M
#**.*fetchmail: SMTP>. (EOM)
l: SMTP< 250 XAA01175 Message accepted for delivery^M
 not flushed
fetchmail: POP3> RETR 2
fetchmail: POP3< +OK 3091 octets

I left off the other nine because they are almost identical.  For right 
now I have fetchmail leaving the mail on the server.  I also don't have mail 
from the list set to bounce, although it seems to show up this way in 
fetchmail.  Is there some default setting on Debian Slink (2.0.36) that denies 
incoming mail or is the problem maybe in sendmail?  I can send my .cf file or 
any other info if needed.

Thanks in advance,
Ian



Re: [q] apt-get source ..

2001-03-05 Thread Ben Collins
On Tue, Mar 06, 2001 at 12:55:57PM +0900, Olaf Meeuwissen wrote:
> Andrea Vettorello <[EMAIL PROTECTED]> writes:
> 
> > Yes, two/three days ago, look in the mailing list of this week about
> > "trouble compiling gs (ghostscript) from source". I've forced the
> > inclusion of the time.h header, and a couple of trivial change in
> > the stp driver itself about some incorrect inclusion path.
> 
>  you say?  I had kaffe break on that recently after I upgraded
> my system a bit.  Same kaffe source, same configuration compiled fine
> just a few days earlier.  From my change-log, I installed perl-5.6 on
> February 27 which upgrades libc6 and libc6-dev from unstable and then
> upgraded from testing the next day.
> 
> I fixed it by adding a check for time.h in configure.in.
> 
> Any chance that this is a bug somewhere in libc or perhaps in autoconf
> (don't know if that got upgraded :-{)

This is a bug in kaffe. Recent changes in libc6-dev were made (upstream)
to make the headers more standards compliant. This had the affect of
certain things that were implicitly defined when sys/time.h was
included, not being defined unless time.h was included. You need to make
this change.

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Re: apt-get dist-upgrade -u on testing wants to uninstall 189 packages

2001-03-05 Thread Anthony Towns
On Mon, Mar 05, 2001 at 07:22:22PM -0800, Tom Epperly wrote:
> When I try to apt-get dist-upgrade -u on testing, it wants to uninstall 189
> packages. This seems like a problem to me, but I am not sure how to report
> it.
> 
> # apt-get install adduser  
> The following packages will be REMOVED:
>   [...] perl-5.005 [...]

The problem here is some weird bug in apt's analysis of which packages are
mor important: it's deciding to remove perl-5.005 and keep data-dumper,
instead of the other way around, for some reason.

Easiest way to avoid this nastiness is to apt-get remove data-dumper
first.

Cheers,
aj

-- 
Anthony Towns <[EMAIL PROTECTED]> 
I don't speak for anyone save myself. GPG signed mail preferred.

``_Any_ increase in interface difficulty, in exchange for a benefit you
  do not understand, cannot perceive, or don't care about, is too much.''
  -- John S. Novak, III (The Humblest Man on the Net)


pgp6BSWrhEVTr.pgp
Description: PGP signature


Shells

2001-03-05 Thread Rob Zietlow
Does anyone know of a good website that teaches and gives good examples for
programming Shell scripts in bash?  I have some in one of my Linux books,
but only about 5 pages worth and only gives extreme basics



Re: laptop boot image?

2001-03-05 Thread Tom Marshall
I've had Debian on my Portege 3025 for nearly two years.  The initial
install was a bit rough because it wouldn't boot from Slink boot disks.  I
had to use loadlin from a WinDOS98 partition.  The Potato boot disks seem to
work fine, at least on this machine.

A search at http://www.google.com/linux for your specific brand and model of
laptop will usually turn up plenty of useful information.

On Mon, Mar 05, 2001 at 06:50:37PM -0500, Michael P. Soulier wrote:
> Hey people. I heard a rumour that the toshiba laptop I have works with
> Slackware, so while I wasn't able to get Debian's boot disks to work, the
> Slackware bootamp.i image worked great. Is there a Debian laptop-specific boot
> disk?
> 
> Thanks,
> 
> Mike
> 
> -- 
> Michael P. Soulier <[EMAIL PROTECTED]>
> "With sufficient thrust, pigs fly just fine. However, this is not necessarily 
> a good idea. It is hard to be sure where they are going to land, and it could 
> be  dangerous sitting under them as they fly overhead." -- RFC 1925

-- 
Windows 2000: Designed for the Internet. The Internet: Designed for UNIX.



simple GNOME question

2001-03-05 Thread Matheson Cameron
Hey,

I have a simple (i think) question about GNOME.  I was
wondering how I make it so that when I minimize an
app, it shrinks into the GNOME panel.  I'm running
Sawfish w/ GNOME 1.2 under Woody.

Thanks
Cameron Matheson

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: high load average

2001-03-05 Thread MaD dUCK
[cc'ing this to PLUG because it seems interesting...]

also sprach kmself@ix.netcom.com (on Mon, 05 Mar 2001 08:02:51PM -0800):
> It's not 200% loaded.  There are two processes in the run queue.  I'd do

huh? is that what 2.00 means? the average length of the run queue?

that would explain it because i found two STAT = D processes which i
cannot kill (any hints what to do when kill -9 doesn't work and the
/proc/`pidof` directory cannot be removed?). that's why 2.00.

thanks,
martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
micro$oft is to operating systems & security
what mcdonalds is to gourmet cuisine.



Re: high load average

2001-03-05 Thread kmself
on Mon, Mar 05, 2001 at 09:37:36PM -0500, MaD dUCK ([EMAIL PROTECTED]) wrote:
> someone explain this to me:
> 
> albatross:~$ uname -a
> Linux albatross 2.2.17 #2 Mon Sep 04 20:49:27 CET 2000 i586 unknown
> 
> albatross:~$ uptime
>   2:56am  up 174 days,  5:50,  1 user,  load average: 2.00, 2.05, 2.01
> 
> # processes sorted by decreasing cpu usage
> albatross:~$ ps aux | head -1 && ps aux | sort -nrk3 | head -5
> USER   PID %CPU %MEM   VSZ  RSS TTY  STAT START   TIME COMMAND
> root 15889  0.2  1.6  2720 1536 ?S02:50   0:02 /usr/sbin/sshd
> root  1646  0.1  0.9  1672  864 ?S 2000  32:01 
> /usr/sbin/diald -
> xfs   1776  0.0  1.0  2060 1020 ?S 2000   0:00 xfs -droppriv 
> -da
> squid 1748  0.0  0.3  1088  332 ?S 2000   0:06 (unlinkd)
> squid 1742  0.0 19.2 20048 18440 ?   S 2000  15:01 (squid) -D
> root 25890  0.0  0.7  1652  764 ?D00:01   0:00 sh 
> /etc/ppp/ip-up
> root 25889  0.0  0.7  1644  752 ?S00:01   0:00 bash 
> /etc/ppp/ip-
> 
> the load average displayed by uptime has been very consistently above
> 2.00 and the output of ps aux has been pretty much the same for the
> past two weeks. no hung jobs. no traffic. the server basically *isn't
> being used*, especially not during the last 1, 5, or 15 minutes. and
> cron isn't running, there are *only* 35 running jobs. why, oh why then
> is it 200% loaded???

It's not 200% loaded.  There are two processes in the run queue.  I'd do
a 'ps aux' and look at what's runnable (STAT = 'R').  You might have to
do this repeatedly to find out what's there.  If it's the same processes
consistently, you might look to see what they or their children are
doing.

Note that you list *no* runnable processes in your ps output.

-- 
Karsten M. Self http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?   There is no K5 cabal
  http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org


pgpVPI810tT06.pgp
Description: PGP signature


Re: [q] apt-get source ..

2001-03-05 Thread Olaf Meeuwissen
Andrea Vettorello <[EMAIL PROTECTED]> writes:

> Yes, two/three days ago, look in the mailing list of this week about
> "trouble compiling gs (ghostscript) from source". I've forced the
> inclusion of the time.h header, and a couple of trivial change in
> the stp driver itself about some incorrect inclusion path.

 you say?  I had kaffe break on that recently after I upgraded
my system a bit.  Same kaffe source, same configuration compiled fine
just a few days earlier.  From my change-log, I installed perl-5.6 on
February 27 which upgrades libc6 and libc6-dev from unstable and then
upgraded from testing the next day.

I fixed it by adding a check for time.h in configure.in.

Any chance that this is a bug somewhere in libc or perhaps in autoconf
(don't know if that got upgraded :-{)

-- 
Olaf Meeuwissen   Epson Kowa Corporation, Research and Development



Re: apache and cgi-bin

2001-03-05 Thread MaD dUCK
also sprach Mike Millner (on Mon, 05 Mar 2001 08:52:38PM -0700):
> they are in and not commented out

send me your httpd.conf file as an attachment.

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
a life? where can i download that?



Re: It's MY computer, not Bill's!

2001-03-05 Thread MaD dUCK
also sprach Robert Tucker (on Mon, 05 Mar 2001 07:02:37AM -0800):
> Didn't partition yet. Want to get all my ducks in a row and do everything at 
> the
> same time. I've been gathering everything together...

then partition like this:

hda2 your ram size
hda1  /everything else

it's best for now.

> Never any experience with linux before. My DSL provider is PacBell and I use a
> Kingston card with an external modem and all is set up for W95. As for a 
> 'routing
> table' ... huh?  I've been digging through the software here at Debian.org and
> have found tons of programs that seem to be what I want. Just can't seem to 
> nail
> anything down though.

tell us about your windoze machine config. what is the output from the
command line command 'route print' ?

what protocols do you use? is this windoze 95? if so, what's listed in
the network control panel? what are the tcp/ip settings(*)?

if this is windoze nt, what's listed in the network control
panel/protocols and adapters? what are the tcp/ip settings(*)?

(*) tcp/ip settings of relevance:
   ip address
   network mask
   gateway/router
   dns servers

> All I know is is that PacBell said they only support W9x-2000 and can't help 
> me
> with linux (or any other platform) and the people I have been able to talk to
> know what they read off a sheet of paper. 'pppoe'? My mail is pop3 and that's
> about all I know. Sorry, I'm pretty ignorant about this part...

pppoe and pop3 have nothing to do with each other. pppoe might only be
needed in germany actually, i don't know about PacBell. did you have
to install *anything* on windoze when you got dsl working?

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
never underestimate the power of human stupidity.



Re: apache and cgi-bin

2001-03-05 Thread Mike Millner
they are in and not commented out
- Original Message -
From: "MaD dUCK" <[EMAIL PROTECTED]>
To: "Mike Millner" <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, March 05, 2001 8:48 PM
Subject: Re: apache and cgi-bin


> also sprach Mike Millner (on Mon, 05 Mar 2001 08:47:46PM -0700):
> > Invalid command 'ScriptAlias', perhaps mis-spelled or defined by a
module
> > not included in
> > the server configuration
>
> do you have the following lines in httpd.conf?
>
> LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
> LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
>
> if not, put them there.
>
> martin
>
> [greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
> PROTECTED]@@@.net
> --
> no micro$oft components were used
> in the creation or posting of this email.
> therefore, it is 100% virus free
> and does not use html by default (yuck!).
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



Re: apache and cgi-bin

2001-03-05 Thread MaD dUCK
also sprach Mike Millner (on Mon, 05 Mar 2001 08:47:46PM -0700):
> Invalid command 'ScriptAlias', perhaps mis-spelled or defined by a module
> not included in
> the server configuration

do you have the following lines in httpd.conf?

LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so

if not, put them there.

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
no micro$oft components were used
in the creation or posting of this email.
therefore, it is 100% virus free
and does not use html by default (yuck!).



Re: apache and cgi-bin

2001-03-05 Thread Mike Millner
this is what my log file says when any mention of script alias is in the
httpd.conf

Invalid command 'ScriptAlias', perhaps mis-spelled or defined by a module
not included in
the server configuration

and the daemon won't start

Thanks,
Mike
- Original Message -
From: "MaD dUCK" <[EMAIL PROTECTED]>
To: "Mike Millner" <[EMAIL PROTECTED]>
Cc: "debian users" 
Sent: Monday, March 05, 2001 8:37 PM
Subject: Re: apache and cgi-bin


> also sprach Mike Millner (on Mon, 05 Mar 2001 08:35:17PM -0700):
> >  your saying every cgi script needs to have - out put "Content-type:
> > text/html" and then an empty line
>
> yes, by definition, a CGI script *must* start by writing
>
> Content-type: text/html\r\n
> \r\n
> yadayadayada
> this is to let the webserver know what content to serve.
>
> > The apache daemon wouldn't start with the scriptalias in the http.conf
file
> > and could you please clarify the statement below. I don't understand the
> > "Options" of the directory
>
> here's an extract from my httpd.conf:
>
> ScriptAlias /cgi-pub/ "/home/apache/common/cgi-bin/"
> 
>   Options ExecCGI
>   AllowOverride None
>   Order allow,deny
>   Allow from all
> 
>
> read up on the Options clause at www.apache.org!
>
> martin
>
> [greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
> PROTECTED]@@@.net
> --
> "if I can't dance, i don't want to be part of your revolution."
> - emma goldman
>



Re: Unauthorized to run X server

2001-03-05 Thread Rino Mardo
On Mon, Mar 05, 2001 at 08:31:10AM -0500 or thereabouts, mike polniak wrote:
> Rino Mardo wrote:
> > i've gone thru the faqs and the X files (xfree86 docs) but i can't seem to 
> > find
> > out why i would get this error message when i want to start X:
> > 
> > [EMAIL PROTECTED]:~$ startx -- -bpp 32
> > 
> > X: user not authorized to run the X server, aborting.
> 
>   Check allowed users in /etc/X11/Xserver and Xwrapper.config

thanks.  that /etc/X11/Xserver file is the problem as there were some paragraph
there from a man page it seems and it fsck up everything.  i removed the
offending paragraph and now i'm in X.  just how that paragraph got in there i'm
still checking.


-- 
Key fingerprint = 9DE1 5825 77B4 FF45 7485  D3EB DCCF DE48 09B6 4426


And a few words from our sponsor:

Q:  Minnesotans ask, "Why aren't there more pharmacists from Alabama?"
A:  Easy.  It's because they can't figure out how to get the little
bottles into the typewriter.


pgpQCxJalobSc.pgp
Description: PGP signature


Re: apache and cgi-bin

2001-03-05 Thread MaD dUCK
also sprach Mike Millner (on Mon, 05 Mar 2001 08:35:17PM -0700):
>  your saying every cgi script needs to have - out put "Content-type:
> text/html" and then an empty line

yes, by definition, a CGI script *must* start by writing

Content-type: text/html\r\n
\r\n
yadayadayada The apache daemon wouldn't start with the scriptalias in the http.conf file
> and could you please clarify the statement below. I don't understand the
> "Options" of the directory

here's an extract from my httpd.conf:

ScriptAlias /cgi-pub/ "/home/apache/common/cgi-bin/"

  Options ExecCGI
  AllowOverride None
  Order allow,deny
  Allow from all


read up on the Options clause at www.apache.org!

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
"if I can't dance, i don't want to be part of your revolution."
- emma goldman



Re: apache and cgi-bin

2001-03-05 Thread MaD dUCK
also sprach Mike Millner (on Mon, 05 Mar 2001 08:21:06PM -0700):
> Can anyone give me the trick to getting cgi scripts to work with apache. My 
> web
> site works fine but the cgi scripts don't run. I tried the ScriptAlias that 
> the
> apache web site talks about but apache won't start with that added.

make sure to 

- out put "Content-type: text/html" followed by an empty line
  as the first thing of the cgi
- to include ExecCGI in the Options of the directory you aliased with
  ScriptAlias.

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
"i'm always frank and earnest with women.
 uh, in new york I'm frank, and in chicago I'm ernest."
-- the long kiss goodnight



Re: mail script

2001-03-05 Thread MaD dUCK
also sprach Jaye Inabnit ke6sls (on Mon, 05 Mar 2001 07:19:16PM -0800):
> looking for a quick sript to add to a .bash_profile to mail me when a user 
> logs on. I'm pretty unfamiliar with all the stratigies, but would like a 
> simple message to myself with time and user name. Any ideas GREATLY
> appreciated :)

cat << EOF | sendmail myaddress
To: myaddress
From: $USER
Subject: login: $USER

i just logged in (`date`).
i don't like how you are spying on me.
EOF


you could also just use /var/log/auth.log, which will basically give
you the same information with far less intrusive action of your part.

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
"no, 'eureka' is greek for 'this bath is too hot.'"
-- dr. who



apt-get dist-upgrade -u on testing wants to uninstall 189 packages

2001-03-05 Thread Tom Epperly
When I try to apt-get dist-upgrade -u on testing, it wants to uninstall 189
packages. This seems like a problem to me, but I am not sure how to report
it.

Tom

# date
Mon Mar  5 19:20:29 PST 2001
# apt-get update
Hit http://spidermonkey.ximian.com unstable/main Packages
Hit http://http.us.debian.org woody/main Packages  
   
Hit http://http.us.debian.org woody/main Release   
   
Hit http://http.us.debian.org woody/contrib Packages   
   
Hit http://http.us.debian.org woody/contrib Release
   
Hit http://http.us.debian.org woody/non-free Packages  
   
Hit http://http.us.debian.org woody/non-free Release   
   
Hit http://http.us.debian.org woody/main Sources   
   
Ign http://http.us.debian.org woody/main Release   
   
Hit http://http.us.debian.org woody/contrib Sources
   
Ign http://http.us.debian.org woody/contrib Release
   
Hit http://http.us.debian.org woody/non-free Sources   
   
Ign http://http.us.debian.org woody/non-free Release   
   
Hit http://spidermonkey.ximian.com unstable/main Release   
   
Hit http://non-us.debian.org woody/non-US/main Packages
Hit http://non-us.debian.org woody/non-US/main Release
Hit http://non-us.debian.org woody/non-US/contrib Packages
Hit http://non-us.debian.org woody/non-US/contrib Release
Hit http://non-us.debian.org woody/non-US/non-free Packages
Hit http://non-us.debian.org woody/non-US/non-free Release
Hit http://non-us.debian.org woody/non-US/main Sources
Hit http://non-us.debian.org woody/non-US/main Release
Hit http://non-us.debian.org woody/non-US/contrib Sources
Hit http://non-us.debian.org woody/non-US/contrib Release
Hit http://non-us.debian.org woody/non-US/non-free Sources
Hit http://non-us.debian.org woody/non-US/non-free Release
Reading Package Lists... Done
Building Dependency Tree... Done

# apt-get install adduser  
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  debconf-tiny eperl libmime-base64-perl libperl5.6 libxml-parser-perl perl
  perl-5.005-base perl-5.005-debug perl-5.005-suid perl-5.6 perl-base
  perl-debug perl-modules perl-suid 
The following packages will be REMOVED:
  a2ps abiword alien amphetamine amphetamine-data balsa bsdmainutils
bug-buddy
  calc clanbomber clanlib0-common clanlib0-display-x11 clanlib0-input-tty
  clanlib0-network clanlib0-sound codecommander cons cvs cvs-buildpackage
  data-dumper debconf debhelper debview dia diald dialdcost eeyes efax
eieio
  elib emacs20 emacs20-el emacsen-common enlightenment enscript eog esound
  esound-common fetchmail fetchmailconf fttools gaim-gnome gaspell gdm
gedit
  ghex ghostview glade-gnome gmc gnapster gnofin gnomba gnome-applets
  gnome-apt gnome-bin gnome-card-games gnome-chess gnome-control-center
  gnome-core gnome-games gnome-gataxx gnome-glines gnome-gnibbles
  gnome-gnobots2 gnome-gnometris gnome-gnomine gnome-gnotravex gnome-gtali
  gnome-gturing gnome-gv gnome-help gnome-iagno gnome-iconedit
gnome-mahjongg
  gnome-media gnome-network gnome-panel gnome-panel-data gnome-pilot
  gnome-pilot-conduits gnome-pim gnome-pim-conduits gnome-pm
gnome-same-gnome
  gnome-session gnome-stones gnome-terminal gnome-think gnome-utils
  gnome-xbill gnomehack gnomeicu gnosamba gnotepad+ gnucash gnumeric
gnuplot
  gpgp grdb gs-aladdin gs-pdfencrypt gtop guitar gv helix-sweetpill
  hylafax-client icewm-gnome jde leafnode libcapplet0 libdbd-csv-perl
  libdbd-mysql-perl libdbi-perl libdigest-md5-perl libesd0 libesd0-dev
  libft-perl libgdk-pixbuf-gnome2 libglade-gnome0 libgnome-dev
libgnome-perl
  libgnome-pilot0 libgnome32 libgnomeprint12 libgnomeprint6
libgnomesupport0
  libgnomeui32 libgnorba-dev libgnorba27 libgnorbagtk0 libgtk-imlib-perl
  libgtk-perl libobgnome0 libpaperg libsdl0 libsdl1.0 libsql-statement-perl
  libterm-readkey-perl libtext-csv-perl libwine libzvt2 lilo lynx mailcrypt
  memprof mpage mysql-client mysql-server netleds-applet netpbm pan pdl
  perl-5.005 perl-tk perlmagick psutils python-elisp python-gnome
  rep-gtk-gnome sawfish sawfish-gnome sawfish-themes semantic speedbar
  ssh-askpass-gnome task-games task-gnome-apps task-gnome-desktop
  task-gnome-games task-gnome-net task-helix-core task-helix-gnome
  task-python-bundle task-sgml task-sgml-dev task-x-window-system-core tdtd
  wine wmaker-usersguide-ps xchat-gnome xemacs21 xemacs21-bin xemacs21-mule
  xemacs21-mule-canna-wnn xemacs21-nomule xemacs21-support
xemacs21-supportel
  xf86setup xserver-xfree86 
The following NEW packages will be installed:
  debconf-tiny libperl5.6 perl perl-5.6 perl-debug perl-modules perl-suid 
8 packages upgraded, 7 newly installed, 189 to remove and 5 not upgraded.
Need to get 4063kB of archives. After unpacking 310MB will be freed.
Do you w

apache and cgi-bin

2001-03-05 Thread Mike Millner



Can anyone give me the trick to getting cgi scripts 
to work with apache. My web site works fine but the cgi scripts don't run. I 
tried the ScriptAlias that the apache web site talks about but apache won't 
start with that added.
 
Thanks,
Mike


mail script

2001-03-05 Thread Jaye Inabnit ke6sls

hello,

looking for a quick sript to add to a .bash_profile to mail me when a user 
logs on. I'm pretty unfamiliar with all the stratigies, but would like a 
simple message to myself with time and user name. Any ideas GREATLY
appreciated :)

What I found so far, is 'mail -s loggin myaddress' will start it off. Now I 
need to be able to add user name and time on the entry so mail will take it 
and not request cc, bcc etc. 

Thank you
-- 

Jaye Inabnit, ARS ke6sls e-mail: [EMAIL PROTECTED]
707-442-6579 h/m 707-268-4074
http://www.qsl.net/ke6slsICQ# 12741145
This mail composed with kmail on kde on X on linux warped by debian
If it's stupid, but works, it ain't stupid.




Re: anyone have a epson stylus photo 870 working?

2001-03-05 Thread Dan Christensen
Ethan Benson <[EMAIL PROTECTED]> writes:

> On Mon, Mar 05, 2001 at 12:41:29AM -0500, Dan Christensen wrote:
> > For the record, the stp driver in gs works great for me with my
> > epson stylus color 860.  The print-4.0a3 package, available from
> > http://gimp-print.sourceforge.net/, contains instructions for
> > recompiling gs with the stp driver which are specifically for
> > Debian.
> 
> i tried this but it did not even compile

Where did it fail?  The Debian specific instructions are pretty
detailed.  Did you install the packages they say are needed?

-- 
Dan Christensen
[EMAIL PROTECTED]



Re: high load average

2001-03-05 Thread MaD dUCK
also sprach Noah L. Meyerhans (on Mon, 05 Mar 2001 09:51:53PM -0500):
> Load average is not an indication of how busy the CPU is.  A busy CPU
> can *cause* a high load average, but so can other stuff.

good point. so i found two offending processes in state D:

root 24520  0.0  0.9  1652  904 ?DFeb25   0:00 /bin/gawk
root 25890  0.0  0.7  1652  764 ?D00:01   0:00 sh /etc/ppp/ip-up

however, a kill -9 on either one doesn't delete them, i cannot delete
it's directory in /proc (as works on solaris 2.6), and to the best of
my knowledge, these processes won't go away.

any tips, other than to reboot?

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
oxymoron: micro$oft works



Re: P2P Networking Question

2001-03-05 Thread Jason Nord
Also, if this helps, here's a dump of "route print" from the win98 machine:


Active Routes:

  Network Address  Netmask  Gateway AddressInterface  Metric
  0.0.0.0  0.0.0.0209.202.63.90209.202.63.90   1
127.0.0.0255.0.0.0127.0.0.1127.0.0.1   1
  192.168.1.0255.255.255.0  192.168.1.2  192.168.1.2   2
  192.168.1.2  255.255.255.255127.0.0.1127.0.0.1   1
192.168.1.255  255.255.255.255  192.168.1.2  192.168.1.2   1
 209.202.63.0255.255.255.0209.202.63.90209.202.63.90   1
209.202.63.90  255.255.255.255127.0.0.1127.0.0.1   1
   209.202.63.255  255.255.255.255209.202.63.90209.202.63.90   1
224.0.0.0224.0.0.0209.202.63.90209.202.63.90   1
224.0.0.0224.0.0.0  192.168.1.2  192.168.1.2   1
  255.255.255.255  255.255.255.255209.202.63.90209.202.63.90   1




Re: P2P Networking Question

2001-03-05 Thread Jason Nord
First of all i'd like to apologise for the late reply (real life stuff and all 
that), so here's what i got:


>tcpdump -i eth0
>
>then from the win32 box ping the linux box see if anything comes up on the
>terminal
>running tcpdump.

Yea, actually i'm surprised that something did in fact come up...
20:53:21.704143 arp who-has mercury tell 192.168.1.2
20:53:21.704143 arp reply mercury is-at 0:0:e8:1b:83:4b
20:53:23.204143 arp who-has mercury tell 192.168.1.2
20:53:23.204143 arp reply mercury is-at 0:0:e8:1b:83:4b
etc..

>verify the cable is working as well by using it between 2 other systems.

It's a brand new cable, and the link lights on both NIC's are on


>lastly
>if it still does not work ...
>run:
>ifconfig eth0 >/tmp/diagnostics.log
>route -n >>/tmp/diagnostics.log
>uname -a >>/tmp/diagnostics.log
>lsmod >>/tmp/diagnostics.log
>lspci -v >>/tmp/diagnostics.log
>
>and copy the contents of that file to an email to the list. you may need to

**Start**

eth0  Link encap:Ethernet  HWaddr 00:00:E8:1B:83:4B
  inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:6336 errors:0 dropped:0 overruns:0 frame:0
  TX packets:6342 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:100
  Interrupt:10 Base address:0x300

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 eth0

Linux mercury 2.2.18pre21 #1 Sat Nov 18 18:47:15 EST 2000 i486 unknown

Module  Size  Used by
af_packet   6136   0  (autoclean)
lockd  41720   0  (autoclean) (unused)
sunrpc 55452   0  (autoclean) [lockd]
serial 19640   1  (autoclean)
nls_cp437   3880   0  (autoclean)
pcmcia_core44896   0
ne  6132   1
83905924   0  [ne]
unix   11336   9  (autoclean)

**End**

Now what i found strange about the ifconfig results is the Tx/Rx packets... I 
guess this means that the NIC's on both machines are set up correctly and the 
cable works (correct me if i'm wrong).

>in order to use them .. now if your ethernet card is ISA(shudder) don't
>bother with the lspci stuff :)

Yea unfortunately it is, it's on an old dx2/66...


>nate

-Jason




Re: high load average

2001-03-05 Thread Noah L. Meyerhans
On Mon, Mar 05, 2001 at 09:37:36PM -0500, MaD dUCK wrote:
> the load average displayed by uptime has been very consistently above
> 2.00 and the output of ps aux has been pretty much the same for the
> past two weeks. no hung jobs. no traffic. the server basically *isn't
> being used*, especially not during the last 1, 5, or 15 minutes. and
> cron isn't running, there are *only* 35 running jobs. why, oh why then
> is it 200% loaded???

Load average is not an indication of how busy the CPU is.  A busy CPU
can *cause* a high load average, but so can other stuff.

In this case, I would guess that the high load is caused by processes
being blocked while waiting for IO routines to complete.  In the ps
output or in top, look for processes in state 'D'.  I suspect you'll
find 2 of them (one was a ppp process visible in the ps output you
posted).  Figure out why they're blocking and you'll be able to do
something to fix it.

noah

-- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 



pgph2L7ZgFNFZ.pgp
Description: PGP signature


DRBD with potato

2001-03-05 Thread john
Hello,

Is there anyone out there who has managed to get drbd to work "well"(1)
with  potato. I'm having problems making sense of the documentation.

Thanx,

John P Foster

(1) "well" meaning with heartbeat.



Compaq Proliant 6500 Install Problems

2001-03-05 Thread Steve Beitzel
Hello All,

  Sorry for the re-post of this message, but I didn't get any
responses last time, and I am in desperate need of help.  Does anyone
have tips for me?  Any help is greatly appreciated.

  I have a Compaq Proliant 6500 (P11) Server in my lab, and I have
spent the last 3 days trying valiantly to install Debian 2.2 on it,
with no success.  Here is the set of steps that I have taken:

- Perform Compaq System Erase with SmartStart utilities
- Configure SMART 3200 Array Controller for RAID-0
- Boot to Debian 2.2 CD #1 (using kernel 2.2.17)
- Put cpqarray module built from 2.2.17 sources on a floppy
- Execute a shell from dbootstrap, mount floppy, install module
- Proceed Normally with Installation

Everything appears to go fine, until I finally reboot the system.
Then I am told the following:

request_module[block-major-72]: root fs not mounted
VFS: Cannot open root device 48:02

I installed the root filesystem on the second partition in the RAID
Array (/dev/ida/c0d0p2), since the first partition is the compaq
system utilities.  When I booted back to the rescue CD, and looked at
the device in question, it lists the major/minor number for
/dev/ida/c0d0p2 as 72,2.  I am baffled as to why it can't find the
root filesystem, and also as to why it tries to find the root device
at 48:02 when I see the major/minor number as 72,2 from the rescue
CD.

I have the latest BIOS and SMART 3200 Firmware installed on the
server.  I have looked exhaustively at Compaq's support pages for
Linux, and they have not helped.  Any help or advice on this would be
greatly appreciated.

Please CC me as I am not currently subscribed to the list.

Thanks a lot,

Steve
-- 
Steve Beitzel
Computer Science Department, IIT
Systems Administrator,
Information Retrieval Laboratory

pgpGQt87qgJP6.pgp
Description: PGP signature


high load average

2001-03-05 Thread MaD dUCK
someone explain this to me:

albatross:~$ uname -a
Linux albatross 2.2.17 #2 Mon Sep 04 20:49:27 CET 2000 i586 unknown

albatross:~$ uptime
  2:56am  up 174 days,  5:50,  1 user,  load average: 2.00, 2.05, 2.01

# processes sorted by decreasing cpu usage
albatross:~$ ps aux | head -1 && ps aux | sort -nrk3 | head -5
USER   PID %CPU %MEM   VSZ  RSS TTY  STAT START   TIME COMMAND
root 15889  0.2  1.6  2720 1536 ?S02:50   0:02 /usr/sbin/sshd
root  1646  0.1  0.9  1672  864 ?S 2000  32:01 /usr/sbin/diald -
xfs   1776  0.0  1.0  2060 1020 ?S 2000   0:00 xfs -droppriv -da
squid 1748  0.0  0.3  1088  332 ?S 2000   0:06 (unlinkd)
squid 1742  0.0 19.2 20048 18440 ?   S 2000  15:01 (squid) -D
root 25890  0.0  0.7  1652  764 ?D00:01   0:00 sh /etc/ppp/ip-up
root 25889  0.0  0.7  1644  752 ?S00:01   0:00 bash /etc/ppp/ip-

the load average displayed by uptime has been very consistently above
2.00 and the output of ps aux has been pretty much the same for the
past two weeks. no hung jobs. no traffic. the server basically *isn't
being used*, especially not during the last 1, 5, or 15 minutes. and
cron isn't running, there are *only* 35 running jobs. why, oh why then
is it 200% loaded???

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
the web site you seek
cannot be located but
endless others exist.



Re: laptop boot image?

2001-03-05 Thread Osamu Aoki
Did you try ide and compact images?

On Mon, Mar 05, 2001 at 06:50:37PM -0500, Michael P. Soulier wrote:
> Hey people. I heard a rumour that the toshiba laptop I have works with
> Slackware, so while I wasn't able to get Debian's boot disks to work, the
> Slackware bootamp.i image worked great. Is there a Debian laptop-specific boot
> disk?

-- 
+  Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D  +
+   Fingerprint: 814E BD64 3288 40E7 E88E  3D92 C3F8 EA94 D5DE 453D   +
+   http://www.aokiconsulting.com/pc/  Cupertino, CA USA  +



Re: konqueror problem

2001-03-05 Thread Martin Marconcini
It happens to me from time to time.

The workaround I found is to press the Clear Address Line (or something like
that) right to the left of the address field.

That way Konkeror will display the next URL okey. (At least for me)

I presume it happens when for some reason you abort while loading a page and
hasn't finished. Konkeror will insist on load that page (even when already
finished it)

WHo knows?

Regards,


Martin Marconcini.


- Original Message -
From: b3 <[EMAIL PROTECTED]>
To: Brian Murphy <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, March 05, 2001 10:15 PM
Subject: Re: konqueror problem


>
> I had this problem as well, until either last night's update, or the night
> before (not sure which) - it seems to be working fine (at least for me)
now.
>
> (tracking unstable/sid that is...not sure about potato packages)
>
> -b3
>
> On Mon, Mar 05, 2001 at 10:43:15AM -0800, Brian Murphy wrote:
> > testing it out) the browser will "hang" on a site.  For example...I went
to
> > slashdot and then tried to go to kde.org.  Slashdot came up fine, but
when
> > you type in kde.org, the screen blanks out briefly like it is changing
to
> > the new site, but then slashdot just comes back up.  HAND ...
> > kde.org would be up in the address line...weird.  The only way to get
out of
> > this little cycle is to kill Konquerer and restart it.  Then it works
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>



Re: apt-get and dpkg broken

2001-03-05 Thread Glen Snyder
Joey Hess wrote:

> Glen Snyder wrote:
> > Hi again. Sorry to pester about this. apt-get does not work with testing
> > (Woody) for me anymore. Nor does dpkg. The problem is with
> > dpkg-preconfigure, I think. If I try an apt-get dist-upgrade, it exits
> > with this message:
> >
> > /bin/sh: /usr/sbin/dpkg-preconfigure: No such file or directory
> > E: Sub-process /usr/sbin/dpkg-preconfigure --apt returned an error code
> > (127)
> > E: Failure running script /usr/sbin/dpkg-preconfigure --apt
> >
> > I can't really use a broken dpkg to do a reinstall on dpkg. Any
> > suggestions?
>
> rm /etc/apt/apt.conf, and stop copying apt.conf files over from other
> systems or from backups, or whatever it is you did.
>
> --
> see shy jo

Thanks for the suggestions. It turned out that the problem was with perlI
reinstalled the perl packages and everything works fine.  dpkg-preconfigure
is a perl script.
-Glen



Re: Error debian/rules?

2001-03-05 Thread mike polniak
Jonathan Gift wrote:
> Hi,
> 
> I've tried apt-get source foo and everything goes fine. When I try to
> build the binary/deb using debian/rules build or dpkg-source -x foo.dsc
> I get:
> 
> make: dh_testdir: Command not found
> make: clean error 127
> 
> Any help on what is missing?

dh_testdir  is from the pkg debhelper.
-- 
LINUX~~nobody owns it~~everybody can use it~~anybody can improve it
~~~



Re: Simple c program won't compile

2001-03-05 Thread Xucaen
I think I will forget this for a while myself. 
also, when using ncurses.h, you need to compile
with  -lncurses .

xucaen


--- Mark Phillips <[EMAIL PROTECTED]>
wrote:
> I've just solved my own problem.  Of course I
> needed to do
> 
> $ gcc thick.c -lm
> 
> It's been a while since I've used C.  Sorry for
> the silly question.
> 
> Cheers,
> 
> Mark.
> 
> 
> Mark Phillips [EMAIL PROTECTED]
> wrote:
> > Hi,
> > 
> > The following program:
> > 
> > 
> > #include 
> > #include 
> > 
> > int main(int argv, char **argc){
> >   double x;
> > 
> >   x=sqrt(5.0);
> > }
> > 
> > 
> > does not compile.  Instead I get the errors:
> > 
> > $ gcc thick.c
> > /tmp/ccU9fgSr.o: In function `main':
> > /tmp/ccU9fgSr.o(.text+0x16): undefined
> reference to `sqrt'
> > collect2: ld returned 1 exit status
> > 
> > 
> > What is wrong?
> > 
> > Thanks,
> > 
> > Mark.
> > 
> > -- 
> >
>
_/\___/~~\
> >
>
/~~\_/~~\__/~~\__Mark_Phillips
> >
>
/~~\_/[EMAIL PROTECTED]
> >
>
/~~\HE___/~~\__/~~\APTAIN_
> >
>
/~~\__/~~\
> >
>
__
> > "They told me I was gullible ... and
> I believed them!" 
> > 
> 
> -- 
>
_/\___/~~\
>
/~~\_/~~\__/~~\__Mark_Phillips
>
/~~\_/[EMAIL PROTECTED]
>
/~~\HE___/~~\__/~~\APTAIN_
>
/~~\__/~~\
>
__
> "They told me I was gullible ... and I
> believed them!" 
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble?
> Contact [EMAIL PROTECTED]
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: apt-get and dpkg broken

2001-03-05 Thread Joey Hess
Glen Snyder wrote:
> Hi again. Sorry to pester about this. apt-get does not work with testing
> (Woody) for me anymore. Nor does dpkg. The problem is with
> dpkg-preconfigure, I think. If I try an apt-get dist-upgrade, it exits
> with this message:
> 
> /bin/sh: /usr/sbin/dpkg-preconfigure: No such file or directory
> E: Sub-process /usr/sbin/dpkg-preconfigure --apt returned an error code
> (127)
> E: Failure running script /usr/sbin/dpkg-preconfigure --apt
> 
> I can't really use a broken dpkg to do a reinstall on dpkg. Any
> suggestions?

rm /etc/apt/apt.conf, and stop copying apt.conf files over from other
systems or from backups, or whatever it is you did.

-- 
see shy jo



Re: Trouble with sound

2001-03-05 Thread Jens Gecius
Wouter Eerdekens <[EMAIL PROTECTED]> writes:

> when I do
> 
> $ ls /dev/dsp
> 
> I get
> 
> crw-rw1 root audio 14,3 Jul  5  2000 /dev/dsp
> 
> but when I want to play a Quiktime movie (shit happens...) with 
> gxamin, I get the following error:
> 
> Can't Open /dev/dsp device
> 
> How should I set the permissions on /dev/dsp then?

Your settings are perfectly fine, especially if you're a member of
audio. 
 
> I am a member of the following groups:
> 
> users, disk and audio
> 
> (The soundcard I have installed is a SoundBlaster 128PCI, module es1370.o)

I used to use that one, too :-).

It looks again like an esd problem. gxanim may try to open /dev/dsp
directly while esd already opened it? If so, you might want to try
`esddsp gxanim`. Here esddsp tries to reroute /dev/dsp read/writes to
esd.

-- 
Tschoe,Get my gpg-public-key here
 Jens http://gecius.de/gpg-key.txt



debian hardware

2001-03-05 Thread Mike Egglestone
Hi...
Is there a web site or somewhere where I can 
find which hardware is compatible with debian 2.2 r2
I want to buy new servers and new network cards
and I don't want to find out that the card isn't supported
say... and brand new 3com 905 or something...
thanks for your help...

Mike



Intel® V.90 modem chipset driver for Linux

2001-03-05 Thread Marvin Stodolsky
 Original Message 
Subject: Intel® V.90 modem chipset driver for Linux
Date: Mon, 5 Mar 2001 16:04:38 -0800
From: "Araneda, Dorian" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>

For those intersted in the 
Intel® V.90 modem chipset driver for Linux
please visit this link:
http://developer.intel.com/design/modems/support/drivers/r-333-5.htm

---
Dorian S. Araneda
Product Engineer, Host Accelerated Modem (HaM) Team
Intel Corporation, Modem Silicon Operations (MSO)
http://developer.intel.com/design/modems/
www.intel.com   www.intc.com  (ticker: INTC)
110 Horizon Dr., Suite 300, Raleigh, NC  27615



Re: kylix on Debian 2.2

2001-03-05 Thread Attila Csosz
On Sat, Feb 24, 2001 at 07:22:32PM +0100, Daniel de los Reyes wrote:

I have found few information about system requirements on the Borland site.
They wrote there only the supported linux distributions (Redhat, Suse) but 
nothing about system requirements. Send me a link if you can about more system
requirements. 
In Hungary Kylix is available.

Thanks
 Attila
 


> El Fri, Feb 23, 2001 at 10:15:30PM +0100, Dr . Michael Koltai dijo:
> -| How to install Kylix form Borland on Debian 2.2 Linux?
> -| Which debian packages should I need to install or what programs from 
> source ( maybe qt? kde? )
> -| 
> 
> I thougt kylix wouldn't be out till mid march...
> Anyway, kylix depends on qt libs 2. That should be the only thing you need.
> Check out Borland's site for system requirements anyway.
-- 

- Mail: [EMAIL PROTECTED]; Debian 2.2 Linux  / 2.2.13 / qmail -
- PGP key: gpg --keyserver keys.pgp.com --recv-key 0x2cc33acb  -



Re: lag?

2001-03-05 Thread Erdmut Pfeifer
On Mon, Mar 05, 2001 at 06:52:43PM -0500, MaD dUCK wrote:
> is it just me and my mail server, or is the debian-users list like 10
> minutes behind?
> 
> fishbowl:~/web/limerence.org> date
> Mon Mar  5 18:52:33 EST 2001

for me the delay is around 40 minutes.


-- 
Erdmut Pfeifer
science+computing gmbh

-- Bugs come in through open windows. Keep Windows shut! --



Re: Is it possible...

2001-03-05 Thread Kevin C. Smith
On Mon, Mar 05, 2001 at 07:13:38PM -0500, MaD dUCK wrote:
> also sprach Kevin C. Smith (on Mon, 05 Mar 2001 05:19:01PM -0600):
> > Check out their web site. I remember reading something about booting 
> > demolinux from Windows (not sure which Windows).
> 
> (surely not windows nt).

Most likely not.

Kevin



Re: Error debian/rules?

2001-03-05 Thread MaD dUCK
also sprach John Galt (on Mon, 05 Mar 2001 06:17:52PM -0700):
> ITYRISC :)

L,TEUOAOTLIC!
URW!

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
please keep your hands off the secretary's reproducing equipment.



Re: apt-get dist-upgrade broke on testing

2001-03-05 Thread Cory Snavely
Yes, that's *exactly* what happened to me, dist-upgrading from a slink
install with a stock 2.0.36 kernel.

I ended up doing a fresh install from my potato CD just because things got
pretty messy. Clearly it's not supposed to work that way, but I'm not sure
what went wrong specifically.

This was on a Dell desktop with nothing exotic going on.

I can't help thinking my ancient kernel wasn't helping any, but it didn't
seem to be implicated in any of the error messages. Besides, I did the same
thing with a 2.0.36 kernel at home. By the end I was using dselect which
seems to be incredibly wise about how to get from A to B, but it just got
worse and worse.

So now I have mostly stable with various things from woody or sid (like
openssh).

If you find out anything I'd sure like to know. In the rebuild I got gnome
working so I'm pretty happy. Still easier than any windows reinstall I've
ever done!

- Original Message -
From: "Danie Roux" <[EMAIL PROTECTED]>
To: "debian-user" 
Sent: Monday, March 05, 2001 5:30 AM
Subject: apt-get dist-upgrade broke on testing


> Testing breaks. But this is the first time it happened to me :-(
>
> Anyway here's the error:
>
> Use of uninitialized value at /usr/lib/perl5/Debian/DebConf/ConfigDb.pm
> line 38,  chunk 43.
> Use of uninitialized value at
> /usr/lib/perl5/Debian/DebConf/ConfModule.pm line 152,  chunk 43.
> Use of uninitialized value at /usr/lib/perl5/Debian/DebConf/ConfigDb.pm
> line 38,  chunk 46.
> Use of uninitialized value at
> /usr/lib/perl5/Debian/DebConf/ConfModule.pm line 152,  chunk 46.
> (Reading database ... 48062 files and directories currently installed.)
> Preparing to replace xbase-clients 3.3.6-11potato15 (using
> .../xbase-clients_4.0.2-1_i386.deb) ...
> Unpacking replacement xbase-clients ...
> dpkg: error processing
> /var/cache/apt/archives/xbase-clients_4.0.2-1_i386.deb (--unpack):
>  trying to overwrite `/usr/X11R6/bin/xf86config', which is also in
> package xserver-common
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
>  /var/cache/apt/archives/xbase-clients_4.0.2-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> So where to now?
>
> Thanks!
>
> Danie.




Re: lag?

2001-03-05 Thread MaD dUCK
also sprach Nathan E Norman (on Mon, 05 Mar 2001 06:36:36PM -0600):
> On Mon, Mar 05, 2001 at 06:52:43PM -0500, MaD dUCK wrote:
> > is it just me and my mail server, or is the debian-users list like 10
> > minutes behind?
> It's probably a little behind as it's very busy processing meaningless
> messages like yours and my reply.

yeah well. i just noticed that since we now have close to 20 replies
on how to do du -sh, and since i believe i was the first to reply, had
my mail arrived faster, then we didn't have 20 now, and the server
would be less busy. chicken and egg, kind of.

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
de gustibus non est disputandum.



Re: laptop boot image?

2001-03-05 Thread Matthew Dalton
"Michael P. Soulier" wrote:
> 
> Hey people. I heard a rumour that the toshiba laptop I have works with
> Slackware, so while I wasn't able to get Debian's boot disks to work, the
> Slackware bootamp.i image worked great. Is there a Debian laptop-specific boot
> disk?

Toshiba laptops have a problem that makes them unable to boot bzImage
kernels. You have to boot using a zImage kernel, which is a pain in the
ass.

Slink used to have a 'tecra' flavour boot disk, which had a zImage 2.0
kernel. Potato doesn't seem to have it anymore. If the slackware boot
disk works, then it must contain a zImage kernel.

I have a Tecra 700CT which I recently installed Debian on. I have slink
cds though, so I installed initially with that and then used apt-get to
upgrade to potato. The worst part was compiling a 2.2 kernel suitable
for it. Practically everything has to be compiled as modules to make the
kernel small enough to be a zImage kernel. I still don't have everything
working (I haven't compiled the pcmcia modules yet), but everything else
(xfree86, sound etc) is working, so it is possible.

Slink seems to be still available here:
http://archive.debian.org/dists/slink/main/disks-i386/current/

Get it while you still can.


Matthew

ps. The 'README.tecra' file in that directory says:

--
Tecras and other notebooks, and some PCs have a problem where they
fail to flush the cache when switching on the a20 gate (IIRC), which
is provoked by bzImage kernels, but not by zimage kernels. 

bzImage files are actually "big zImage" not "bzipped Image".  bzImage
kernels can be as large as you like, but because they need to decompress
into extended memory, they aggravate this problem.  zImage kernels just
compress into conventional memory, so they never need to touch the a20
gate,
but they hit the 640k limit.

There are two solutions that I know of:

  1) apply a patch, which flushes the cache.  Unfortunately this
 causes other machines to crash so is not universally applicable
 (hence the tecra disks being segragated from the mainstream)

  2) build a zimage, rather than bzimage kernel.  This seems to get
 round the problem. use the --zimage option to make-kpkg, or even
 set this as the default in /etc/kernel-pkg.conf.

--

Perhaps solution (1) might be useful after you've installed. I don't
know where to get such a patch... but I'm sure a good google search
would turn something up.



Re: What kernel module for "Sound Max Digital Audio"?

2001-03-05 Thread mike polniak
Kent West wrote:
> /Rant
> At any rate, I'm getting really frustrated, and am about to give up on 
> getting sound to work on my new computer with Debian. I'm not giving up 
> on Debian by any means, but it is making me feel less gung-ho to 
> recommend it to newbies like I've been doing. :-(   Configuring hardware 
> is still just way too hard for even someone who's technically literate. 
> Petrely is right; we need standards (without the straight-jacket that 
> could conceivably bring with it). At the least, we need good 
> documentation, and that's hard to come by with the extreme complexity 
> and variability of Linux systems.
> /End of Rant

There is something to be said for a PCI sound card. I have no
aliases for sound modules or entries in modules.conf. I have only one
line i added to /etc/modules : es1371. This loads a single sound module
to run my Creative 4812 PCI Ensoniq Sound Card (cost $22).
Sound works out of the box , nothing else needed, as a matter of
fact when i listen to cd's i just put a cd in and listen to the music.
No need to even start a program for playing cd's. 
-- 
LINUX~~nobody owns it~~everybody can use it~~anybody can improve it
~~~



Re: Error debian/rules?

2001-03-05 Thread John Galt

ITYRISC :)

On Mon, 5 Mar 2001, Joey Hess wrote:

>John Galt wrote:
>>
>> apt-get install dpkg-dev
>
>ITYM "debhelper".
>
>

-- 
Pardon me, but you have obviously mistaken me for someone who gives a
damn.
email [EMAIL PROTECTED]



Re: konqueror problem

2001-03-05 Thread b3

I had this problem as well, until either last night's update, or the night
before (not sure which) - it seems to be working fine (at least for me) now.

(tracking unstable/sid that is...not sure about potato packages)

-b3

On Mon, Mar 05, 2001 at 10:43:15AM -0800, Brian Murphy wrote:
> testing it out) the browser will "hang" on a site.  For example...I went to
> slashdot and then tried to go to kde.org.  Slashdot came up fine, but when
> you type in kde.org, the screen blanks out briefly like it is changing to
> the new site, but then slashdot just comes back up.  HAND ...
> kde.org would be up in the address line...weird.  The only way to get out of
> this little cycle is to kill Konquerer and restart it.  Then it works



Re: Error debian/rules?

2001-03-05 Thread Joey Hess
John Galt wrote:
> 
> apt-get install dpkg-dev

ITYM "debhelper".

-- 
see shy jo



Re: lag?

2001-03-05 Thread Nathan E Norman
On Mon, Mar 05, 2001 at 06:52:43PM -0500, MaD dUCK wrote:
> is it just me and my mail server, or is the debian-users list like 10
> minutes behind?
> 
> fishbowl:~/web/limerence.org> date
> Mon Mar  5 18:52:33 EST 2001

It's probably a little behind as it's very busy processing meaningless
messages like yours and my reply.

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Inc. | than a perfect plan tomorrow.
mailto:[EMAIL PROTECTED]   |   -- Patton


pgpRm9L9rp5EG.pgp
Description: PGP signature


Re: Error debian/rules?

2001-03-05 Thread John Galt

apt-get install dpkg-dev

On Mon, 5 Mar 2001, Jonathan Gift wrote:

>Hi,
>
>I've tried apt-get source foo and everything goes fine. When I try to
>build the binary/deb using debian/rules build or dpkg-source -x foo.dsc
>I get:
>
>make: dh_testdir: Command not found
>make: clean error 127
>
>Any help on what is missing?
>
>Jonathan
>
>

-- 
Pardon me, but you have obviously mistaken me for someone who gives a
damn.
email [EMAIL PROTECTED]



Re: size of a directory

2001-03-05 Thread John Galt

Are you talking mountpoint?  Then use df.

Are you talking size of a directory that doesn't point to anything
special?  Then cd /usr; du -s

On Mon, 5 Mar 2001, Gregor Kaleta wrote:

>How can I view the size of a spezial directory e.g. /usr?
>

-- 
Pardon me, but you have obviously mistaken me for someone who gives a
damn.
email [EMAIL PROTECTED]



Re: Configuring NTP

2001-03-05 Thread Erik Steffl
Steve Witt wrote:
> 
> On Mon, 5 Mar 2001, Benjamin Pharr wrote:
> 
> > I'm trying to set up NTP on my Debina server.  I installed NTP using
> > apt-get and then added several:
> >
> > server servername.com
> >
> > lines to the /etc/ntp.conf file.  It's been over a month, and my time
> > continues to wander and /var/log/ntpstats is empty.  I can't find any
> > errors in any of my log files.  Can anyone tell me what I might be doing
> > wrong.  Thanks!
> >
> > Ben Pharr
> >
> 
> It sounds like NTP isn't really running. Something that I've noticed is
> that there seems to be a maximum time that your computer's clock can be
> off from what NTP thinks is the real time or else NTP just gives up. I
> can't remember what the error message is, or even where it is written to,
> but I have seen it enough times. I would suggest looking into ntpdate,
> which will let you set the time from your NTP servers and then restarting
> ntp which hopefully will pick up from there. I suppose that you've checked
> that you have connectivity to your time servers.
> 
> It's probably something simple, I've got NTP running on about 30
> computers, both Sun and Linux, at work and at home and its never been too
> much trouble.

  there is an error message in either syslog or ntp has it's own log
files, I don't remember, they also appear on console (that might depend
on some settings, but I left the default settings intact, except of
servers).

  so check your log files (grep -i ntp /var/log/* for start), also check
is the daemon is running.

erik



Re: Setting configure options when using make-kpkg

2001-03-05 Thread Thomas Hood
What I currently do is edit the line in
/usr/src/modules/pcmcia-cs/debian/rules
which invokes "Configure": I add the Configure
options I want.

There ought to be a better way.

Thomas

I wrote:
> What is the best way to select "configure" options when
> compiling a package, such as pcmcia-cs, using make-kpkg?
> 
> I go into /usr/src and untar pcmcia-cs.tar.gz .  Then
> I go into /usr/src/linux and run make-kpkg modules_image.
> make-kpkg answers all the questions that ordinarily I
> would answer if I ran "Configure".  Unfortunately it
> doesn't answer them the way I want.  How should I set
> things up so that make-kpkg will give the answers I want?
> 
> Thomas Hood
> Please reply to jdthood_AT_yahoo.co.uk  (with '_AT_' replaced by '@').
>



Re: Is it possible...

2001-03-05 Thread MaD dUCK
also sprach Kevin C. Smith (on Mon, 05 Mar 2001 05:19:01PM -0600):
> Check out their web site. I remember reading something about booting 
> demolinux from Windows (not sure which Windows).

(surely not windows nt).

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
because light travels faster than sound,
most people appear to be intelligent,
until you hear them speak.



Re: anyone have a epson stylus photo 870 working?

2001-03-05 Thread Ethan Benson
On Mon, Mar 05, 2001 at 08:42:15PM +0100, Andrea Vettorello wrote:

> I should have mentioned that the version of  gs i was referring is the 5.10-11
> (the gs present in sid).

yes i tried that too.

> You could make a try to compile the sid version...

i did, same result.  

> The color option is nice, but i think a laser ps printer should be a better 
> choice
> for me too...

i have gotten a few messages saying the color does not work very
spectacularly anyway.  i am just going to find a used apple
laserwriter or some other true postscript printer.  i don't want to
rebuild half the distribution from scratch and maintain it all
manually just to keep this bloody thing working.  


whose ingenious idea was it to move from using a open standard
like postscript where the printer needs nothing more then postscript
data which allows for it to work perfectly under ANY OS that supports
postcript.  to making each and every printer (and submodel thereof)
have its very own proprietary language requiring its very own special
driver.  talk about absurd wheel reinvention, endless wheel reinvention...


-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgpPfiu827dWR.pgp
Description: PGP signature


apt-get and dpkg broken

2001-03-05 Thread Glen Snyder
Hi again. Sorry to pester about this. apt-get does not work with testing
(Woody) for me anymore. Nor does dpkg. The problem is with
dpkg-preconfigure, I think. If I try an apt-get dist-upgrade, it exits
with this message:

/bin/sh: /usr/sbin/dpkg-preconfigure: No such file or directory
E: Sub-process /usr/sbin/dpkg-preconfigure --apt returned an error code
(127)
E: Failure running script /usr/sbin/dpkg-preconfigure --apt

I can't really use a broken dpkg to do a reinstall on dpkg. Any
suggestions?

Thanks,
Glen







Re: Anacron schedule

2001-03-05 Thread Judith Elaine Bush
Thank you, Erdmut. This is much help -- indeed, the solution! 

Many thanks,

judith



On Tue, Mar 06, 2001 at 12:23:27AM +0100, Erdmut Pfeifer wrote:
> 
> I think what you are looking for is /etc/cron.d and the files therein.
> Typically, when anacron is installed, there is a file /etc/cron.d/anacron
> containing the line
> 
> 30 7* * *   roottest -x /usr/sbin/anacron && /usr/sbin/anacron -s 
>   
> 
> which explains the activity around 7 am you see.
> 
> The feature that cron is treating the files in /etc/cron.d as extensions
> to /etc/crontab is a debian-specific modification of the regular cron
> behaviour -- see the section "DEBIAN SPECIFIC" in man cron.
> 
> hope that helps now ;)
> Erdmut
> 
> 
> -- 
> Erdmut Pfeifer
> science+computing gmbh
> 
> -- Bugs come in through open windows. Keep Windows shut! --
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Setting configure options when using make-kpkg

2001-03-05 Thread Thomas Hood
What is the best way to select "configure" options when
compiling a package, such as pcmcia-cs, using make-kpkg?

I go into /usr/src and untar pcmcia-cs.tar.gz .  Then
I go into /usr/src/linux and run make-kpkg modules_image.
make-kpkg answers all the questions that ordinarily I
would answer if I ran "Configure".  Unfortunately it
doesn't answer them the way I want.  How should I set
things up so that make-kpkg will give the answers I want?

Thomas Hood
Please reply to jdthood_AT_yahoo.co.uk  (with '_AT_' replaced by '@').



Re: partioning, ssh, rawrite w/ a Mac

2001-03-05 Thread Ethan Benson
On Mon, Mar 05, 2001 at 12:01:24PM -0600, dmeiser wrote:
> 
> Finally, I'm using a Mac to create the boot disks for the P-I mentioned at the
> top.  I have no idea how to rawrite to create the boot disks, and I don't thnk
> the Mac will do it natively.  I looked on some various linux websites and did 
> a

check the debian-powerpc archives, i have posted several times there
how to make disk images under MacOS.  its a royal pain, MacOS makes it
very hard.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgpH8M8KyjgOx.pgp
Description: PGP signature


Re: Installing Debian

2001-03-05 Thread MaD dUCK
also sprach John Griffiths (on Tue, 06 Mar 2001 10:08:27AM +1100):
> >With the reputed development support that Debian has throughout the
> >world,  isn't there someone who could take some time and come up with a
> >more fool proof and easier installation routine?.

this may just be me, but i think debian's installation routine is
beautiful and easy *iff* you know computers. if you are a "i just quit
micros~1" descendant, then you have to unlearn a whole lot of
micros~1 wrongness and learn real stuff before you can appreciate
debian's install! not meaning to sound condescending here, but that's
the path that i had to take.

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
above all, we should not wish to divest
our existence of its rich ambiguity.
  -- nietzsche



lag?

2001-03-05 Thread MaD dUCK
is it just me and my mail server, or is the debian-users list like 10
minutes behind?

fishbowl:~/web/limerence.org> date
Mon Mar  5 18:52:33 EST 2001

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.



Re: Anacron schedule

2001-03-05 Thread Judith Elaine Bush

Thanks for solving my problem, Mike!

Change  /etc/cron.d/anacron to change when anacron is run regularly.



On Mon, Mar 05, 2001 at 06:01:45PM -0500, mike polniak wrote:
> 
>   The cron daemon uses the files  in /etc/cron.d as an extension of 
> /etc/crontab. So /etc/cron.d/anacron runs /usr/sbin/anacron -s
>   Then> anacron -s  runs the jobs in /etc/anacrontab which has the
>  run-parts that replace cron's entries for daily, weekly and monthly.
>   The anacrontab entries specify a period in days and a delay in
> minutes that anacron checks before it runs the job e.g.:
> 
> 1   5   cron.daily nice run-parts --report /etc/cron.daily
> 
>   Anacron records the date, not the hour in its timestamp, so it
> knows when to execute again.



Re: help...

2001-03-05 Thread Kenward Vaughan
On Mon, Mar 05, 2001 at 02:18:03PM -0500, Dale Kosan wrote:
> Two quick questions from a newbie, 1)trying to install setiathome but it
> fails,it is looking for version 3.0 and 3.3 is the only available version,
> any ideas? Also, is there a nice gui or easy command line program to change
...

Just grab setiathome from the berkeley site and place it into ~/setiathome.
IIRC, TkSeti will look there for it as well, if you want to use that under
X (it has some nice features, especially the map...).

Kenward
-- 
It is not so very important for a person to learn facts.  For that he
doesn't really need a college education, for he can learn them from
books.  The value of an education in a liberal arts college is not the
learning of many facts but the training of the mind to thinking--something
that cannot be learned from books. Albert Einstein



Re: size of a directory

2001-03-05 Thread RAccess
On Mon, 5 Mar 2001, Gregor Kaleta wrote:

> How can I view the size of a spezial directory e.g. /usr?
>

du -hs /usr

warning: it may take longer than you might expect and there may be some
subdirectories you dont have permission to read. But it should give you a
reasonably accurate size. enjoy :)

RAccess
#geeks/irc.openprojects.net

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS GIT GP d- s+: a-- C+++ ULSB+++ P+ L+++ E+ W+++
N+ o K- w--- O- M-- V- PS+ PE Y+ PGP++ t++ 5-- X++
R* tv-- b+ DI+ D- G++ e h! r* !y+
--END GEEK CODE BLOCK--




laptop boot image?

2001-03-05 Thread Michael P. Soulier
Hey people. I heard a rumour that the toshiba laptop I have works with
Slackware, so while I wasn't able to get Debian's boot disks to work, the
Slackware bootamp.i image worked great. Is there a Debian laptop-specific boot
disk?

Thanks,

Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"With sufficient thrust, pigs fly just fine. However, this is not necessarily a 
good idea. It is hard to be sure where they are going to land, and it could be  
dangerous sitting under them as they fly overhead." -- RFC 1925



rpcinfo problems

2001-03-05 Thread ocorrain
Hello all,

I'm trying to install debian on a small box using PLIP. The HOWTO was
treating me fine until I encountered the following...

aurelius:~# rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error -
Connection refused

Any ideas?

Cheers

Tiarnan



Re: Configuring NTP

2001-03-05 Thread MaD dUCK
also sprach Steve Witt (on Mon, 05 Mar 2001 02:59:37PM -0800):
> It sounds like NTP isn't really running. Something that I've noticed is
> that there seems to be a maximum time that your computer's clock can be
> off from what NTP thinks is the real time or else NTP just gives up. I

this maximum time is called the max skew and it's 60 seconds... that's
why you have to run ntpdate just before you start ntp. make sure your
runlevel scripts exhibit this behavior. i use filerc, so it's really
easy for me, but you should make sure that the link S??ntpdate appears
in rc[23[45]].d lexicographically before S??ntp.

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
qvid me anxivs svm?



Re: Is it possible...

2001-03-05 Thread MaD dUCK
also sprach Marcin Landowski (on Mon, 05 Mar 2001 11:28:09PM +0100):
> ...to start Linux (DemoLinux - CD distribution) on NT-workstation? 
> I haven't admin privilages, boot possible only from HDD 
> (BIOS settings), I can't open box (plombs).

no. what's the problem with this computer? do you own it?
vmware might be an option...

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
qvid me anxivs svm?



Re: D-Link DFE-530TX Probs W. 2.4.2

2001-03-05 Thread Jason Gunthorpe

On Mon, 5 Mar 2001, Marc Moody wrote:

> I believe that the 530TX does use the via Rhine Chip, but the 530TX+ uses
> the realtek 8139.  Strange that the plus would have such a significant
> change, but I have the 530TX+, and I though I read this when I was
> installing mine.

Correct. Further, some 530TX+'s have non RTL8139 PCI IDs, like mine:

00:0d.0 Ethernet controller: D-Link System Inc: Unknown device 1300 (rev 10)

You need to either use Becker's latest driver, or add the ID's to the 8139too 
driver, like this:

{0x1186, 0x1300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RTL8139 },

Jason



Re: size of a directory

2001-03-05 Thread Morgan Terry
Gregor Kaleta wrote:
> 
> How can I view the size of a spezial directory e.g. /usr?

`du -s /usr` should do it.  `man du` for details...
-- 
Morgan Terry
[EMAIL PROTECTED]
(801) 567-5306



Re: Anacron schedule

2001-03-05 Thread Judith Elaine Bush
To recap, I am trying to find out where anacron is instructed to run
at 7 am(ish) every morning so that i may change it to 5 am. 

Thanks for any help,

judith

In response to a listing of suggested places to look, I document the
parts of anacron i now understand:


On Tue, Mar 06, 2001 at 12:50:20AM +0200, Shaul Karl wrote:
> 
> /etc/anacrontab, 

This is where one specifies how frequently something is run & a delay
between the invocation of anacron & running the job.

> /var/spool/anacron/*, 

These are the date stamps for anacron jobs. They specify the DATE the
command was last run (not the time). 

> anacron (8), anacron (5), 

Nice, concise man pages. They don't specify how anacron is invoked
automatically.

> /usr/share/doc/cron/README.anacron,
> /sur/share/doc/anacron/README.Debian.

Very similar in content. Details how the lines in /etc/crontab are
structured so that if anacron exists, the daily, weekly, and monthly
run-parts are NOT run by cron. neither state how anacron is invoked on
a regular basis.

> 
> I didn't tried to find out for sure but I guess that the scheduling of 
> anacron 
> is related to the content or the time stamp of /var/spool/anacron/*. 

See note above.

> /etc/init.d/anacron might also be involved.


This is where anacron is run on system boot up. This is probably the
most important part of anacron, but since my system is often left on
over night (that might change with the California power shortage...)
this is not the invocation of anacron that runs run-parts on a daily
basis.


> > Thanks in advance,
> > 
> > judith
> > 
> > >From /etc/crontab:
> > 
> > # m h dom mon dow user  command
> > 25 5* * *   roottest -e /usr/sbin/anacron || run-parts --report 
> > /etc/cron.daily
> > 27 5* * 7   roottest -e /usr/sbin/anacron || run-parts --report 
> > /etc/cron.weekly
> > 29 51 * *   roottest -e /usr/sbin/anacron || run-parts --report 
> > /etc/cron.monthly
> > #
> > 
> > 
> > zmore /usr/share/doc/anacron/README.gz
> > 
> > "   In addition to running Anacron from the boot-scripts, it is also
> > recommended to schedule it as a daily cron-job (usually at an early
> > morning hour), so that if the machine is kept running for a night,
> > jobs for the next day will still be executed."
> > 
> > 
> > 
> > more /usr/share/doc/anacron/README.Debian
> > 
> > "To avoid cron and anacron running the same job, place a line like:
> > 
> > test -x /usr/sbin/anacron || run-parts
> > 
> > in your crontab.  This will check if anacron exists and if not, it will let
> > cron do its thing.  The advantage is that if you later remove anacron, this
> > will still work."
> > 
> > 
> > 
> > < 145 10:11am greycat:/> /usr/sbin/anacron -V
> > Anacron 2.1
> > Copyright (C) 1998  Itai Tzur <[EMAIL PROTECTED]>
> > Copyright (C) 1999  Sean 'Shaleh' Perry <[EMAIL PROTECTED]>
> > 
> > Mail comments, suggestions and bug reports to <[EMAIL PROTECTED]>.
> > 













Re: Is it possible...

2001-03-05 Thread Kevin C. Smith
On Mon, Mar 05, 2001 at 11:28:09PM +0100, Marcin Landowski wrote:
> ...to start Linux (DemoLinux - CD distribution) on NT-workstation? 
> I haven't admin privilages, boot possible only from HDD 
> (BIOS settings), I can't open box (plombs).
> 
Check out their web site. I remember reading something about booting 
demolinux from Windows (not sure which Windows).

This is most likely is your only option.

Kevin



Re: Installing Debian

2001-03-05 Thread Ray Percival
Well first of all IMHO most of the defaults make sense.
The problem here is you trade off power for ease of use. And I
have yet to see a really good way around this. Maybe the best
way would be to make "levels" of install like RH has. Novice-Deity
or something like that but I can see how that would be hard to 
maintain. In short I think the best thing to do is to continue to
work on FAQs etc. To help people with coming up with something
that will work. Maybe something along the lines of a list of nice
reasonable options, what they mean and other places to look for
them. Really now that you can do the simple option on a install
the rest of it is just knowing what to do. I think I just found
a project thanks.
Ray
-- Original Message --
From: - <[EMAIL PROTECTED]>
Date: Mon, 05 Mar 2001 17:07:17 -0500

>I know I'm sticking my neck out on this one.
>
>Debian seems to making a lot of progress by upgrading modules but is
>still lacking in ease of installation.  It has reputation as
being one
>of the more difficult to install Linux systems which is
especially true
>for someone who is just starting to work with Debian.  Yes, there is
>documentation but unless you print it all out and have it at hand
during
>the installation process, you're on your own. And, even the
>documentation could be improved.
>
>There are a few places in the installation where a first timer
need to
>decide what to type in and there's not one clue what it should
be.  In
>other places, you are given a menu to choose from but even here,
a wrong
>decision can lead you in circles and possibly failure. All is not
bad;
>there are places where things are as they should be.   Surely, the
>installation process can be made easier and more positive so that
anyone
>can be assured that the end results will be what is expected.
>
>Debian is being touted as a superior system and no doubt it is
but does
>the installation necessarily have to be such a hassle (a rite of
>passage, so to speak) for beginners?
>
>With the reputed development support that Debian has throughout the
>world,  isn't there someone who could take some time and come up
with a
>more fool proof and easier installation routine?.
>
>.
>
>
>-- 
>To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
>with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



Re: sylpheed in potato

2001-03-05 Thread David B . Harris
To quote "Marcelo Chiapparini" <[EMAIL PROTECTED]>,
# Hi everyone!
# 
# It is possible to install sylpheed in potato without updating any
library?
# In the Debian site sylpheed belongs 
# to unstable, but the shylpheed web page says that it runs under
potato...

Well, what you can do is build the Sid package for your Potato system.
Check out http://dharris.freeshell.org/linux/index.html . The first
blurb there explains how to do it.

David Barclay Harris, Clan Barclay
Aut agere, aut mori. (Either action, or death.)



Re: Anacron schedule

2001-03-05 Thread Judith Elaine Bush
On Mon, Mar 05, 2001 at 11:13:57PM +, Pollywog wrote:
> 
> oops, sorry, I guess you already knew that.
> That's what I get for reading too fast.
> 

Oops, on my part, too!

judith



Re: Anacron schedule

2001-03-05 Thread Judith Elaine Bush
On Mon, Mar 05, 2001 at 11:10:56PM +, Pollywog wrote:
> 
> On Mon, 5 Mar 2001 15:58:10 -0600, Judith Elaine Bush said:
> 
> > On Mon, Mar 05, 2001 at 09:12:33PM +0100, Erdmut Pfeifer wrote:
> >  > 
> >  > as there is /etc/crontab for cron, there is a /etc/anacrontab for 
> > anacron.
> >  
> >  Indeed. Except the /etc/anacron specifies frequency (how many days
> >  apart should something be done) and delay (how long after anacron is
> >  invoked shoud something be done). The /etc/anachron file does *not*
> >  run anacron just after 7 am every morning.
> >  
> >  > The suggested "test -x ..." lines in crontab are just to disable those
> >  > entries temporarily while anacron is installed. This way, if you decide
> >  
> >  So, /etc/crontab is NOT where anacron is invoked. Somehow anacron is
> >  invoked around 7 am each day. If it's not in /etc/crontab, where is
> >  it?
> 
> /etc/anacrontab
> 
> see 'man anacrontab' for details
> 


>From the man page:

   The  file /etc/anacrontab describes the jobs controlled by
   anacron(8).  Its  lines  can  be  of  three  kinds:   job-
   description   lines,  environment  assignments,  or  empty
   lines.

   Job-description lines are of the form:

  period  delay  job-identifier  command


So, anacrontab does NOT schedule the running of anacron. I repeat,
somehow anacron is invoked around 7 am each day. If it's not in
/etc/crontab, where is it?


judith



Re: Anacron schedule

2001-03-05 Thread Erdmut Pfeifer
On Mon, Mar 05, 2001 at 03:58:10PM -0600, Judith Elaine Bush wrote:
> On Mon, Mar 05, 2001 at 09:12:33PM +0100, Erdmut Pfeifer wrote:
> > 
> > as there is /etc/crontab for cron, there is a /etc/anacrontab for anacron.
> 
> Indeed. Except the /etc/anacron specifies frequency (how many days
> apart should something be done) and delay (how long after anacron is
> invoked shoud something be done). The /etc/anachron file does *not*
> run anacron just after 7 am every morning.
> 
> > The suggested "test -x ..." lines in crontab are just to disable those
> > entries temporarily while anacron is installed. This way, if you decide
> 
> So, /etc/crontab is NOT where anacron is invoked. Somehow anacron is
> invoked around 7 am each day. If it's not in /etc/crontab, where is
> it?

sorry, I guess I didn't read your mail carefully enough...

I think what you are looking for is /etc/cron.d and the files therein.
Typically, when anacron is installed, there is a file /etc/cron.d/anacron
containing the line

30 7* * *   roottest -x /usr/sbin/anacron && /usr/sbin/anacron -s   


which explains the activity around 7 am you see.

The feature that cron is treating the files in /etc/cron.d as extensions
to /etc/crontab is a debian-specific modification of the regular cron
behaviour -- see the section "DEBIAN SPECIFIC" in man cron.

hope that helps now ;)
Erdmut


-- 
Erdmut Pfeifer
science+computing gmbh

-- Bugs come in through open windows. Keep Windows shut! --



Re: It's MY computer, not Bill's!

2001-03-05 Thread MaD dUCK
also sprach Robert Tucker (on Mon, 05 Mar 2001 03:07:58AM -0800):
> MaD dUCK wrote:
> 
> with 42Gb, you will be safe as follows:
> 
> >
> > hda1   /boot16M
> > hda2  your RAM size
> > hda5   /500M
> > hda6   /usr 10G
> > hda7   /home29G
> > hda8   /var 1G
> > hda9   /tmp 1G
> >
> 

mh. did you partition that way? okay... it's a jump in the right
direction, i hope you don't run into troubles given that you don't
have a lot of experience with partitioning.

well, have you ever configured linux for dsl? you will need to get
your network card working, you will need to interface with your router
properly, you will need your routing table to work...

do you know whether you need pppoe? who's your provider.

i don't have too much dsl experience, so i won't be of much help...

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
great minds run in great circles.



Re: Anacron schedule

2001-03-05 Thread Pollywog

On Mon, 5 Mar 2001 15:58:10 -0600, Pollywog said:

> /etc/anacrontab

> On Mon, Mar 05, 2001 at 09:12:33PM +0100, Erdmut Pfeifer wrote:
>  > 
>  > as there is /etc/crontab for cron, there is a /etc/anacrontab for anacron.
>  
>  Indeed. Except the /etc/anacron specifies frequency (how many days
>  apart should something be done) and delay (how long after anacron is
>  invoked shoud something be done). The /etc/anachron file does *not*
>  run anacron just after 7 am every morning.

oops, sorry, I guess you already knew that.
That's what I get for reading too fast.

btw there is a startup file for anacron in /etc/init.d


--
Andrew



Re: Anacron schedule

2001-03-05 Thread Pollywog

On Mon, 5 Mar 2001 15:58:10 -0600, Judith Elaine Bush said:

> On Mon, Mar 05, 2001 at 09:12:33PM +0100, Erdmut Pfeifer wrote:
>  > 
>  > as there is /etc/crontab for cron, there is a /etc/anacrontab for anacron.
>  
>  Indeed. Except the /etc/anacron specifies frequency (how many days
>  apart should something be done) and delay (how long after anacron is
>  invoked shoud something be done). The /etc/anachron file does *not*
>  run anacron just after 7 am every morning.
>  
>  > The suggested "test -x ..." lines in crontab are just to disable those
>  > entries temporarily while anacron is installed. This way, if you decide
>  
>  So, /etc/crontab is NOT where anacron is invoked. Somehow anacron is
>  invoked around 7 am each day. If it's not in /etc/crontab, where is
>  it?

/etc/anacrontab

see 'man anacrontab' for details


--
Andrew



Re: size of a directory

2001-03-05 Thread Aaron Maxwell
Hi Gregor.  You can use the 'du' command:

$ du -sk /usr
1867575 /usr

This will tell you the sum total size of all files in all subdirectories
of /usr, in kilobytes (on my system, 1867575 kB, or about 1.87 gigs). 
If you want the number in megabytes instead, use 'du -sm /usr'.

The -s option tells du to report just the total in /usr; if you want it
to give you a list of the numbers for all its subdirectories (i.e.
/usr/bin, /usr/local, /usr/local/bin ...), omit the '-s'; use 'du -k' or
'du -m'.  Type 'man du' for more details.

Hope this helps :)
Aaron

On Mon, 5 Mar 2001, Gregor Kaleta wrote:

> How can I view the size of a spezial directory e.g. /usr?
> 



Re: only localhost ping in slink

2001-03-05 Thread MaD dUCK
also sprach pplaw (on Mon, 05 Mar 2001 04:09:33PM +):
> i can ping all key players--myself, the lan, and the
> isp(i didn't know pinging could be this
> beautiful).

true. true.

> martin, thanks again.

no prob. someone helped me with that too at one point. since then i
can do routing tables in hebrew, reverse, while on drugs, standing on
my head, and during REM phase of sleep. the beauty of people out there
knowing the stuff. but mostly the beauty of *nix - because i couldn't
have told you jack if you had asked me to help you with a "user
friendly, revolutionary, (butt-ugly), graphical interface" . i doubt micros~1 people even know what routing is...

if you do get a chance to play with a windoze machine, look at the
output of route.exe. then laugh with me :)

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
"in any hierarchy, each individual rises
 to his own level of incompetence,
 and then remains there."
 -- murphy



Re: Installing Debian

2001-03-05 Thread John Griffiths
>With the reputed development support that Debian has throughout the
>world,  isn't there someone who could take some time and come up with a
>more fool proof and easier installation routine?.

Off you go then

Which is the problem. Debian is a volunteer community, and the things that get 
fixed are the things that bug the developers (and they don't find the install 
difficult at all). This gives you a superb technical platform, but one with a 
pretty high entry requirement.

Having said that, I have no formal computer training, can't code for the life 
of me, and I find Man pages to be incomprehensible.

But with a little persistence i've got to the point i can install Debian in 
many different ways in many different places.

Done a windows install lately? if everyone had to do it (instead of buy 
pre-installed) people would grouse about "ease of install" on linux a lot less.

There are people working on a debian installer, and i wish them the best of 
luck. But don't forget this isn't a corporation. its just people doing what 
they want to do.




Courier Setup Problem in unstable

2001-03-05 Thread Craig Coles
I have installed the Courier base and mta packages from unstable (0.31.1-2)
and can not get the installation to work.  I have contacted the Courier List
and have been told that the installation is broken.  Does anyone have this
version working with unstable?

Problems that I am seeing...

I get an error when receiving mail like this:

Mar  5 13:02:40 ws-5-121 courieresmtpd:
error,relay=:::207.179.38.145,ident=root,from=<[EMAIL PROTECTED]
om>,to=<[EMAIL PROTECTED]>: 550 User unknown.

When testing to make sure the local account is working, I tried to send an
email and received the following error in syslog:

Mar  5 13:07:23 ws-5-121 submit: Permission denied

The client saw the error:

432 Service temporarily unavailable


Or, do I really just need something tweaked???


-Craig



Re: only localhost ping in slink

2001-03-05 Thread pplaw
debs,

please ignor prior messageproblem resolved.  (i
didn't enter martin's suggestion exactly like he
wrote and i got the wrong results.  his info was
right on the money!  thanks!)   

i can ping all key players--myself, the lan, and the
isp(i didn't know pinging could be this
beautiful).

martin, thanks again.

(now i'm off for an upgrade to potato.)

bentley taylor.

//
   


.



Re: What kernel module for "Sound Max Digital Audio"?

2001-03-05 Thread Kent West



Kent West wrote:






Andrea replied:


You don't say if you added in the /etc/modutils the requested aliases for your 
sound
card, mine where created quite correctly by alsaconf, but i remember well, in 
the
sound card definition the name of my sound card was missing. I attach my alias 
file
as example:

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.4.3b ---
alias char-major-116 snd
alias snd-card-0 snd-card-via686a
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias sound-slot-1 snd-mpu401-uart
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 
snd_device_gid=29
snd_device_uid=0
options snd-card-via686a snd_index=0 snd_id=CARD_0 snd_mpu_port=0x300
snd_joystick=0x300 snd_pbk_frame_size=128 snd_cap_frame_size=128
# --- END: Generated by ALSACONF, do not edit. ---

In the list of your loaded module, i haven't found a snd-mixer entry, try 
looking in
your syslog for some error, and as a last tip, look in /proc/asound to check the
card status...




This led me to another clue. There's nothing in /etc/modules.conf like 
this. Nor is there anything like this in /etc/modutils/aliases. However, 
the alsaconf program creates a file /etc/alsa/modutils/0.5 that has this 
sort of info in it. But as far as I can tell, /etc/modules.conf is never 
made aware of this file. I've tried running update-modules and depmod; 
I've also tried modifying /etc/modutils/paths to contain the line 
"/etc/alsa/modutils/0.5" and/or "/etc/alsa/modutils/", but then the 
system complains about a bad line in /etc/modules.conf. I also noticed 
that /etc/modutils/alsa-path was pointing to /lib/modules/'uname 
-r'/alsa, whereas the actual modules are in /lib/modules/'uname 
-r'/misc; I've changed /etc/modutils/alsa-path accordingly.


Maybe part of the problem is that dselect doesn't know about alsa 
modules for a 2.4.2 kernel, only for 2.2.17 and 2.2.18, so I've 
downloaded and compiled the modules and libs from the alsa site. 


/Rant
At any rate, I'm getting really frustrated, and am about to give up on 
getting sound to work on my new computer with Debian. I'm not giving up 
on Debian by any means, but it is making me feel less gung-ho to 
recommend it to newbies like I've been doing. :-(   Configuring hardware 
is still just way too hard for even someone who's technically literate. 
Petrely is right; we need standards (without the straight-jacket that 
could conceivably bring with it). At the least, we need good 
documentation, and that's hard to come by with the extreme complexity 
and variability of Linux systems.

/End of Rant




Re: Anacron schedule

2001-03-05 Thread mike polniak
Judith Elaine Bush wrote:
> 
> 
> I've edited /etc/crontab to change the time (ana)cron runs its daily,
> weekly, and monthly scripts. They still seem to run after 7 am and not
> at 5:25. The system has been rebooted since the crontab change (not my
> fault!), so any and all daemons have been restrted since the change.
> 
> I am a little confused about the structure of the crontab command that
> refers to the daily, weekly, and monthly cron schedules. Since anacron
> is installed on my system, 'test -e /usr/sbin/anacron' returns
> 0. Thus, since the second command only runs IFF the first command
> returns a non-zero status, it seems that these crontab entries don't
> trigger anacron or the run-parts. (And then the
> /etc/cron[daily|monthly|weekly] all have 0anacron scripts that seem to
> run run-parts on the self directory.
> 
> Between my change making no difference and closely examining the
> crontab entries, I am now left puzzled where anacron is scheduled to
> run when the system is up for over 24 hours.

The cron daemon uses the files  in /etc/cron.d as an extension of 
/etc/crontab. So /etc/cron.d/anacron runs /usr/sbin/anacron -s
Then> anacron -s  runs the jobs in /etc/anacrontab which has the
 run-parts that replace cron's entries for daily, weekly and monthly.
The anacrontab entries specify a period in days and a delay in
minutes that anacron checks before it runs the job e.g.:

1   5   cron.daily nice run-parts --report /etc/cron.daily

Anacron records the date, not the hour in its timestamp, so it
knows when to execute again.
-- 
LINUX~~nobody owns it~~everybody can use it~~anybody can improve it
~~~



Re: only localhost ping in slink

2001-03-05 Thread MaD dUCK
> now i just need to specify my isp's dns's (207.76.102.251/252).  (i
> forget where that's specified.  locate *dns* gave me cold leads.)
> where do i set that?

/etc/resolv.conf

are you using a laptop or a desktop?

i am assuming the latter, so please do a

man interfaces

to find out how to permanently configure your machine.

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
may the bluebird of happiness twiddle your bits.



Re: Configuring NTP

2001-03-05 Thread Steve Witt
On Mon, 5 Mar 2001, Benjamin Pharr wrote:

> I'm trying to set up NTP on my Debina server.  I installed NTP using
> apt-get and then added several:
>
> server servername.com
>
> lines to the /etc/ntp.conf file.  It's been over a month, and my time
> continues to wander and /var/log/ntpstats is empty.  I can't find any
> errors in any of my log files.  Can anyone tell me what I might be doing
> wrong.  Thanks!
>
> Ben Pharr
>

It sounds like NTP isn't really running. Something that I've noticed is
that there seems to be a maximum time that your computer's clock can be
off from what NTP thinks is the real time or else NTP just gives up. I
can't remember what the error message is, or even where it is written to,
but I have seen it enough times. I would suggest looking into ntpdate,
which will let you set the time from your NTP servers and then restarting
ntp which hopefully will pick up from there. I suppose that you've checked
that you have connectivity to your time servers.

It's probably something simple, I've got NTP running on about 30
computers, both Sun and Linux, at work and at home and its never been too
much trouble.





Re: Anacron schedule

2001-03-05 Thread Shaul Karl
> 
> 
> I've edited /etc/crontab to change the time (ana)cron runs its daily,
> weekly, and monthly scripts. They still seem to run after 7 am and not
> at 5:25. The system has been rebooted since the crontab change (not my
> fault!), so any and all daemons have been restrted since the change.
> 
> I am a little confused about the structure of the crontab command that
> refers to the daily, weekly, and monthly cron schedules. Since anacron
> is installed on my system, 'test -e /usr/sbin/anacron' returns
> 0. Thus, since the second command only runs IFF the first command
> returns a non-zero status, it seems that these crontab entries don't
> trigger anacron or the run-parts. (And then the
> /etc/cron[daily|monthly|weekly] all have 0anacron scripts that seem to
> run run-parts on the self directory.
> 
> Between my change making no difference and closely examining the
> crontab entries, I am now left puzzled where anacron is scheduled to
> run when the system is up for over 24 hours.
> 
> Any suggestions on what i may be missing in scheduling the run time
> for anacron?
> 


/etc/anacrontab, /var/spool/anacron/*, anacron (8), anacron (5), 
/usr/share/doc/cron/README.anacron, /sur/share/doc/anacron/README.Debian.

I didn't tried to find out for sure but I guess that the scheduling of anacron 
is related to the content or the time stamp of /var/spool/anacron/*. 
/etc/init.d/anacron might also be involved.


> Thanks in advance,
> 
> judith
> 
> >From /etc/crontab:
> 
> # m h dom mon dow user  command
> 25 5* * *   roottest -e /usr/sbin/anacron || run-parts --report 
> /etc/cron.daily
> 27 5* * 7   roottest -e /usr/sbin/anacron || run-parts --report 
> /etc/cron.weekly
> 29 51 * *   roottest -e /usr/sbin/anacron || run-parts --report 
> /etc/cron.monthly
> #
> 
> 
> zmore /usr/share/doc/anacron/README.gz
> 
> "   In addition to running Anacron from the boot-scripts, it is also
> recommended to schedule it as a daily cron-job (usually at an early
> morning hour), so that if the machine is kept running for a night,
> jobs for the next day will still be executed."
> 
> 
> 
> more /usr/share/doc/anacron/README.Debian
> 
> "To avoid cron and anacron running the same job, place a line like:
> 
> test -x /usr/sbin/anacron || run-parts
> 
> in your crontab.  This will check if anacron exists and if not, it will let
> cron do its thing.  The advantage is that if you later remove anacron, this
> will still work."
> 
> 
> 
> < 145 10:11am greycat:/> /usr/sbin/anacron -V
> Anacron 2.1
> Copyright (C) 1998  Itai Tzur <[EMAIL PROTECTED]>
> Copyright (C) 1999  Sean 'Shaleh' Perry <[EMAIL PROTECTED]>
> 
> Mail comments, suggestions and bug reports to <[EMAIL PROTECTED]>.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 

Shaul Karl <[EMAIL PROTECTED]>




Re: only localhost ping in slink

2001-03-05 Thread pplaw
On Mon, Mar 05, 2001 at 04:52:49PM -0500, MaD dUCK wrote:
> also sprach pplaw (on Mon, 05 Mar 2001 02:52:32PM +):
> > Destination Gateway Genmask Flags Metric RefUse 
> > Iface
> > 127.0.0.0   0.0.0.0 255.0.0.0   U 0  01 lo
> 
> well, you aren't routing anything via eth0. this may be due to a
> configuration error, but try the following (as root):
> 
> /sbin/route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0
> /sbin/route add default gw 192.168.1.250
> 
> what now?
> 
> martin
> 
> [greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
> PROTECTED]@@@.net
> -- 
> "the human brain is like an enormous fish --
>  it is flat and slimy
>  and has gills through which it can see."
>-- monty python

//

i'm almost there:  ...the new slink box can ping itself (192.168.1.64) as well 
as the other 20 boxes on the lan and the dls router (192.168.1.250).  
(eggsalent!)

now i just need to specify my isp's dns's (207.76.102.251/252).  (i forget 
where that's specified.  locate *dns* gave me cold leads.)  where do i set that?

(martin, thanks for all your great help getting me to this point.)

bentley taylor.

//


> 
Script started on Mon Mar  5 22:37:12 2001
MAXIMUS:/home/bt# ping 192.168.1.64
PING 192.168.1.64 (192.168.1.64): 56 data bytes
64 bytes from 192.168.1.64: icmp_seq=0 ttl=64 time=0.3 ms
64 bytes from 192.168.1.64: icmp_seq=1 ttl=64 time=0.1 ms

--- 192.168.1.64 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.2/0.3 ms
MAXIMUS:/home/bt# ping 192.168.1.250
PING 192.168.1.250 (192.168.1.250): 56 data bytes
64 bytes from 192.168.1.250: icmp_seq=0 ttl=255 time=2.3 ms
64 bytes from 192.168.1.250: icmp_seq=1 ttl=255 time=1.3 ms
64 bytes from 192.168.1.250: icmp_seq=2 ttl=255 time=1.3 ms

--- 192.168.1.250 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.3/1.6/2.3 ms
MAXIMUS:/home/bt# exit
exit

Script done on Mon Mar  5 22:37:47 2001
Script started on Mon Mar  5 22:38:13 2001
MAXIMUS:/home/bt# /sbin/route add gw 192.168.1.250
gw: Host name lookup failure
MAXIMUS:/home/bt# ping pcisys.net
ping: unknown host pcisys.net
MAXIMUS:/home/bt# ping 207.76.20  102.251
PING 207.76.102.251 (207.76.102.251): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 207.76.102.251 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote 207.76.102.251 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote 207.76.102.251 64 chars, ret=-1

--- 207.76.102.251 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
MAXIMUS:/home/bt# exit
exit

Script done on Mon Mar  5 22:39:03 2001


Re: size of a directory

2001-03-05 Thread Gavin Hamill
On Mon, 5 Mar 2001, Gregor Kaleta wrote:

> How can I view the size of a spezial directory e.g. /usr?

Try 

du /usr

play with the options for the du command... du -sh is a good one for
simply getting the total space used in an easily readable format :)

gdh




  1   2   3   >