Re: ssl certificate on archive.debian.net expired

2017-03-09 Thread Peter Palfrader
On Thu, 09 Mar 2017, Jonathan Dowland wrote:

> On Thu, Mar 09, 2017 at 10:38:32AM +0100, Jorick Astrego wrote:
> > On 03/09/2017 10:36 AM, Jorick Astrego wrote:
> > > Just letting you know the ssl certificate on archive.debian.net "uses 
> > > an invalid security certificate. The certificate expired on 02/19/2017 
> > > 05:25 AM. The current time is 03/09/2017 10:32 AM. (Error code: 
> > > sec_error_expired_certificate)"
> > >
> > > Most people will use archive.debian.org, but still it's not so nice to 
> > > see such a warning.
> > >
> > Even worse, the ssl certificate on https://archive.debian.org is invalid 
> > too.

https://archive.debian.org/ is not at this time available over https,
not was it ever advertised as such.

-- 
|  .''`.   ** Debian **
  Peter Palfrader   | : :' :  The  universal
 https://www.palfrader.org/ | `. `'  Operating System
|   `-https://www.debian.org/



Re: X11/Thinkpad T430: partially drops input from USB devices after resume

2015-03-21 Thread Peter Palfrader
On Sat, 21 Mar 2015, stefan.schwar...@gmx.net wrote:

> I am using my laptop (lenovo T430, debian testing) regularly in a docking 
> station. The dock has a USB keyboard, USB mouse and monitor 
> permanently attached. The laptops suspends from time to time, and _after_ 
> resuming X11 or some other system component 
> the input from USB mouse and keyboard to be dropped/ignored partially. 
> Symptoms are that the cursor does not move with 
> the mouse, however it will start moving again if I click any of the mouse 
> buttons; or that the keyboard input is ignored until 
> I hit some arbitrary keys very rapidly. The USB amnesia starts again if I 
> leave the input device untouched for some seconds.
> The issue will not occur for newly connected devices or if I reconnect 
> mouse/keyboard. The dock is not the issue as I can 
> reproduce the phenomenon with a USB mouse directly connected to the laptop. 

> I have no clue what could be going on...

Probably a USB autosuspend issue.  Do you have laptop-mode-tools
installed?  If yes, can you get rid of it and re-test?

-- 
       |  .''`.   ** Debian **
  Peter Palfrader  | : :' :  The  universal
 http://www.palfrader.org/ | `. `'  Operating System
   |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150321074954.gh18...@anguilla.noreply.org



Re: dpkg "no space left on device" errors (lots of room left)

2014-10-22 Thread Peter Palfrader
On Wed, 22 Oct 2014, John Bleichert wrote:

> >Try a df -i You may have run out of inodes
> 
> Iain: Bingo - I was down to a single-digit number of inodes on / ...
> 
> The box became unusable and had to be reset. Upon booting the OS
> "cleaned up temporary files" and now I'm back to an IUse% of 4%
> (which sounds about right, I don't store any non-OS data on / ).

Maybe you want to make your /tmp a tmpfs?  Edit /etc/default/tmpfs and
set RAMTMP to yes, then reboot.

Cheers,
-- 
   |  .''`.   ** Debian **
  Peter Palfrader  | : :' :  The  universal
 http://www.palfrader.org/ | `. `'  Operating System
   |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141022195543.gf19...@anguilla.noreply.org



Re: version field when submit to BTS

2014-10-21 Thread Peter Palfrader
On Tue, 21 Oct 2014, lumin wrote:

> This is a question about debian bug tracking system.
> In order to use the BTS properly, I have read this page:
> https://www.debian.org/Bugs/Reporting
> but I wonder if I can fill in the "Version:"
> field directly with git commit number such as
> ""78a6aac2559648d1a0e0b4926e23aed67d8b81fb".

Technically, you can.  Nothing is stopping you.  It just won't be very
useful to anyone: it won't be a version the BTS will recognize, the BTS
will not be able to compare it with other versions, it will be useless
noise.

In short, please don't.  Use a proper debian package version.
-- 
       |  .''`.   ** Debian **
  Peter Palfrader  | : :' :  The  universal
 http://www.palfrader.org/ | `. `'  Operating System
   |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141021071812.ga11...@anguilla.noreply.org



Re: keep users alert to packages deleted from debian

2004-04-02 Thread Peter Palfrader
On Fri, 02 Apr 2004, Dan Jacobson wrote:

> Anyway, it seems no tool keeps users alert that some of their packages
> are "no longer".  Perhaps it should appear when one does
> dist-upgrades, or maybe a deb orphan-like tool that one could run from crontab.

You mean like dselect?

--- Obsolete and local packages present on system ---
- Obsolete/local Required packages -
--- Obsolete/local Required packages in section libs ---
 *** Req libs libperl5.6   5.6.1-8.6   
- Obsolete/local Standard packages -
--- Obsolete/local Standard packages in section net ---
 *** Std net  libdns5  9.2.1-2.woo 
 *** Std net  libisc4  9.2.1-2.woo 
[..]


Peter
-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :  The  universal
   | `. `'  Operating System
 http://www.palfrader.org/ |   `-http://www.debian.org/


signature.asc
Description: Digital signature


Re: exploring debian's users and groups

2001-08-07 Thread Peter Palfrader
On Tue, 07 Aug 2001, Joey Hess wrote:

> uucp:
>   HELP: Presumably used for UUCP, which I know nothing of.

> dialout:
>   HELP: Is this used for /dev/cua devices or something?

The uucp user and group is used by the UUCP subsystem. It owns
spool and configuration files. uucico, a binary of the uucp package,
is sgid dialout to be able to open the serial ports to dial out.
It is suid uucp and may only be run by users in the uucp group.

yours,
peter

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :By professionals,
   | `. `'  for professionals
 http://www.palfrader.org/ |   `-http://www.debian.org/


pgpjjclhlLaeF.pgp
Description: PGP signature


Re: 404 errors and html file names with "&" and "+" in them

2001-02-23 Thread Peter Palfrader
Hi Steve!

On Fri, 23 Feb 2001, Steve Rudd wrote:

> The actual file name is:
> f-10com-Hus&Wifes.htm
> 
> Are there certain characters that one should avoid in file names?

In general you should avoid everything but A-Za-z0-9 and '.'.
All other characters have to be replaced in urls with %.
Space may be replaced by '+'.

You may use something like this in perl code:

$url =~ s/([^A-Za-z0-9 ])/ '%' . unpack("H2", $1) /gex;
$url =~ s/ /+/g;

Hmm. I also replace the dot, *goingtofixthis*.

HTH,

yours,
peter
-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :By professionals,
   | `. `'  for professionals
 http://www.palfrader.org/ |   `-http://www.debian.org/



Re: Newbie: Debian 2.2r2 to 2.4 ?

2001-02-23 Thread Peter Palfrader
Hi Horburapa!

On Fri, 23 Feb 2001, Horburapa Mongkol-Q13382 wrote:

> I am quite new to Linux Debian.
> I have Debian 2.2r2 on my machine and upgrade it with Progeny Linux image 
> package.
> If I want to upgrade the kernel to 2.4, what should I do?
> Or please point me to the doc I can follow.

- Forwarded message from Adrian Bunk <[EMAIL PROTECTED]> -

From: Adrian Bunk <[EMAIL PROTECTED]>
Reply-To: Adrian Bunk <[EMAIL PROTECTED]>
Subject: Packages to run kernel 2.4.x on potato (version 1)
Date: Tue, 13 Feb 2001 23:08:54 +0100 (CET)
To: , 
Resent-From: debian-devel@lists.debian.org

[please excuse that my English isn't perfect - I'm not a native speaker]


I have prepared the packages needed to run kernels up to 2.4.1 on a
potato system. Please read the whole mail before you install these
packages.


Warnings


Please consider the following before you install these packages:
- These are packages taken from unstable recompiled on potato.
  You can't expect that they are as stable as the packages in potato
  and although I'll try my best I can't garuantee anything.
- When you upgrade modutils you can no longer run a modular
  2.0.x kernel.
- Some packages you'll perhaps need aren't yet included because some
  bugs need to be fixed before I'll include them:
  * devfsd
  * isdnutils


Installation


If you still want to install these package you can do so by adding

  deb http://people.debian.org/~bunk/debian potato main
  deb-src http://people.debian.org/~bunk/debian potato main

to your /etc/apt/sources.list or you can download them directly from

   http://people.debian.org/~bunk/debian/dists/potato/main/binary-i386/


Bug reports
---

Please tell me when you find a problem with these packages or if other
packages are needed. Don't report bugs in these packages to the Debian
bug tracking system!


Versioning of these packages


When I had to recompile a packageI have decreased the last digit of the
package version by one and added a ".bunk", e.g.

  3.x.0a-2  -> 3.x.0a-1.bunk

to mark that these packages aren't the official ones but packages I've
recompiled. When you'll some time upgrade your distribution to woody
you'll get the official package installed instead.
The exception from this rule is ipmasq where I didn't decrease the last
digit before adding the ".bunk" because this is the official package
plus an important patch.


Architectures
-

Currently, only i386 is supported. I had one request for powerpc packages
and I'm willing to add this and other architectures. But higher priority
items are for me:

- Fixing problems that occur.
- Add the packages I mentioned in "Warnings" as still missing.
- Some other both Debian (my packages, sponsoring people, QA) and
  non-Debian (studies, finding a new job,...) items.


Upgraded packages
-   Version

e2fsprogs   1.19-3
  Binary packages:
  - comerr-dev
  - e2fslibs-dev
  - e2fsprogs
  - ss-dev
  - uuid-dev
ipmasq  3.5.5 (+ patch from #85781)
ksymoops2.4.0-1
modutils2.4.1-2
pcmcia-cs   3.1.24-2 (without pcmcia-modules)
  Binary packages:
  - pcmcia-cs
  - pcmcia-source
ppp 2.4.0f-1
util-linux  2.10q-1
  Binary packages:
  - bsdutils
  - mount
  - util-linux


New packages
Version

iptables1.2-6
kernel-source-2.4.1 2.4.1-3
reiserfsprogs   3.x.0a-2


Changelog
-

Version 1:
  * Initial release.

- End forwarded message -

yours,
peter
-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :By professionals,
   | `. `'  for professionals
 http://www.palfrader.org/ |   `-http://www.debian.org/



Re: https:// sites don't work in Konqueror (KDE 2.1)

2001-01-03 Thread Peter Palfrader
Hi jfclinux!

On Wed, 03 Jan 2001, [EMAIL PROTECTED] wrote:

> Along with kdebase-crypto, you'll need kdelibs-crypto.  
> 
> Oops! -- You'll also need OpenSSL (apt-get install openssl)installed prior to 
> the crypto modules.

apt will handle this:

[EMAIL PROTECTED]:~$ apt-cache show kdebase-crypto
Package: kdebase-crypto
Depends: kdelibs3 (>= 4:2.1-20001218-0), 
libc6 (>= 2.1.97), 
libssl096,  <
libstdc++2.10-glibc2.2, 
kdelibs3-crypto (>= 4:2.1-20001218-0),  <
kdebase-libs (>= 4:2.1-20001218-0)

yours,
peter

-- 
PGP signed and encrypted messages preferred.
http://www.palfrader.org/



Re: lilo.conf -modifying

2000-12-27 Thread Peter Palfrader
> ---
> ^X^C
> q
> quit
> :q
> ^C
> end
> x
> exit
> ZZ
> ^D
> ?
> help
> shit
> .

ed is a fine editor, isn't it?
yours,
peter

-- 
PGP signed and encrypted messages preferred.
http://www.palfrader.org/



Re: How to point apt-get at non-US?

2000-12-24 Thread Peter Palfrader
Hi Anthony!

On Sun, 24 Dec 2000, Anthony Campbell wrote:

> deb ftp://ftp.uk.debian.org/debian dists/proposed-updates/
> deb ftp://ftp.uk.debian.org/debian potato main contrib non-free non-US
> deb http://security.debian.org/ potato/updates main contrib non-free
> 
> 
> It doesn't get non-US (perhaps because it's a symbolic link?).

Make that:

| deb ftp://ftp.uk.debian.org/debian potato main contrib non-free non-US/main 
non-US/contrib non-US/non-free

or what I prefer:

| deb ftp://ftp.uk.debian.org/debian potato main contrib non-free
| deb ftp://ftp.uk.debian.org/debian potato/non-US main contrib non-free

HTH
yours,
peter

-- 
PGP signed and encrypted messages preferred.
http://www.palfrader.org/


pgpQpwA3N9aZm.pgp
Description: PGP signature


Re: Abwesenheitsnotiz: exim configuration

2000-12-16 Thread Peter Palfrader
Hi Jesse!

On Sat, 16 Dec 2000, Jesse Goerz wrote:

> On Saturday 16 December 2000 17:30, Walther, Christoph wrote:
> > Zur Zeit bin ich nicht im Hause.
> >  Herr Yaldiz (Tel.: 06151/818-5562) und Herr Grießmann (Tel.:
> > 06151/818-5593)  werden mich während meiner Abwesenheit vertreten.
> >
> > Christoph Walther  DeTeCSM, TBS, SBS1
> 
> Mein Name ist Deutsch aber Ich spreche nur ein bischen.  Nicht genug fur 
> diese Gesprachsstoff.  Es tut mir leid.

This was just a stupid auto-responder.

-- 
Peter



Re: Making-Debian-Packages-HOWTO

2000-12-16 Thread Peter Palfrader
Hi Patrick!

Patrick Schnorbus schrieb am Samstag, dem 16. Dezember 2000:

> Hey folks,
> 
> is there any HOWTO or other good instruction for creating deb-packages?

Check out the info on http://www.debian.org/devel/>. You might
be interested in the stuff below "Packaging Information" esp. the
"New Maintainers' Guide" and the "Packaging Manual".

HTH
-- 
Peter



Re: umlauts-in-terminal/console-problem after upgrading to woody

2000-11-30 Thread Peter Palfrader
Hi Michael!

Michael Mertins schrieb am Donnerstag, dem 30. November 2000:

> I have a large problem getting umlauts to work since I upgraded to woody.

If you are who I think you are, then we solved this problem by
setting the LC* variables in /etc/environment, right?

also see man locale (not esp you Michael but everyone else
interested in the subject)

So long,
Weasel

-- 
PGP signed and encrypted messages preferred.
http://www.palfrader.org/


pgpI5K0ALGQfc.pgp
Description: PGP signature


Re: unstable ==? woody

2000-11-03 Thread Peter Palfrader
Hi Gregory!

On Fri, 03 Nov 2000, Gregory Guthrie wrote:

> Can I change my /etc/apt/sources.list from:
>   deb ftp://ftp.us.debian.org/debian unstable main contrib non-free
> 
> to
>   deb ftp://ftp.us.debian.org/debian   woody   main contrib non-free
> 
> and it will be the same for now, but after the next release, I will then be 
> in stable, instead of always on unstable?

yes, should work.

yours,
peter

-- 
PGP encrypted messages preferred.
http://www.palfrader.org/




Re: Lilo and vga=mode Question

2000-11-03 Thread Peter Palfrader
Hi Christopher!

On Fri, 03 Nov 2000, Christopher W. Aiken wrote:

> On Fri, Nov 03, 2000 at 03:56:36AM +0100, Peter Palfrader wrote:
> -|vga=290 should work.
> 
> Thanks !!!  That worked.  Where did you find docu on this stuff?
> I must have tried "man" on everything I could think of.


/usr/src/linux/Documentation/svga.txt:

[...]
|  0x - Hexadecimal video mode ID (also displayed on the menu, see below
| for exact meaning of the ID). Warning: rdev and LILO don't support
| hexadecimal numbers -- you have to convert it to decimal manually.
[...]

so long
yours,
peter

-- 
PGP encrypted messages preferred.
http://www.palfrader.org/




Re: Lilo and vga=mode Question

2000-11-02 Thread Peter Palfrader
Hi Christopher!

On Thu, 02 Nov 2000, Christopher W. Aiken wrote:

> 9  0122  100x30

> BTW...  I have tried all the modes and they all work for me.
> I just want to automatically start in "mode=9".

If you had read the docs carefully, you would have read somewhere, that
this "0122" is hex but lilo does not accept hex values.

vga=290 should work.
yours,
peter

-- 
PGP encrypted messages preferred.
http://www.palfrader.org/




Re: apt && woody.

2000-11-02 Thread Peter Palfrader
Hi Jason!

On Tue, 10 Oct 2000, Jason Gunthorpe wrote:

> 
> On Mon, 9 Oct 2000, Seth Cohn wrote:
> 
> > It would be useful, Jason, to understand what the message means:
> 
> It means an error that is not understood by the code was generated by the
> lookup. An error that is not 'name not found' or 'service not found'.
> I've never seen this prior to the new libc6..
> 
> Lets try to capture the error code form getaddrinfo and see whats up.
> 
> http://auric.debian.org/~jgg/apt_0.3.19.1_i386.deb
> 
> Has a version which ought to print out a number in brackets that can be
> cross referenced to /usr/include/netdb.h (the EAI_ defines) to determine
> what code glibc is spitting out, we can then investigate glibc's source to
> determine why it would spit that out, then figure out WTF is wrong.

[...]
Failed to fetch http://forcix.cx/debian/Packages
  Something wicked happend resolving 'forcix.cx:http' (-3)
[...]

which is according to /usr/include/netdb.h

# define EAI_AGAIN  -3  /* Temporary failure in name resolution.  */

Maybe apt should simply retry after all the other stuff got downloaded?

yours,
peter

-- 
PGP encrypted messages preferred.
http://www.palfrader.org/




Re: apt cheating?

2000-10-10 Thread Peter Palfrader
Hi Andreas!

Andreas Goesele schrieb am Mittwoch, dem 11. Oktober 2000:

> Hi,
> 
> The apt-get manual tells us:
> 
> "APT itself does not allow broken
> package dependencies to exist on a  system."
> 
> But there are cases, where one wants to have a package installed
> even if some dependencies are broken. (For instance if the package is
> very big and one isn't interested at all in the parts of the package
> which are affected by the dependency.)
> 
> So, is there any way to cheat apt, so that it accepts some broken
> dependencies - because they are hidden from it?

You can cheat the packaging system by installing so called 'equivs'
packages. e.g. you have installed gnupg yourself and something depends
on gnupg but you do not want to install the Debian package of gnupg,
you make yourself an equiv package and voila the system things you have
gnupg installed.

[EMAIL PROTECTED]:~$ apt-cache show equivs
Package: equivs
[...]
Description: Circumventing Debian package dependencies
[...]

Install this, read the docs, create and install the right equivs packages
and the package system (and apt) should happily install the package you
want.

yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: How to get rid of unused libs?

2000-09-25 Thread Peter Palfrader
On Mon, 25 Sep 2000, Anthony Campbell wrote:
> > |> I hope it works with potato, too?

> I just installed  the deborphan .deb file from woody with apt-get and it
> ran without any problems on my potato systems.
> 

If a future version of deborphan does not install cleanly in potato,
somebody please drop me a line and I'll provide an apt-get'able version
for Debian 2.2.

Would potato users prefer to have an apt source with deborphan as the
only package _now_ so they need not check woody every once in a while?
If yes, please say so.

-- 
Peter



Re: How to get rid of unused libs?

2000-09-24 Thread Peter Palfrader
Hi Kai!

On Fri, 22 Sep 2000, Kai Weber wrote:

> Hi,
> 
> is there a way, how I can find unused library packages which no package
> needs longer? If I install a new package (e.g. for testing) sometimes a
> lot of new libs are installed. But when removing the package, the libs
> stay on system.
> 
> Someone has a solution? I think, I could hack a script for myself, but
> let's see what the others say.

The solution is deborphan.

Description: Find orphaned libraries.
 deborphan finds "orphaned" packages on your system.
 It determines which packages have no other packages
 depending on their installation, and shows you a list of
 these packages. It is most useful when finding libraries,
 but it can be used on packages in all sections.

% apt-get install deborphan

HTH
-- 
Peter




Re: join us!

2000-09-16 Thread Peter Palfrader
[Sorry for the late jump in, I found this thread because of Seth's X-Post]
Hi Oliver!

On Thu, 31 Aug 2000, Oliver Elphick wrote:

> "Kurt Seifried" wrote:
> ...
>   >Problem: user can enter Lilo commands at the Lilo prompt
> ...
>   >Additional solution: remove/replace password in lilo.conf after setting it
>   >(i.e. set password, run lilo, remove password).
> 
> You may not have noticed mbr:
> bash-2.04$ dpkg --status mbr
[...]
> If you are making a big thing of security against those with physical
> access, you need to mention this package, which is required and is
> silently installed in a Debian installation.  (It exists because the
  
> standard pc MBR is a non-free Microsoft product.)

Not any longer. There was a big discussion and flame fest a few months ago
and the default now is to _not_ install this mbr (instead install lilo into
the mbr). Additionally the mbr has been modified to print MBR upon boot time
so it is actually visible that /something/ is there.

HTH

yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]


pgpLjNZL6JVro.pgp
Description: PGP signature


Re: dhcp to static ip

2000-09-06 Thread Peter Palfrader
Hi William!

On Wed, 06 Sep 2000, William Jensen wrote:

> I just talked my cable company into going from a dhcp connection (dynamic ip)
> to a static IP.  Since I've always used dhcp before I'm not quite sure what to
> do.  Is there a quick how-to that will say, put your ip, gateway, blah blah
> into this file, do this with resolf.conf?

You were already pointet at /etc/network/interfaces. Just want to let
you know that there's a nice example in /usr/share/doc/netbase/examples.
On potato that is.

yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: how to run pppd as a user?

2000-09-02 Thread Peter Palfrader
Hi Glyn!

On Sat, 02 Sep 2000, Glyn Millington wrote:

> I'm a user and not root.  At the moment I'm using wvdial (or pon
> poff)  as root to log on to my ISP  and then zipping over to another
> console to do what must be done on the net - mostly mail.   
> 
> I don't like this! and don't like the thought of running pppd
> suid, but need a quick fix as the post keeps coming..  Can anyone
> tell me how or point me to the right docs?  I added myself to the
> dialup group but that doesn't seem to have done the business.

Dialout is the wrong group. You should have added yourself to "dip".
After a relogin (to make the new group membership active) you should
be able to run pon.

HTH
yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: continuing upgrade after losing connection

2000-09-02 Thread Peter Palfrader
Hi alice!

On Sat, 02 Sep 2000, [EMAIL PROTECTED] wrote:

> [PP's cut] Is there way to indicate to apt-get
> which packages I now have in /var/cache/apt/archives so that it doesn't try
> to re-download them and starts with the files it doesn't already have?

apt should be smart enough to find out itself.

yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: 2 questions package installs and TCP/IP startup script

2000-08-27 Thread Peter Palfrader
Hi Mark!

On Sun, 27 Aug 2000, Mark Simos wrote:

> 1.
> I am trying to install vim on a really bare installation of Debian. I
> have internet access that routes and resolves names fine.
> 
> When I type "apt-get install vim vim-rt" or just about any other package
> name i see listed on Debian's site, i get back "E: Couldn't find package
> vim"
> 
> I don't know where to begin troubleshooting this...

You probably don't have updated apt-gets database. If your
/etc/apt/sources.list
is correct, you should run
apt-get update

after this
apt-get install vim
should work.

A sample sources.list could look like this:

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


> 2.
> Also I am not quite sure where to put my "ifconfig eth0." and "route
> add default" statements so they run on bootup
> 
> Thank you and please forgive my windows roots :),

Configure your
/etc/network/interfaces
file. An example can be founc in
/usr/share/doc/netbase/examples/interfaces

If this is done /etc/init.d/networking should automatically configure
your interfaces upon boot.

HTH
yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: -dev dependencies when building debs from source?

2000-08-27 Thread Peter Palfrader
Hi Jeronimo!

On Sun, 27 Aug 2000, Jeronimo Pellegrini wrote:

>  I have built console-apt and gnome-apt from source here, because I
>  needed the debs (and that seemed much easier to me than browsing
>  ftp.debian.org -- besides that, I like to compile things... :)
> 
>  Anyway... I found that apt doesn't seem to know about dependencies
>  related to -dev packages... The build of console-apt failed once, and
>  that of gnome-apt failed twice, I think, because of these
>  dependencies. And all I had were missing header files, so I had to
>  guess in which -dev packages they would be.

Whie not automated (AFAIK), the build-depends can usually be found
in the debian/control file.

gnome-apt-0.3.9/debian/control:
Maintainer: Apt Packaging Team <[EMAIL PROTECTED]>
Build-Depends: libapt-pkg-dev (>= 0.3.18), autoconf, m4, gettext[]
[..]

HTH
yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: Adding commands to Debian Program Menu

2000-08-20 Thread Peter Palfrader
Hi Bryan!

On Sun, 20 Aug 2000, Bryan K. Walton wrote:

> Hello,
>   I have what is probably a very simple question for this list.  How
> can I add commands to the Debian Program Menu.  For example, imagine that
> I install a program called "binary" to my computer.  I can run it by
> typing "binary" at a shell prompt.  But how can I get it added to the
> Debian program menu in my window manager (fvwm).  I know how to add
> it to the Gnome program menu, but I am not running Gnome.  Any 
> suggestions?

Create your own menu file and place it in ~/.menu or /etc/menu.

an example:
[EMAIL PROTECTED]:~/.menu$ cat local.netscape 
# made by PP on Wed Feb  9 22:05:21 CET 2000

?package(local.netscape):\
needs=X11\
section=Apps/Net\
title="Netscape"\
longtitle="Netscape Navigator"\
command="/usr/local/bin/netscape"\
shortcut="Control+Mod1+c"

Run update-menus for the changes to take effect.
(and perhaps restart you windowmanager (not needed for wmaker at least))

Also read the documentation in /usr/share/doc/menu/

HTH
yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: newbe I do mean newbe

2000-08-19 Thread Peter Palfrader
Hi User!

debian-mentors:
| This list is for newbie maintainers who seek help with initial
| packaging and other developer-related issues. Those who prefer
| one-on-one help should also post to the list, and an experienced
| developer will volunteer. This list is not meant for users
| questions but for new maintainers.

You probably wanted to ask on -user. Perhaps someone can help you
there. I'm sending this mail there too, so -user can see it. Please
sent your replies to -user.

[Full quote since X-post; wrapping adjusted by pp]
On Thu, 20 Jul 2000, User 510 wrote: 

> Help I just installed the debian corel linux on my old amdk6 500 on a
> new maxtor 20 gig and have a few problems with the awe sound baster 16
> no workie my boca external modem 3.36 slow I know but no workie and
> my old 15' 640 x 480 monitor corel wont let me see the whole desktop
> in the kde mode or the kde desktop wont reconize the size of my monitor
> it is very frustrating that I cant use or learn linux beacuse I cant
> see half the screen I was able to get the display settings to 640x480
> but still cant see the bottom half of the desktop and yes I have tried
> resizing but when you resize it cuts the bottom half off any
> suggestions??

> please help 
please wrap your lines
yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: problem building Licq deb from source debs

2000-08-19 Thread Peter Palfrader
Hi pollywog!

On Sat, 19 Aug 2000, pollywog wrote:

> I downloaded the source package (and dsc and diff) for Licq and then modified
> debian/rules and then built Licq with my own config options.
> The problem is that I have QT installed from source, and no Debian packages 
> for
> QT were found:

Each Debian source contains a file named debian/control.
Most control files have a Build-Depends line. this is the one for
licq-0.76:

Build-Depends: automake, debhelper, libtool, libpng2-dev, libqt2-dev, libz-dev, 
xlib6g-dev
(sorry for the long line)

As you see, you don't need libqt2 to build it, you need libqt2__-dev__.

In most cases you need the -dev packages of libraries if you want to
build stuff against them.

HTH
yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: potato froze up

2000-08-15 Thread Peter Palfrader
On Tue, 15 Aug 2000, Peter Palfrader wrote:

> From: Alex Buell <[EMAIL PROTECTED]>
> To: Linux Kernel <[EMAIL PROTECTED]>
> Subject: Cause of mysterious lock-ups with 2.2.x kernels discovered!
> Message-ID: <[EMAIL PROTECTED]>

Sorry, also dropped the Date line
Date:   Sat, 14 Aug 1999 01:33:20 +0100 (BST)

yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: potato froze up

2000-08-15 Thread Peter Palfrader
Hi Mathew!

On Tue, 15 Aug 2000, Mathew Johnston wrote:

> I have a potato box that is running samba, mysql, apache, proftpd,
> Xwindows (but connects to another box to run all of its apps) and is a
> masq firewall.  Last night it froze up while running a screensaver
> remotely (on the other xwindows box, over the lan).  No messages in
> syslog.  I'd like to stop this from happening again.  Any ideas as to
> how to track downt he offending software?

Do you have pets? No, this is not a joke.

CUT---
From: Alex Buell <[EMAIL PROTECTED]>
To: Linux Kernel <[EMAIL PROTECTED]>
Subject: Cause of mysterious lock-ups with 2.2.x kernels discovered!
Message-ID: <[EMAIL PROTECTED]>

Gentlemen and Gentlewomen, 

I wish to share with you all my latest discovery which I just made a few
minutes ago, but I must explain the background first. 

For quite a while, since I returned from the States in Feb, I had been the
victim of a recurring but random lock-ups with Linux in all incarnations
of the 2.2.x series kernels, and have in fact reported several. The
strange thing was that I never had these lock-ups in the States. 

All that was a mystery until tonight. I had left the keyboard for a short
period of time, and returned to find one of my six cats SLEEPING on the
keyboard! I shooed the cat away and sat down to continue my editing. I was
completely thunderstruck when I realised that the machine was locked up
tighter than a chastity belt on a virgin, X11 was still on the display,
just completely frozen. Then a light went on in my tiny brain, somehow my
cats must have discovered quite by accident the best way to annoy me; that
is, pressing keys at random until the reboot/sync/meminfo key sequences
(i.e alt-r, alt-s I think) kicks in and machine locks up as a result.

I propose four solutions to this problem.

1. Keep cats out of room.
2. Disable the keyboard with a sequence of key-presses, and re-enable by
   pressing a different sequence of key-presses. Of course, it should be
   cat-proof. 
3. Unplug the keyboard.
4. Put cat-repellent on keyboard. 

I hope this helps those of you with cats in the house and experiencing
strange happenings. 

Cheers, 
Alex 
-- 

Legalise cannabis today!

http://www.tahallah.demon.co.uk
CUT---
HTH
yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: route delete

2000-08-07 Thread Peter Palfrader
Hi Peter!

On Mon, 07 Aug 2000, Peter S Galbraith wrote:

> > Sure, just use apt-get.
> > 
> > Detailed information can be found at
> > ftp://ftp.debian.org/debian/dists/potato/main/upgrade-i386/Release-Notes
> 
> Hmmm.  On the contrary, that file only mentions the old network script:
> 
> * The `/etc/init.d/network' script, as set up by the old Debian
>   installation procedures, prints error messages with the new
>   kernel; this can be fixed by adding proper `netmask' and `dev'
>   options to `route' invocations in that file.
> 
> Searching for the word `net' I found no mention of the new
> method!  Did I miss something silly?

Nope I did :) I though you were talking about upgrading when in fact you
meant what you wrote :) Well, I don't know of any tool, but creating the
/etc/network/interfaces file is not hard. Check out the example in 
/usr/share/doc/netbase/examples/interfaces
it's pretty good.

I think you may remove /etc/init.d/network afterwards.


yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: route delete

2000-08-07 Thread Peter Palfrader
Hi Peter!

On Mon, 07 Aug 2000, Peter S Galbraith wrote:
> BTW, is there a conversion tool to go from slink format to potato
> format?

Sure, just use apt-get.

Detailed information can be found at
ftp://ftp.debian.org/debian/dists/potato/main/upgrade-i386/Release-Notes

HTH
yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: route delete

2000-08-07 Thread Peter Palfrader
Hi elouafi!

On Mon, 07 Aug 2000, elouafi bessem wrote:

>  
> hello
> 
> 
> I have a problem, I have a default route whene I delete it,the
> operation succeeded and the route disappears, but every time that
> I reboot the Pc it appears againe. how I can resolve this problem.

On slink aka Debian 2.1 systems comment out the 
``route add default gw...'' line in /etc/init.d/network

On potato aka Debian 2.2 systems edit /etc/network/interfaces
and comment out ``up route add default..'' and ''down route del..''
for this very interface.

HTH

Please ask questions like this on -user in the future. -mentors
is for debian developers helping other developers with packaging
and such, -dpkg is for development of the packaging system and
dpkg I assume and directly mailing individuals is in general not
considered a Good Thing.

X-Post, Mail-Followup-To set to debian-user@lists.debian.org -
please send replies there.
yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: current Redhat user evaluates Debian

2000-07-30 Thread Peter Palfrader
On Sun, 30 Jul 2000, Damon Muller wrote:

> I think you mean ms-chap, not ms-chat. Debian does seem to have ms-chap
> already built-in to it's pppd

> Of course, I've never got it working myself, but that doesn't mean it
> isn't there :)

If we're talking about MS Chap 80, then I can say that in fact it does
work. I needed it one or two years ago. SuSE 5.3 did not have that
support built in, but Debian had.

yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]



Re: deborphan

2000-07-29 Thread Peter Palfrader
Hi Henry!

[Henry]
>  > >  VM: do_try_to_free_pages failed for kswapd...
>  > >  Segmentation fault
[me]
>  > deborphan prior to 0.1.11-3 had big mem leaks
[Henry]
> No go :-[   Now I'm getting those error messages immediately after the
> fetch.  Stopped the process with CTRL-C and tried dpkg --purge deborphan 
> with the same results - more error messages until it segfaults.

So it's dpkg/apt that crashes? Try a new kernel as Moritz Schulte sugested.
Maybe a reboot fixed things for some time too. Maybe those memleaks where
too much for the VM (there are known issues with the VM iirc).

yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgp3gJ5D6KXEa.pgp
Description: PGP signature


Re: deborphan

2000-07-29 Thread Peter Palfrader
Hi Henry!

On Sat, 29 Jul 2000, Henry White wrote:

> After the latest apt-get update/upgrade/check (using sources woody and
> kernel 2.2.17) when i ran deborphan I got an on screen message
> 
>   VM: do_try_to_free_pages failed for kswapd...
>   Segmentation fault
>
> Any ideas or suggestions?

deborphan prior to 0.1.11-3 had big mem leaks. Paul Martin
<[EMAIL PROTECTED]> sent in a patch to fix them. It got integreaded
in 0.1.11-3. Please try the new version which you can fetch from

deb http://www.cosy.sbg.ac.at/~ppalfrad debian/apt/
deb-src http://www.cosy.sbg.ac.at/~ppalfrad debian/apt/

or from the archive in a few days time. I'ld be happy to learn wheter
it fixed the problem or not.

yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgp0diYE6xY6I.pgp
Description: PGP signature


Re: Exim for ISDN systems ?

2000-07-14 Thread Peter Palfrader
Hi Preben!

On Sat, 15 Jul 2000, Preben Randhol wrote:

> Peter Palfrader <[EMAIL PROTECTED]> wrote on 15/07/2000 (00:48) :
> > exim -qf and/or  exim -qff will send all mail from the queue. If I remember
> > they both are blocking, i.e. will only return when all messages got send.
> 
> Ah I see. The only problem now is to make the user able to run that
> command.
> 
> To make it user-friendly (my father is no computer expert (yet)) I want
> a button he can press which runs a script to connect run exim and
> disconnect.

Why not automate it? Say a cron job that checks whether there is mail in
the queue and if there is, connects to the net, sends those mails and fetches
new ones?

You could also use sudo as has been mentioned by Moritz Schulte.


yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgpNbaeQMHlfu.pgp
Description: PGP signature


Re: Exim for ISDN systems ?

2000-07-14 Thread Peter Palfrader
Hi Preben!

On Sat, 15 Jul 2000, Preben Randhol wrote:

> I'm trying to setup exim and spruce (e-mail client) so that I can use it
> for a dial-up (ISDN) system.
> 
> What I do now is that all messages are sent from spruce to exim on
> localhost, and then I want to open the connection to the internet (as
> the user) and have exim send all the messages before the connection is
> closed again.
> 
> Opening and closing of the internet is working, but the problem is how
> to get exim to send the messages at once.

exim -qf and/or  exim -qff will send all mail from the queue. If I remember
they both are blocking, i.e. will only return when all messages got send.

I'm not sure how they work, if another queue run is running already (as is
started in /etc/ppp/ip-up.d/ iirc.

If they are only blocking when they are the only queue run you might
consider removing /etc/ppp/ip-up.d/exim and then call exim -qf by hand and
disconnect afterwards.

HTH

yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/



Re: begone ctrlaltdel!

2000-07-09 Thread Peter Palfrader
Hi!

On Sun, 09 Jul 2000, Bob Bernstein wrote:

> I suppose the moral of the story is, "Don't leave root logins unattended."
> (But wouldn't it be simpler to have, as a possible line in
> /etc/shutdown.allow, "none"?)

May I quote the man page[1]?
 

[...]
If shutdown is called with the -a argument  (add
this  to  the  invocation of shutdown in /etc/inittab), it
checks to see if the file /etc/shutdown.allow is  present.

It  then  compares  the  login names in that file with the
list of people that are logged in  on  a  virtual  console
(from  /var/run/utmp).  Only  if  one  of those authorized
users or root is logged in, it will proceed. []

So, why put none, or bin or anything it, if what counts is
the mere existense of the file. And if root is logged in,
shutdown always succeds.

Just my EUR 0.0.2

yours,
peter

 1. Hehe, as if you could stop me :)

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgpDUyOqhlCBr.pgp
Description: PGP signature


Re: creating debs

2000-06-30 Thread Peter Palfrader
Hi Sven!

On Fri, 30 Jun 2000, Sven Burgener wrote:

> Given a source tarball, how to best install that into the system?
> 
> My suggestion would be to create a .deb archive and to then install that
> using dpkg -i. Now, I have never created my own .deb apart from doing this 
> with make-kpkg and apt-get source -b, so I am not familiar with the 
> "internals" or much more the necessary contents of a debian archive for
> it to be one.


Check out
http://www.debian.org/doc/packaging-manuals/index.html/
and
http://www.debian.org/~elphick/manuals.html/maint-guide/

HTH
yours,
peter
-- 
http://www.cosy.sbg.ac.at/~ppalfrad
[ not signed since this is an untrusted box ]



Re: [Q] Search for documentation on how to make .deb files

2000-06-25 Thread Peter Palfrader
Hi Preben!

On Sun, 25 Jun 2000, Preben Randhol wrote:

> As there is no search utility on the Debian web pages (I hope there soon
> will be one), I wonder if somebody can point me in the direction of
> documentation on how to make .deb files. 

Check out the devel section of the website. There you find among other 
stuff:

http://www.debian.org/doc/maint-guide/

yours,
peter
-- 
http://www.cosy.sbg.ac.at/~ppalfrad
[ not signed since this is an untrusted box ]



Re: rm -R /usr/

2000-06-10 Thread Peter Palfrader
Hi Aaron!

On Sat, 10 Jun 2000, Aaron Solochek wrote:

> Now I have it aliased to interactive mode, which is annoying at times, but
   [ ^^ rm -- PP]
> I haven't made a mistake like that again.

Does not work for me. After 2 days I started using -f with rm all the
times. Even more dangerous.  :)

yours,
peter
-- 
http://www.cosy.sbg.ac.at/~ppalfrad



Re: exim doing wierd stuff

2000-06-06 Thread Peter Palfrader
Hi Mario!

On Tue, 06 Jun 2000, Mario Olimpio de Menezes wrote:

>   I put some lines in /etc/init.d/networking, like these:
> ---
> ifconfig lo 127.0.0.1
> route add -net 127.0.0.0 netmask 255.0.0.0 lo
> --

No, no, no. You don't want to mess around with
/etc/init.d/networking. It's evil and a nightmare to upgrade. That's
the reason that /e/i.d/network is now depreciated.


Add this to your /etc/network/interfaces file:

--
iface lo inet loopback
--

See Also: 
 . ifup(8)
 . ifdown(8)
 . /etc/network/interfaces
 . /usr/share/doc/netbase/examples/interfaces

yours,
peter

-- 
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgpQmGMNdyChs.pgp
Description: PGP signature


Re: TCP domain connection

2000-06-03 Thread Peter Palfrader
Hi Igor!

On Sun, 04 Jun 2000, Igor Mozetic wrote:

> 
> Peter Palfrader writes:
> 
>  > > As far as I understand, these are not DNS queries since they
>  > > are UDP.
>  > 
>  > DNS queries usually are UDP actually.
> 
> Well, this is my point. DNS queries are UDP and are not logged
> by ippl. But I get TCP queries to port 53. What are they ??

Sorry, I missed your point. AFAIK clients may open a TCP connection to 
a nameserver under some circumstances. IIRC exim does this for example 
when querying the MX record for a domain. I might be wrong though.

yours,
peter
-- 
http://www.cosy.sbg.ac.at/~ppalfrad



Re: TCP domain connection

2000-06-03 Thread Peter Palfrader
Hi Igor!

On Sat, 03 Jun 2000, Igor Mozetic wrote:

> As far as I understand, these are not DNS queries since they
> are UDP.

DNS queries usually are UDP actually.

yours,
peter
-- 
http://www.cosy.sbg.ac.at/~ppalfrad



Re: compile error

2000-06-02 Thread Peter Palfrader
Hi Jay!

On Fri, 02 Jun 2000, Jay Kelly wrote:

> Hello All,
> Quick question. When I compile my kernel 2.2.12 I use "make dep" the "make
> clean" then "make bzimage or make bzdisk" and I receive an errror at the end
> of the compile:
> 
> make[1]: Entering directory '/usr/src/linux/arch/i386/boot'
> as86 -0 -a -o bbootsect.o bbootsect.s
> make[1]: as86: Command not found

Install the bin86 package. It provides as86

[EMAIL PROTECTED]:~$ dpkg -S `which as86`
bin86: /usr/bin/as86

HTH


yours,
peter
-- 
http://www.cosy.sbg.ac.at/~ppalfrad



Re: Telnet security

2000-05-20 Thread Peter Palfrader
Hi Miguel!

On Sat, 20 May 2000, Miguel Wooding SF Ten.Union wrote:

> When I run apt-get install ssh (after first having run apt-get install 
> update), I get an error message saying that there is no available
> version, but the package exists in the database.  What's up with that?

> my /etc/sources.list refers to:
> deb http://http.us.debian.org/debian frozen main contrib 
> deb http://http.us.debian.org/debian frozen  non-free

You want a non-US line like 

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

in you sources.list too.

yours,
peter
--
http://www.cosy.sbg.ac.at/~ppalfrad



Re: su

2000-05-07 Thread Peter Palfrader
Hi Daniel!

On Sun, 07 May 2000, Daniel Burrows wrote:

> 
> Does the 'su' command expire after a certain time? If it doesn't how do
> you 'go-back' to a normal user?

others have already pointed out how to `exit' su :)

However I'ld like to tell you why you need to exit or logout. su does
not give root (or whatever) priviliges to the shell you type run it
but instead starts a _new_ shell process with the wanted
rights. Therefore you have to logout from this shell or kill it to
`go-bak' to the normal user.

HTH

yours,
peter
--
http://www.cosy.sbg.ac.at/~ppalfrad


Re: menus question

2000-04-29 Thread Peter Palfrader
Hi Maury!

On Sat, 29 Apr 2000, Maury R. Merkin wrote:

> I finally (okay I'm slow but ...) figured out that the only apps which
> update-menus will find are those which have been installed using *.deb
> packages system.  ('apt-get install' or 'dpkg -i' or however.)
> 
> But I have several important (to me) apps which I've accumulated over
> time in /usr/local/bin or /opt/bin or wherever.  Is there any way to get
> them on my menus?

Yes!

Read the doc in /usr/share/menu


In short:

o create a ~/.menu directory
o put your menu files there:
  e.g:
  [EMAIL PROTECTED]:~/.menu$ cat local.netscape 
  # menu for netscape.
  # taken from:
  #   menu for xmms, localy installed.
  #   this file derived from debians
  #   made by PP on Wed Feb  9 22:05:21 CET 2000

  ?package(local.netscape):\
needs=X11\
section=Apps/Net\
title="Netscape"\
longtitle="Netscape Navigator"\
command="/usr/local/bin/netscape"\
shortcut="Control+Mod1+c"

important: packagename, the part in parenthensis, has to start with
"local.", otherwise menu will take this as an packagename and only use
the menu entry if the package is installed.

I for example override xterm:
  [EMAIL PROTECTED]:~/.menu$ cat xterm 
  # modified PP on ?
  # o added shortcut for XTerm
  # o changed xterm command to have color

  ?package(xterm):\
   needs=x11\
   section=XShells\
   longtitle="Xterm: terminal emulator for X"\
   title=Xterm\
   command="xterm -bg black -fg lightblue3 +bdc +ulc"\
   shortcut="Control+Mod1+x"

o run update-menus.
  Since you now have your own menus db, you must run it as your user
  everytime you want it updated (afaik).


the system menu files are in /usr/lib/menu. But don't touch them.
If you want to change menus systemwide, your place is /etc/menu/


HTH

yours,
peter

-- 
PGP encrypted messages prefered.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgpqP0v8k4voC.pgp
Description: PGP signature


Re: Shell connections refused SOLVED

2000-04-27 Thread Peter Palfrader
Hi Aaron!

On Thu, 27 Apr 2000, Aaron Brashears wrote:

> Thanks to a wonderful source of help (I deleted the email, and the poster
> didn't cc debian-users), this problem has been solved. The 10.20.0.2 machine
> had a line in /etc/hosts.deny which looke like:
> 
> ALL: PARANOID
> 
> which would prevent me from logging in from my Debian box. However, both Red
> Hat and Windows implementations of telnet, and a Windows secure shell client
> (securecrt) could log onto the box denying me access. After commenting out
> the paranoid line (which is documented as preventing all connections) I
> could connect without problems from any machine.

You are wrong about the PARANOID line. It does not prevent all
connections. It prevents connections from hosts it cannot reverse
resolve (and this is a good thing).

The better solution would be to make a DNS (with reverse dns for 10/8)
or add the hosts into each computer's /etc/hosts file.

> Is this a bug with inetd or portmap?
This is not a bug.
yours,
peter

-- 
PGP encrypted messages prefered.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgpFfxtSvoBfn.pgp
Description: PGP signature


Re: Kernel panic

2000-04-27 Thread Peter Palfrader
Hi Antonio!

On Wed, 26 Apr 2000, Antonio Rodriguez wrote:

> Kernel Panic: VFS: Unable to mount root fs on 03:42.
> This is happenning after compiling a new kernel. I can still access the
> system through an old kernel.
> Any ideas to solve it?
> Thanx

Did you compile ext2 (or whatever your root filesystem is) into the
kernel (!not as a module!)?


yours,
peter

-- 
PGP encrypted messages prefered.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgpJTj0fcBIR7.pgp
Description: PGP signature


Re: Shell connections refused

2000-04-27 Thread Peter Palfrader
Hi Aaron!

On Wed, 26 Apr 2000, Aaron Brashears wrote:

> $ ssh 170.1.36.137
> Connection closed by foreign host.

My wildest guess is that the box the sshd runs on cannot reverse
resolve the machine the client runs on.

yours,
peter

-- 
PGP encrypted messages prefered.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgp2YYPUMHDMD.pgp
Description: PGP signature


Re: New (to Debian) user with some (what else?) questions

2000-04-20 Thread Peter Palfrader
Hi Marshal!

On Thu, 20 Apr 2000, Marshal Kar-Cheung Wong wrote:

> > "Maury" == Maury Merkin <[EMAIL PROTECTED]> writes:
> 
> > [1] My user (i.e. not "root") does not have permission to start
> > X.  I have no idea which file(s) is/are actually forbidden to me
> > and, before I start groping around and resetting permissions
> > helter skelter, I was wondering if anyone here might tell me the
> > canonical way to do this under Debian.
> 
> This is a problem that seems to pop up randomly on various systems and
> I've never been able to figure it out except by reinstalling X.  It's
> kinda odd...

hmm. Check your /etc/X11/Xserver file. It should look like this:

>>>
/usr/bin/X11/XF86_SVGA
Console

The first line in this file is the full pathname of the default X server.
The second line shows who is allowed to run the X server:
RootOnly
Console  (anyone whose controlling tty is on the console)
Anybody


Note that line numbers 1 and 2 are hardcoded.

yours,
peter

-- 
PGP encrypted messages prefered.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgpWE2sjemWXn.pgp
Description: PGP signature


Re: New (to Debian) user with some (what else?) questions

2000-04-20 Thread Peter Palfrader
Hi Maury!

On Thu, 20 Apr 2000, Maury Merkin wrote:

> Hi,
> 
> [1]  My user (i.e. not "root") does not have permission to start X.

Is X already running, i.e. the xdm on VC 7?


> [3]  What command will I use to dial-in to my ISP?  Ditto for hang up?
> How do I set it up so that my user (again, not "root") can dial and
> disconnect?

In order:
pon [providername]
poff [providername]
adduser maury dip

To configure things use pppconf or pppconfig, I don't remember :)

HTH

yours,
peter

-- 
PGP encrypted messages prefered.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgp05zOvtZIUW.pgp
Description: PGP signature


Re: Mutt questions (Was: Looking for a good mail program)

2000-04-07 Thread Peter Palfrader
Hallo Viktor!

Viktor Rosenfeld schrieb am Samstag, dem 08. April 2000:

> Brendan Cully wrote:
> > > - Can Mutt automatically move incoming mail into different folders?
> > 
> > sort of. usually that's done with procmail. but you could probably use
> > the "push" command and folder hooks to move things when you open your
> > spool. I personally use procmail on my IMAP server.
> 
> Ahh, this I don't quite understand.  I always donwloaded my mail from a
> POP3 server, and then had Netscape sort it into various inboxes.
> 
> I thought, that I would now use fetchmail to get my mail from the POP3
> server (actually from more than one) and have it all appended to my
> mailbox in /var/spool/mail and the MUA would then process it
> appropriatly.  So where does procmail come into the game?

Fetchmail fetches the mails from the imap|pop3 server and hands it on
to your MTA (exim or sendmail or such). 

Your MTA will put the mail into your mailbox or, if configured right
hand each mail over to procmail which will sort the mails into one or
more folders (or do other interesting stuff with them).

Your MUA will just read the mails (and then move them around again if
you want :)

yours,
peter
--
http://www.cosy.sbg.ac.at/~ppalfrad


Re: Looking for a good mail program

2000-04-05 Thread Peter Palfrader
Hi Hilary!

On Wed, 05 Apr 2000, Hilary Hertzoff wrote:

> As a rule I'm very happy reading my mail in Pine through a shell
> account.  However occasionally I receive an attachment that I need to use
> another program to view.  Can somebody recommend a good mail program
> similar to pine that can handle attachments?  I don't want anything too
> fancy.

mutt is a very good MUA.

> Also do I need a separate program to fetch my mail off the server and if
> so which do you recommend?  

fetchmail is the tool of choice here.

HTH

yours,
peter

-- 
PGP encrypted messages prefered.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgpmbN4ECky8c.pgp
Description: PGP signature


Re: apt-get

2000-03-31 Thread Peter Palfrader
Hi Oki!

On Fri, 31 Mar 2000, Oki DZ wrote:

> Hi,
> 
> I'm wondering whether it'd be useful to keep track of Debian users who
> download the packages via apt-get (from the main site)? I think it would; 

> The purpose is, well, nothing but statistics. (Hey, some people like
> seeing statistics, you know.)

Look into the popularity-contest package, it already collects some of that info.

yours,
peter
--
http://www.cosy.sbg.ac.at/~ppalfrad


Re: Cron help?!?

2000-03-23 Thread Peter Palfrader
Hi Percival!

On Thu, 23 Mar 2000, Percival wrote:

> I am looking for some help with cron.  I have read the man pages, but I still 
> cannot figure out how to schedule a job and NOT have the stdout emailed to me.

Quoting from the crontab(5) manpage:

   If MAILTO is defined (and non-empty), mail is sent to the user
   so named. If MAILTO is defined but empty (MAILTO=""), no mail
   will be sent.

> I am trying to run fetchmail to check some remote e-mail boxes
> several times an hour, and it works very well, but I end up with TOO
> many e-mails from cron.  I tried to redirect, but I think that
> fetchmail doesn't work like that.

Maybe fetchmail writes to stderr too. in this case you would have to
use > /dev/null 2>&1 to also redirect stderr.


In case of fetchamil is is probably better to log to syslog if you run 
it from cron though. (--syslog; keyword: set syslog)

You can also use fetchmails silent switch (--silent).

One question remains: Why do you run fetchmail from a cron-job. Maybe
you don't know of fetchmail's daemon capabilities (--daemon).

Anyway, check out the fetchmail(1) man-page.

> Is there a better way to do this?  Can exim do this for me?

This is not exim's job!


-- 
yours,
peter


Re: how do i remove a scsi device ?

2000-03-16 Thread Peter Palfrader
Dere Ramin!

Ramin Motakef schrieb am Donnerstag, den 16. März 2000:

> You have to tell wich device you want to remove, ie:
> 
>  echo "scsi remove-single-device 0 0 5 0" > /proc/scsi/scsi
> 
>[ Host Channel Id Lun ]
> 
> this is "documented" in /usr/src/linux/drivers/scsi/scsi.c :-)

and the scsi programming howto iirc

yours,
peter


listserver commands sent to lists (was: (none))

2000-02-28 Thread Peter Palfrader

On Tue, 29 Feb 2000, |{.f|. wrote:
> subscribe

Would it be possible to setup filters that intercept mails containing
a command like subscribe or unsubscribe in the first line of the body?

and something different: Is there a reason the default Reply-To
address is _not_ the list itself?

yours,
peter

-- 
PGP encrypted messages prefered.
http://www.cosy.sbg.ac.at/~ppalfrad/


pgpF3U6nGBH9w.pgp
Description: PGP signature


Re: apt and X window

2000-02-28 Thread Peter Palfrader
Hi ulla!

On Mon, 28 Feb 2000, [EMAIL PROTECTED] wrote:

> 
> 
> 
> I was wondering if anyone knows of a site to
> which I can point apt and download a newer 
> version of X. I presently have the servers 
> that ship with Debian 2.1 and they don't
> support my videocard.

Try http://www.debian.org/~vincent/dists/xfree-update/

deb http://www.debian.org/~vincent xfree-update main

HTH

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgp7imQHpzzqG.pgp
Description: PGP signature


Re: Reconfiguring dpkg's options

2000-02-26 Thread Peter Palfrader
Hi Christian!

On Sat, 26 Feb 2000, Christian Rishøj wrote:

> 
> Hi. When I installed Debian/Potato I was asked how critical configuration
> options had to be before thay were presented to me (low/medium/high). Now I
> would like to change my choice. How can I do this?
> 
> Also, how can I change the "look" of package configuration? I would like to
> use the menu interface enstead of the text interface.

try

dpkg-reconfigure debconf

it will ask you all the questions you want :)

HTH
Peter Palfrader

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgp78Vp1H48Pk.pgp
Description: PGP signature


Re: umask for root

2000-02-26 Thread Peter Palfrader
Hi Ethan!

On Sat, 26 Feb 2000, Ethan Benson wrote:

> > chmod -R go+r SOffice
> > find SOffice -perm -100 -exec chmod go+x {} \;
> 
> or you could use chmod -R go+rX SOffice and dispense with the annoying
> find command ;-)


And I was so proud of my find ;)
Tnx, I did not know this one.

Peter Palfrader
-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgpfHDDqbA9Sb.pgp
Description: PGP signature


Re: umask for root

2000-02-26 Thread Peter Palfrader
Hi Mark!

On Sat, 26 Feb 2000, Mark Wagnon wrote:

> Hi all,
> 
> I changed my umask for root to 077. I'm not certain if that was
> wise.
I can have advantages. If you know what you're doing I see no problem.

> I'm also not certain if it's the cause of my headache with my
> attempt to install StarOffice.
> 
> I do a net installation and am able to install as root, but I can't
> install as a normal user. It turns out that the permissions on the
> SO directories are whacked. I can't get into most of them as a
> normal user.


Perhaps you don't know about chmod. it allows you to change file
permissions. have a look at the manpage and/or the info pages.


You might want to try to fix the permissions of you SOffice install:

in /usr/local as root assuming the StarOffice net stuff is located there:

chmod -R go+r SOffice
find SOffice -perm -100 -exec chmod go+x {} \;


regards
Peter Palfrader

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgpJcnXEKTYbt.pgp
Description: PGP signature


mutt's index and From: =?iso-... headers (was: My Server Time gains too fast.)

2000-02-26 Thread Peter Palfrader

On Sat, 26 Feb 2000, ^°"cZ"ü wrote:
<..>
hehe ^^^


mutt's index gets totally screwed up when scrolling over this message
with a From: like this:

From: =?iso-8859-1?B?XrAiY41aIvw=?= <[EMAIL PROTECTED]>


Did this happen to others too or did I screw up while configuring mutt?

TIA
Peter Palfrader

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgplgKWZinOh0.pgp
Description: PGP signature


Re: sudo

2000-02-23 Thread Peter Palfrader aka Weasel
Hi Eric!

On Wed, 23 Feb 2000, Eric Hagglund wrote:

> Can someone please advise the correct format for
> entries in the sudoers file? I'm trying to set my
> account up and find that the man page is not very
> specific on how this is done.

Yepp you're right. I have problems too reading the manpage since it
does not give basic examples.

perhaps you can use this one:

# User privilege specification
rootALL=(ALL) ALL
weasel  ALL=(ALL) NOPASSWD: /sbin/ipchains


-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgpO3RItFEC1E.pgp
Description: PGP signature


Re: kill script

2000-02-23 Thread Peter Palfrader aka Weasel
Hi David!

On Wed, 23 Feb 2000, David Wiard wrote:

> how about a csh/ksh version?  this is for work on HPUX, but we
> don't have bash.

Sorry, I don't know those shells but if they don't have functions, you
can still make a script like this one:

#!/bin/tcsh

kill -9 `ps -e | grep $1 | grep -v grep | awk ' { print $1 } ' `


This one's tested (as the hash-bang shows :) with tcsh. It should work
with csh too I assume.

It might be a good idea to put a little syntax check into it:


#!/bin/tcsh

if ( "$1" != "" )  then
  kill -9 `ps -e | grep $1 | grep -v grep | awk ' { print $1 } ' `
else
  echo "Syntax: $0 name"
endif

Hope that helps.



-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgpl8Wq732NFE.pgp
Description: PGP signature


Re: kill script

2000-02-23 Thread Peter Palfrader aka Weasel
Hi David!
> function mykillall { 
>   kill -9 `ps -e | 
> grep bash |
> grep -v grep |
> awk ' { print $1 } '`
> }

replace bash with $1 :)  and then put this into your .bash{rc,_profile}


-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgpEcrmUiqEVJ.pgp
Description: PGP signature


Re: kill script

2000-02-23 Thread Peter Palfrader aka Weasel
Hi David!

On Wed, 23 Feb 2000, David Wiard wrote:

> i'm looking for a script/command that will do something equivalent to:
> 
>   ps -e | grep 
>   kill -9 
> 
> does anybody have something that will do this?  i don't know how to
> script well enough to do a script like this myself, yet.

You don't need a script for this one :)

try the following:

function mykillall { 
  kill -9 `ps -e | 
grep bash |
grep -v grep |
awk ' { print $1 } '`
}

as an alternative you can use the real killall :)

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgpWiOzAnzIFA.pgp
Description: PGP signature


Re: Linux and PS/2

2000-02-22 Thread Peter Palfrader aka Weasel
Hi Kent!

> <..> Debian 2.0 was based on the Linux kernel 2.0.36, and I believe 
> Debian 2.1 is
> likely to be based on the Linux kernel 2.4, but I don't keep up with that so 
> I'm not
> for sure.

Now I'ld really like potato comming with kernel 2.4 but I doubt that
they change such a critical component in the last weeks of the freeze.
Besides that it would break some other packages ... :(

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgpP0QJOgd8i6.pgp
Description: PGP signature


Re: using power save and power down features

2000-02-19 Thread Peter Palfrader aka Weasel
On Fri, Feb 18, 2000 at 03:23:56PM +0100, Horacio MG wrote:

> As I use xdm, I suppose I would have to reboot before the changes
> have effect?

This is not the other OS you must know, there's a method which IMHO is
a little bit smarter :)

try running

/etc/init.d/xdm restart

as root. 

not from within X might be an idea :)
you can switch to your virtual consoles with Ctrl+Alt+F1 trough
F6. Back again with Alt+F7.



the 
/etc/init.d/ start|stop|reload|restart.
method works for many other things too, like the inetd, the lpd, et
alii. 

FYI
Peter Palfrader

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgpR6ijMnyo7O.pgp
Description: PGP signature


Re: which 2.2 kernel?

2000-02-17 Thread Peter Palfrader aka Weasel
On Thu, Feb 17, 2000 at 12:25:42AM +0200, Micha Feigin wrote:
> I was wondering which is the stablest 2.2 kernel curently
> I am never shure if it is the even or uneven numbers ( is it 2.2.13 or
> 2.2.14 ?)
> I am using kernel 2.2.9 , is it worth the update?

2.2.x
  \-- 2 is even -> stable

2.3.x
  \-- 3 is odd -> unstable

so 2.2.13 and 2.2.14 are both stable since the second digit is the
important one.


> also, by what name does the 2.3 kernels go? are they available under
> debian, and is it a new version after potato ( I am a bit out of
> date ).

Also note that above kernel versions have _nothing_ to do with the
debian versions.

Debian 2.1, codename slink, used kernel 2.0.36 IIRC
Debian 2.2, codename potato, uses a kernel of the 2.2.x series
Debian ???, codename woody, currently also has a 2.2.x kernel
   (I might be wrong on this)

slink is currently considered outdate^H^H^H^H^H^H^Hstable,
potato is frozen and will become stable in a few weeks,
woody is unstable

HTH

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?


Re: Emptying files

2000-02-16 Thread Peter Palfrader aka Weasel
On Wed, Feb 16, 2000 at 02:44:11PM -0500, [EMAIL PROTECTED] wrote:
> I need a utility that will take a list of files using standard wildcards
> and empty their contents, but not deleting them. Has anyone stumbled on
> something like this? Thanks a bunch.

how about

for i in 
do
cat /dev/null > $i
done

HTH

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?


Re: RAID mounting at bootup

2000-02-13 Thread Peter Palfrader aka Weasel
On Sun, Feb 13, 2000 at 01:59:23AM +0100, [EMAIL PROTECTED] wrote:
> Hi there,
> 
> again a question form someone how has changed from SuSE to Debian:
> 
> - after building my RAID-Array I need to know how to mount it
> automatically at bootup? In SuSE there is a file in
> "/sbin/init.d/boot.local" where I can place my own commands which are
> run at bootup time. The path might be similiar to "/etc/init.d" but I
> can't find any script which compares with this named above.

This depents.

On my old slink system using mdutils, md devices got started
automatically by
/etc/rcS.d/S25mdutils

Now on my potato system I'm using the new raidtools 0.90 wich need a
kernel patch. With them the kernel autodetects the md devices if the
partitions have type 0xfd.

I don't know about the old raidtools.

HTH


-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgpjFY899g0yo.pgp
Description: PGP signature


Re: Can't get scripts to work

2000-01-06 Thread Peter Palfrader aka Weasel
On Wed, Jan 05, 2000 at 05:15:48PM -0600, Dave Sherohman wrote:

> By default, the current directory (.) is not on your path.  You can add it,
> but it opens up some security holes.  (I can put a program named "cd" in a
> random directory and the next time you go there, it gets executed when you
> try to leave the directory...)

Well, it won't work with cd since it is a shell built but it would
work with ls and many other commands.

regards
Peter Palfrader

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgprE76tKGonA.pgp
Description: PGP signature


Re: /sbin and /usr/sbin be in a normal user's path ?! What about Sudo ?

1999-12-29 Thread Peter Palfrader aka Weasel
On Wed, Dec 29, 1999 at 09:58:29AM +0800, Olivier Lemaire wrote:
> Greetings :)
Hi

> I saw in the DWN :
> "Should /sbin and /usr/sbin be in a normal user's path so they can
> easily run traceroute [...]
>
> [..] Why don't we make a
> sudo package included in the base install ?

It may be my fault but I don't see what sudo has to do with this
issue. Could you please explain?

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgpDsmfN9HDoz.pgp
Description: PGP signature


Re: GnuPG stands for ...?

1999-12-25 Thread Peter Palfrader aka Weasel
On Sat, Dec 25, 1999 at 09:23:20AM -0800, Fish Smith wrote:
> Okay, if PGP stands for Pretty Good Privacy, does that
> mean GnuPG stands for GNU Pretty Good?  I don't know
> how this title conveys encryption...

Gnu Privacy Guard.

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgpLIPoxCmfoW.pgp
Description: PGP signature


killing a process

1999-11-25 Thread Peter Palfrader aka Weasel
Hi there!

I've a little problem: a process (some diff) that just won't die.

I've tried 
kill -s SIG 
with SIG = 2,3,6,9,14 and 15 but it is still there.

This process accesses /mnt/md5/ and I cannot remount it ro. (I thought
I should always be allowed to rmount,ro something??)


Any ideas how I can get rid of this process?

Thanks In Advance.


PS: Yes, I could reboot the box but I don't want to.

Peter Palfrader

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
--
  Yes means No and No means Yes. Delete all files [Y]?



pgps7ndPyPzRe.pgp
Description: PGP signature


Re: deleting files

1999-11-23 Thread Peter Palfrader
On Tue, Nov 23, 1999 at 10:36:55AM +, Martyn Pearce wrote:
> 
> Lindsay Allen writes:
> | > rm -rf *
> | 
> | That's something I *never* do.  Why?  Because it puts "rm -rf *" in my
> | history buffer which means that one slip can lead to disaster.  So I
> | use rm -rf /here/there/some/place/* which at least means I cannot blow
> | away my whole file system if I make an error.
> 
> If that's a big concern for you, under bash, you could precede the
> command with a space, which prevents history insertion.

Note that for this to work you have to

typeset HISTCONTROL=(ignorespace|ignoreboth)

see also bash(1)

Peter Palfrader
-- 
Yes means No and No means Yes. Delete all files [Y]?


Re: Network sniffer

1999-11-15 Thread Peter Palfrader aka Weasel
On Sun, Nov 14, 1999 at 10:43:46PM -0700, AzCaPpY wrote:
> try Sniffit. I don't know if there is a Debian package for it but the
> standard .tar.gz works great with Debian.

there is:
debian/dists/slink/non-free/binary-i386/admin/sniffit_0.3.5-3.deb
for i386s.



-- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
---
Yes means No and No means Yes. Delete all files [Y]?



pgpeSwgKlFuDO.pgp
Description: PGP signature


cannot open tty:

1999-11-03 Thread Peter Palfrader aka Weasel
Hi gurus -

For a few days now I get some error message when using pgp. (but I
doubt it's pgp's fault)

[...]
Enter pass phrase: cannot open tty, using stdin
[...]  


this happens at the (virtual) console as well as in xterms. The
permissions for /dev/ttyp1 (which I ran the above command at)  are:

crw--w   1 weasel   tty3,   1 Nov  3 01:56 ttyp1


What could be wrong?

TIA

-- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
---
 A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.


pgpTt4JlPiIM6.pgp
Description: PGP signature


Re: download HTML Installation manual

1999-10-07 Thread Peter Palfrader aka Weasel
On Thu, Oct 07, 1999 at 08:19:36PM +0200, Colin Marquardt wrote:
> Easier even:
>   wget -r http://www.debian.org/releases/2.1/i386/install/

Actually, I prefer
wget -r -l inf -np -k -t 0 
   retry if error
   ^^ convert absolute links to relative ones
   ^^^ do not recurse into parent directory
^^^ recurse deep infinite
 ^^ recurse

-- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
---
 A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.


pgpPJ9aUWtwYD.pgp
Description: PGP signature


Re: Mount as many partitions as possible read only (what do I do with /etc?)

1999-10-06 Thread Peter Palfrader
On Wed, Oct 06, 1999 at 09:51:56AM +0200, Enrico Zini wrote:
> Hello!
> 
> In order to improve reliability, reduce fsck times, increase foolproofness,
> preserve the wildlife and so on (on a Debian Slink server with a
> Very Interruptible Power Supply (tm)), I wish to mount read only as many
> partitions as I can.
> 
> What's The Right Way (tm) to have / mounted read-only?

I did mount / with the sync option on a server of mine. So the danger
of data loss is reduced a bit. Since / is not that big a fsck is quite
fast.

Peter Palfrader
--
main(i){putchar(354603184>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);} 
--
It's a simple task to make things complex -
  but a complex task to make them simple.


Re: on selective multi file delete

1999-10-03 Thread Peter Palfrader aka Weasel
On Sun, Oct 03, 1999 at 04:46:04PM +0800, Chadi wrote:
> hello everyone ...
> 
>i just finished downloading 2500++ files spread across lots of 
> subdirectories using wget ...
>is there i can SAFELY delete all the .listing files created by wget 
> scatered all throughout ???

I'm not sure but would 

find  -name .listing -exec rm {} \;

work? 

 should be the base dir of the downloaded directory structure.




-- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
---
 A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.


pgp4zpoNK0ALd.pgp
Description: PGP signature


Re: imap

1999-09-29 Thread Peter Palfrader aka Weasel
On Tue, Sep 28, 1999 at 10:46:11PM -0400, Sergey V Kovalyov wrote:
> By the way, if you are using exim, then it supports Maildir directly, no
> need to use procmail for this.

TNX for the hint, I did not know this. But I need procmails mail
processing cpabilities anyway :)

-- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
---
 A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.


pgpU8nfQ7O7fT.pgp
Description: PGP signature


Re: imap

1999-09-28 Thread Peter Palfrader aka Weasel
BAK again, after the weekend :)

Today I had some time to try further things and I succeded.

I'm using the imapd that comes with slink (imap_4.5-0slink3.deb).


procmail, which I use to deliver messages to different folders can
write to directory folders. There are (at least) three different
directory folder layouts that procmail does support.

One format (I don't know their names) is where the directory has three 
subdirectories named new, tmp and ?; forgot the third. The mails are
stored in single files within those three directories.

A second one is where all mails are in the one directory and have some
alpha-numerical name. (I don't know wheter it's the msg id).

The third one, the mx format,  stores all messages in the subdirectory
and names them 1, 2, 3, etc. 


procmail decides which one to use on several conditions. One of those
is that the target mailbox in case of the mx format is specified with
a trailing /. (slash-dot :)



With any of those three formats imapd either told me that the folder
was not accesable (sp?) or it just showed me an empty folder.


After a bit reading I found out that there should be a file named
.mxindex in the mx-directory. procmail unfortunatly does not create
it.

Anyway, after touching .mxindex, everything works just fine. the main
inbox is now in ~/mail/INBOX/. and the other folders are in
~/mail//.

I could not convince imapd to create new folders in this format but
this is not very important to me anyway.



PS: I'ld leave the mail folders in ~/mail/. It's a lot nicer IMVHO.

-- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
---
 A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.


pgprGNqGO84Jx.pgp
Description: PGP signature


Re: awk or sed?

1999-09-25 Thread Peter Palfrader aka Weasel
On Thu, Sep 23, 1999 at 12:12:57PM +1200, Tim Thomson wrote:
> Hi,
> 
> I want to write a script, that gets the local ip address, and does a
> reverse ns lookup, then sets the hostname to the dns response.

The Trinity OS uses these lines to get the IP and the Point-to-Point peer (if 
any)

where EXTIF is the interface

EXTIP=`/sbin/ifconfig | grep -A 4 $EXTIF | awk '/inet/ { print $2 } ' | sed -e 
s/addr://`
PTPPP=`/sbin/ifconfig | grep -A 4 $EXTIF | awk '/P-t-P/ { print $3 } ' | sed -e 
s/P-t-P://`


HTH

-- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
---
 A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.


pgpgOSOir6akd.pgp
Description: PGP signature


imap

1999-09-24 Thread Peter Palfrader aka Weasel
Hello out there!

I recently set up a mail server in the office running slink. 

The mail is fetched from one pop address using fetchmail. I then use
exim & procmail to delicer the mails to several mail folders.

Mail is read using imap. (I installed the imap package from
main/mail). The clients are Outlook Express 5 on Win 9x.


The problem I have is performance. Sine we get not many but large
mails (around 3 megabyte each), a single file mailbox seems not to be
a good idea.

I managed to setup procmail to deliver to mail directories (the ones
with cur/ new/ and tmp/) but the imapd does not support this mailbox
format.

Is there a way to configure imapd so that it does support this format
or can anyone name me an alternate imapd?

TIA

-- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
---
 A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.


pgp3EPR1MTXAu.pgp
Description: PGP signature


Re: killing dormant/dead processes

1999-09-24 Thread Peter Palfrader aka Weasel
On Thu, Sep 23, 1999 at 06:55:09PM -0700, Seth R Arnold wrote:
> :) But, does anyone know a way to umount / and so forth before powering off?

I would assume this is not pssible since at least one process always
uses / or a directory below.


If you look at your /etc/init.d/umountfs script, you can see that / is
_not_ unmounted, but mounted readonly.

here's a part of script from my slink system:


<...>
# Write a reboot record to /var/log/wtmp before unmounting
halt -w

echo -n "Deactivating swap... "
swapoff -a
echo "done."

echo -n "Unmounting file systems... "
umount -a -r
echo "done."

mount -n -o remount,ro /

-eof-



After unmounting/mounting ro, the raid devices are shut down and then
either "halt -d -f -i -p" or "reboot -d -f -i" is executed.

man halt/reboot/poweroff:
<...>
   -d Don't  write  the  wtmp record. The -n flag implies
  -d.

   -f Force halt or reboot, don't call shutdown(8).

   -i Shut down all network interfaces just  before  halt
  or reboot.

   -p When halting the system, do a poweroff. This is the
  default when halt is called as poweroff.
<...>



HTH
-- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
---
 A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.


pgpJHdHphGbkH.pgp
Description: PGP signature


Re: killing dormant/dead processes

1999-09-23 Thread Peter Palfrader aka Weasel
On Fri, Sep 24, 1999 at 08:27:57AM +1300, [EMAIL PROTECTED] wrote:
> I used the power off switch...
> risky, but it worked.

Compile 'Kernel Hacking' into your kernel.

Now you can use Alt-SysRQ-S to sync your disk and  Alt-SysRQ-U to
mount everything read only.

This way it's more likely to avoid data losses and far more important
there's no fschk at boot time that lasts for forever :) 

Check out /usr/src/linux/Documentation/sysrq.txt for more maqic
requests.


-- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
---
 A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.


pgp21I4fWpjvn.pgp
Description: PGP signature


Re: checking integers in scripts?

1999-09-19 Thread Peter Palfrader aka Weasel
-BEGIN PGP SIGNED MESSAGE-

On Sun, Sep 19, 1999 at 10:24:17PM +0100, Steve George wrote:
> Hi,
> 
> I am trying to write a script to check if ipforwarding is running on my 
> access box but I can't work out how to check for an integer in a script.  It 
> may be clearer what I am trying to do for the bit of the script:
> 
> #Check if ipfwadm is on
> IPFORW = `cat /proc/sys/net/ipv4/ip_forward`
> if [ IPFORW == 0 ]; then
>   echo "ipforwarding is OFF"
>   exit 0
> fi



a few approaches:



IPFORW=`cat /proc/sys/net/ipv4/ip_forward`
#^^^ no spaces I assume



* if [ $IPFORW == 0 ] ; then echo "off"; fi
  #   ^^^ the $ sign

* if (test $IPFORW = 0); then echo "off"; fi


  # You might also come along without a variable:
* if [ `cat /proc/sys/net/ipv4/ip_forward` == 0 ] ; then echo "off"; fi



or totally different:

* if (/bin/grep 0 /proc/sys/net/ipv4/ip_forward -q) ; then echo "off"; fi


- -- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
- ---
 A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN+Va57/AUNfRo6MpAQGvuwP9EL6rArYwiznOQryhEZj2agERiQ7kSXfo
876pmRd6HqoSjZxqdJ3SChgjSc04V13PKByMyuQewWjd86ns/efSnmJQKb1Uob0H
GUDw8VrDTlFmXHrg54FVr6dJ7MzqppX4x9YkKQEHpDFOBXiBCWhUenXGGEJQlfmR
oW9RMi9NYLk=
=ClRm
-END PGP SIGNATURE-


Re: pgp question

1999-09-11 Thread Peter Palfrader aka Weasel
On Sat, Sep 11, 1999 at 10:08:09PM -, Pollywog wrote:
> You exchanged passphrases??  I don't think you should do that.
> Your passphrase is for your own use when you encrypt or sign something.

oops, fingerprints  :)

-- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
---
 A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.


pgp2rB2mu7iLT.pgp
Description: PGP signature


pgp question

1999-09-11 Thread Peter Palfrader aka Weasel
I'm a fairly new pgp user and hope that the gurus here can bring some
light into my dark.

I'm a bit puzzled about the validy of keys that pgp (6.5.1) tells me.

Here's what I have:
  KeyID  Trust Validity  User ID
  0x...  marginal  complete  Dillo <[EMAIL PROTECTED]>
cultimate     Peter Palfrader <[EMAIL PROTECTED]>

I signed Dillo's key after we'd exchanged passphrases and since I
trust my own signature ultimately Dillo's key is completely
valid. I usually trust dillo to do a good job when certifying
signatures.

Now there's a third user name Konrad which I've never met in person
but Dillo knows him.

  KeyID Trust Validity  User ID
  0x... untrusted marginal  Konrad <[EMAIL PROTECTED]>
c   marginal Dillo <[EMAIL PROTECTED]>
  complete  Konrad <[EMAIL PROTECTED]>
c   marginal Dillo <[EMAIL PROTECTED]>
  complete  Konrad <[EMAIL PROTECTED]>
c   marginal Dillo <[EMAIL PROTECTED]>

Now the first two lines look quite good. I marginally trust Dillo who
signed Konrad's key so Konrad's key is marginally valid.

However what puzzles me is why on earch are the two other user id's on
Konrad's key completely valid.

Perhaps you can help me?


-- 
Weasel http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.  See my site or finger -l ppalfrad
---
 A friend is someone who knows the song in your heart and
can sing it back to you when you have forgotten the words.


pgpv4P1rVHbZg.pgp
Description: PGP signature


3 things: exim, isdn, login.defs

1999-09-06 Thread Peter Palfrader aka Weasel
Hello everybody.

I set up a mail server last week in our office and stumbled accross a
few items wher eyou can perhaps help me.

1) exim
---
I check every 5 minutes wheter there is something in exim's queue ( if 
(exim -bp | grep -q '.*'; ); then...) and if this is the case I go
online and force a queue run. Afterwards I go offline.

The problem I encountered is that exim does it queue run in the
backgroud which in generel might be a good idea but it is not in my
case since I have to do a while loop after initiating the queue run
until there is nothing more in the queue. This might raise problems if 
my smarthost is down due to some reason and I never can flush the
mails.

So I'ld like to know wheter there is a way to tell exim to do it's
queue run in the foreground and exit when everything is done.


2) isdn
---
I use isdn to connect to the isp. to go online I issue a 'isdnctrl
dial ippp0'.

I'ld like to know if there's an easy way to find out wheter I'm
currently connected or not.

With standard ppp this is quite simply since a '/sbin/ifconfig | grep
ppp0' would solve all my problems but with isdn the ippp0 device
always shows up in ifconfig and there's no way to tell it from
ifconfig alone.

So I did a 
'route | grep ippp0 | grep default | grep -q  UG' which works most of
the time but fails sometimes. I don't know why.

Any ideas?


3) login.defs
-

I set SU_WHEEL_ONLY to yes in login.defs but somehow I can still su to
root as a normal user. Is there something I missed?



PS: I use slink with 2.2.12, isdn2linux that came with slink and
that's it.


TIA


-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.   See my site for my PGP key.
--
   A friend is someone who knows the song in your heart and
  can sing it back to you when you have forgotten the words. 


pgpMfod6E9D6y.pgp
Description: PGP signature


Re: Forgotten root password HELP

1999-09-01 Thread Peter Palfrader aka Weasel
On Tue, Aug 31, 1999 at 09:31:07PM +0100, Patrick Kirk wrote:
> - at LILO prompt I typed linux init=/bin/bash.  This failed because the /
> partition mounted read-only

just a thought:

mount -o remount,rw /

or did I miss something?


-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.   See my site for my PGP key.
--
   A friend is someone who knows the song in your heart and
  can sing it back to you when you have forgotten the words. 


pgpIKs7qUy1Bv.pgp
Description: PGP signature


How to kill a process (if kill -9 does not work)?

1999-08-29 Thread Peter Palfrader aka Weasel
Hi there!

I ran into a problem today where xcdroast crashed several times when
reading a cd image off a cd and I wanted to kill it. No big thing I
thought, send it a SIGTERM, if this does not work, use a SIGKILL.

Well, I did so but after I sent it a SIGTERM using 
kill -s 9 
`ps` still showed the process.

Then I killed the parent process of xcdroast (bash) in the hope this
would work. No luck, xcdroast was still there.

The next thing I tried was sending a SIGTERM and then a SIGKILL to all 
processes but init using SysRQ. After logging in again, xcdroast still 
was a process.

I tried to reboot my computer but `umount -a -r` claimed some
partition was still busy (the partition xcdroast wrote the image file
to. I tried with different partitions and it was always the one
xcdroast wrote the image file to).

SysRQ s && SysRQ u saved the day...


What I'ld like to know wheter there is a more elegant way to kill such 
a process without rebooting.

Thank you

-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.   See my site for my PGP key.
--
   A friend is someone who knows the song in your heart and
  can sing it back to you when you have forgotten the words. 


pgpvPtJHRSjaW.pgp
Description: PGP signature


Re: Adaptec AHA-2940

1999-08-25 Thread Peter Palfrader aka Weasel
On Wed, Aug 25, 1999 at 01:21:46PM +0100, Andrew Hodgson wrote:
> I have just tried to install Debian on a machine with an Adaptec AHA 2940 
> SCSI adapter. When I run install from DOS (or boot from the rescue floppy) 
> the machine hangs after detecting the SCSI adapter. The last message on the 
> screen is... Downloading sequencer instructions... 419 instructions 
> downloaded.
> 
> Anyone know if this SCSI adapter works with Debian?

This happened to me too with my 2940U or my 2940U2W (don't remember).

Check wheter you are correctly terminating everything (i.e. internal
and external bus) (even if it works in M$ Win) (or set auto
termination) (lots of parents..:). 

I solved it by enabling auto termination which I disabled cause I
thought I was smart. seemed as if I wasn't :/


-- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.   See my site for my PGP key.
--
   A friend is someone who knows the song in your heart and
  can sing it back to you when you have forgotten the words. 


pgp9ZGEtP8p8j.pgp
Description: PGP signature


Re: PPP over an Ethernet connection.

1999-08-24 Thread Peter Palfrader aka Weasel
-BEGIN PGP SIGNED MESSAGE-

On Tue, Aug 24, 1999 at 12:14:30PM -0500, Jens B. Jorgensen wrote:
> shaul wrote:
> > I want to set up a *dynamic* PPP connection over an Ethernet connection (at
> > least, that is what I think).
> > Can you tell me what are the available tools ?
> It might help if you could add more information about what it is exactly 
> you're trying
> to do. You can run PPP over the internet and I'd be happy to send you 
> pre-hack netcat
> which will help you do this. I'm not sure the tool I have built though 
> matches what
> you're trying to do. Tell me more.

Although I'm not the original poster I'ld like to know what you're/were working 
on since I'll perhaps need something like this in the near future too. 

I have not looked into the subject yet so I do not know excatly what I want but 
I think it's this: 

Status: beeing on a private lan with a private IP and having a box doing 
masquerading to the inet. 
I want: a 'real' IP i.e. so I can ssh, etc. into my box from everywhere (port 
forwarding is not an option since I have no control over the masq box)
I need (I think): A peer for my ppp connection which can serve me a dyn IP (no 
prob I hope). The ppp would go over IP through the masq box.

Is there something special about this setup that would need your pre-hack in 
any way or can this be done using standard tools (i.e. pppd alone or such).

Feel free to reply with RTFM since I haven't done so yet. Your mail was just a 
good oportunity to get into it.

TIA
- -- 
Weaselhttp://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.   See my site for my PGP key.
- --
   A friend is someone who knows the song in your heart and
  can sing it back to you when you have forgotten the words. 

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1
Comment: http://www.cosy.sbg.ac.at/~ppalfrad

iQCVAwUBN8LwAb/AUNfRo6MpAQFQ+QP9Gbg5/kzLKb10ZG7I097NaGjPN9iwhKck
CcFZ5hq+Lbb1KZw0Kcj/q2xseduv4ZL3LKr4JH4ry2Vq3CLG63mVlqB0j260u8rd
j4wiXWWOpA3vVHa/sH1HrDIhWAQm/RUTwwpt3dEn599MZNDnMYJ3IJTjcUExakX9
hxNS0Eky+RY=
=ANZf
-END PGP SIGNATURE-


  1   2   >