Re: My ThinkPad is dead after Woody upgrade

2002-05-15 Thread Pavel Epifanov
FYI: I was aware about lm-sensors and never installed then at all.

--- Adrian Bridgett [EMAIL PROTECTED] wrote:
 The only thing I'm aware of is a warning from the lm-sensors package which
 comes up if you try and install lm-sensors-source (not sure about other
 lm-sensors packages:


__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com


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



My ThinkPad is dead after Woody upgrade

2002-05-14 Thread Pavel Epifanov
Hi All,

I've had my IBM ThinkPad model 380Z dead (laptop not going thru POST, suspicion
is about flash BIOS was wiped out) after apt-get dist-upgrade and following
hibernation last Friday.

It could be due to this 3 y.o. laptop was broken itself or due to new thinkpad*
related packages installed (I remember tpctl for sure).

Does somebody else have the similar problem?
Could it be really caused by problems during new package installation?

I have a second new ThinkPad and I don't want to take any risk to damage it too
(the same packages are installed but not upgraded yet). 

There was up-to-date Woody installation on it with custom 2.4.16 kernel and old
thinkpad-source  pcmcia-cs modules compiled/installed.

Pavel.

PS: I know that my IBM TP BIOS had several mistakes in it (i.e switching
occasionally LCD display off when on AC power).


__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com


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



Is 2.4.17 stable?

2001-12-28 Thread Pavel Epifanov
Hi All!

Download and compiled pure kernel 2.4.17 on Woody.
After reboot had plenty of complains to default console from SMC NIC.
Does somebody has a _good_ experience with new kernel?

=
With best regards,
Pavel.
---
Sorry about an adv. below.

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



Kernel 2.4.0 + mount 2.10q

2001-01-06 Thread Pavel Epifanov Y2

Dear All,

If someone sometime got the problem with new 2.4 kernel?

If standard Potato NFS client has 2.4.0 kernel and updated
util-linux/mount 2.10q then it is not possible to mount NFS share from
Debian 2.2 with kernel 2.2.17. With old util-linux/mount 2.10f this works
just with warning about old version of mount.

The message on client side is:
 mount: RPC: timed out

Tcpdump shows new activity from client to NFS server (udp port 635).
There is no listener on this port indeed.

Is it also necesary to update NFS server to the new kernel or there is a 
special option in 2.4.0 kernel?

---
Regards,
Pavel Epifanov.

E-mails: [EMAIL PROTECTED]   [EMAIL PROTECTED]



Re: ip masq performance

2000-02-22 Thread Pavel Epifanov
On Tue, 22 Feb 2000, Stuart Ballard wrote:

=As a first pass at configuring this thing (I don't plan on leaving it
=like this, but I'm at the stage where I just want *something* that
=works) I set it up using:
=
=echo 1  /proc/sys/net/ipv4/ip_forward
=ipchains -P forward MASQ
=

Dear Stuart,

I have similar hardware configuration but first I was thinking about
security (this was only reason why I am with Linux - easy to configure
what you really want).

Please look on attached shell script I run on IP-UP event by PPPD.
It works not too bad for last couple of month (for me!).
If you will have a lot of messages in the logs than you need
to adjust some rules. I understand it is not perfect.

The idea is from one Web site (sorry I missed a name).

---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]

#!/bin/sh
#
# IPCHAINS-ALL
#
###
IPCHAINS=/sbin/ipchains
# Allow forwarding
echo 1  /proc/sys/net/ipv4/ip_forward

###
# Incoming packets from the outside network
$IPCHAINS -F input
# Outgoing packets from the internal network
$IPCHAINS -F output   
# Forwarding/masquerading
$IPCHAINS -F forward

###
# Allow MASQ connections 
$IPCHAINS -A forward -s 10.0.0.0/255.0.0.0 -j MASQ
#

###
# Disallow any UDP incomming connections
# SSH
$IPCHAINS -A input -p udp -s 0.0.0.0/0 53 -i ppp0 -j ACCEPT
# BBC real-audio
$IPCHAINS -A input -p udp -s 0.0.0.0/0 6970 -i ppp0 -j ACCEPT
# ??? WEB Browsing
$IPCHAINS -A input -p udp -s 0.0.0.0/0 2140 -i ppp0 -j ACCEPT
$IPCHAINS -A input -p udp -d 0.0.0.0/0 31789 -i ppp0 -j ACCEPT
#
# CIPE test
$IPCHAINS -A input -p udp -s 0.0.0.0/0 31121 -i ppp0 -j ACCEPT
$IPCHAINS -A input -p udp -s 0.0.0.0/0 31122 -i ppp0 -j ACCEPT
#
# default - REJECT
$IPCHAINS -A input -p udp -i ppp0 -l -j DENY
#

###
# Disallow any outside incomming connections
# RPC
$IPCHAINS -A input -p tcp -d 0.0.0.0/0  111 -i ppp0 -l -j DENY
# SMTP
$IPCHAINS -A input -p tcp -d 0.0.0.0/0   25 -i ppp0 -l -j DENY
# Printer
$IPCHAINS -A input -p tcp -d 0.0.0.0/0  515 -i ppp0 -l -j DENY
# ???
$IPCHAINS -A input -p tcp -d 0.0.0.0/0  840 -i ppp0 -l -j DENY
# DNS
$IPCHAINS -A input -p tcp -d 0.0.0.0/0   53 -i ppp0 -l -j DENY
# NFS
$IPCHAINS -A input -p tcp -d 0.0.0.0/0 2049 -i ppp0 -l -j DENY
# Concert?
$IPCHAINS -A input -p tcp -d 0.0.0.0/0  786 -i ppp0 -l -j DENY
# ???
#$IPCHAINS -A input -p tcp -d 0.0.0.0/0 1113 -i ppp0 -l -j DENY
#$IPCHAINS -A input -p tcp -d 0.0.0.0/0 1114 -i ppp0 -l -j DENY
#$IPCHAINS -A input -p tcp -d 0.0.0.0/0 1115 -i ppp0 -l -j DENY
#$IPCHAINS -A input -p tcp -d 0.0.0.0/0 1116 -i ppp0 -l -j DENY
#
# default - ACCEPT till TCP wrappers
$IPCHAINS -A input -p tcp -i ppp0 -j ACCEPT
#

###
#Set telnet, www and FTP for minimum delay - OUTPUT
$IPCHAINS -A output -p tcp -d 0/0 www -t 0x01 0x10
$IPCHAINS -A output -p tcp -d 0/0 ftp -t 0x01 0x10
# Set ftp-data for maximum throughput
$IPCHAINS -A output -p tcp -d 0/0 ftp-data -t 0x01 0x08
#Set telnet, www and FTP for minimum delay - FORWARD
$IPCHAINS -A forward -p tcp -d 0/0 www -t 0x01 0x10
$IPCHAINS -A forward -p tcp -d 0/0 ftp -t 0x01 0x10
# Set ftp-data for maximum throughput
$IPCHAINS -A forward -p tcp -d 0/0 ftp-data -t 0x01 0x08

###
#
/usr/bin/logger -s IPCHAINS up.
###


Re: URGENT: Gateway problems (again, more information added)

2000-02-22 Thread Pavel Epifanov
On Tue, 22 Feb 2000, Ron Rademaker wrote:

=The problem is that there is this server that is being used for
=(main tasks) : gateway, dns-server and samba.
=The gateway calls using ISDN (which works fine), but keeps calling and
=calling when it shouldn't...

The first I start thinking is DNS queries.
Have you disallow them in you diald configuration ?
By the way you never mentioned which application is configured
to dial out.

=This is what tcpdump -i ippp0 gives:
=
=ag 0:[EMAIL PROTECTED]) [tos 0xa2] [ttl 0]
=15:04:58.941020 www.icq.com.www 

Hey, have you also and ICQ client somewhere on your network ???
Again you can reject his requests for bringing line up with diald.

Please do not send large trace to mailing list - only if requested 
directly to person. What is your diald config looks like ?

---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]



Decoding MP3 to WAV

2000-02-13 Thread Pavel Epifanov
Dear All,

There are plenty of tools to encode WAV - MP3.
I use bladeenc (just download and compile from its home).

Whats about back convertion (decoding). MP3-HOWTO only covers
encoding process if I am right. Is there a debiantized packages
already ?

---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]



Re: First Kernel Recompile

2000-02-13 Thread Pavel Epifanov
On Sat, 12 Feb 2000, Lane Lester wrote:

=I did a fair amount of reading and asking first, but now I've tried
=my first kernel recompile. make xconfig wouldn't work, and it seemed
=to be because it couldn't find the tk stuff. make config worked OK,
=but make dep wouldn't, and it seemed to be because it couldn't find
=the standard C headers, such as stdio.h.

As I am aware many -dev packages should be installed.

On my computer I have following packages installed (for any compilations
I have done ever, specially KDE):

ii  dpkg-dev   1.6.7  Package building tools for Debian
ii  libc6-dev  2.1.3-1GNU C Library: Development Libraries and Hea
ii  libggi2-dev1.99.2.0b2.1-1 General Graphics Interface development packa
ii  libgii0-dev0.6-1.1General Input Interface development package
ii  libjpeg62-dev  6b-1.2 Development files for the IJG JPEG library [
ii  libpng2-dev1.0.5-0.1  PNG library - development
ii  mesag3+ggi-dev 3.1-12 Development library for Mesa [libc6].
ii  mico-2.3.0-dev 2.3.0-0CORBA broker as used for KDE.  Mico Is COrba
ii  slang1-dev 1.3.9-1The S-Lang programming library, development 
ii  tcl8.0-dev 8.0.5-4The Tool Command Language (TCL) v8.0 - Devel
ii  xlib6g-dev 3.3.6-3include files and libraries for X client dev
ii  zlib1g-dev 1.1.3-5compression library - development

First you should check for libc6-dev indeed.

---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]



Re: Beep?

2000-02-08 Thread Pavel Epifanov
On 6 Feb 2000, Joachim Trinkwitz wrote:

=   Many things make the system beep when
= you type the wrong thing in. Typically, pressing up- or down-arrow
=Please tell us which commands will do that -- I've looked after such a
=solution a long time.

# for bash (turn default beep off and 
# set frequency of char \07 out of range)
# ~/.bashrc for multiuser or /etc/profile for personal computer:
set bell-style none
echo -e \33[11;1]
#

For every other program you may need to read man.
For instance for PCMCIA card manager has a flag -q .
I do not know about X programs.

---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]



Capture Text Console screen

2000-02-06 Thread Pavel Epifanov
Dear All,

Did somebody knows about program to capture/grab
text console screen ? Normally you can do it by GPM,
but on my laptop it does not work with 2.2 kernels 
(bug posted). Sorry there is no X on my old computer.

---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]



Re: Misskey resulted in chown entire directory tree

2000-01-30 Thread Pavel Epifanov
On Mon, 24 Jan 2000, John Foster wrote:

=that the result is the changing of the owner/group of every file on my
=complete directory tree to a single username.groupname. Any Suggestions

I have done the same lately on /usr. Very funny.

The possible solutions as I can see are:

= if you have a backup - restore it. Preferred way I afraid. Did not work
for me because daily potato upgrades.

= if you have Tripware installed - there is a check for permissions as well.
Does not work for me as well because reason above (very frequent updates).

= Using existed Tripware database and perl/bash script to recover 
permissions only. Occasionally I have no time to find out the format
of Tripware database and make script. Have someone done it already ?

= The way I am going to use - reinstall Potato as soon as it will 
be released. It should be OK for my test computer. And it also 
remove a lot of garbage from dpkg/apt status file.

Please correct me if I missed one way.
---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]



Re: system requirements for SCSI

2000-01-30 Thread Pavel Epifanov
On Thu, 27 Jan 2000, Brian J. Stults wrote:

=I want to by a SCSI drive and controller for one of my older computers
=so it can act as an ftp server. 
[..]
=The computer is a Gateway P166 with 32MB of EDO

I am using computers like or less than 486 + RAM 16 MB for the gateways.
If you recompile kernel (mine is about 450kb) to keep only neccessary 
things your hardware will run just fine. Thanks to Debian.

---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]



Re: mail filtering techniques

2000-01-30 Thread Pavel Epifanov
On Thu, 27 Jan 2000, Ethan Benson wrote:

=I am wondering what different methods people here are using to filter 
=your mail?   (ie each mailing list to its own mailbox or other such 
=techniques of dealing with several high volume lists)

I am using fetchmail+procmail+pine+postfix.

fetchmail - get mail from POP3 accounts
procmail - filter/place mails to right folders
pine - read/create mail
postfix - local delivery on machine and delivery my mail directly to MX hosts.

My ~/.procmail file looks like:

===cut===
# $Id: .procmailrc,v 1.25 2000/01/28 20:53:46 xxx $

# system
VERBOSE=on
LOGFILE=/var/log/mail/procmail.user
TODAYSDATE=`date +%c`
 
# log
LOG = ..New

# create copy of all mail before processing
:0 c
/var/log/mail-backup

# spam (no To: field)
# exception: CityCat
:0 H
* !^TO
* !^From: Citycat
mail/spam

# anacron (in From:)
:0 H
* ^From:.*\(Anacron\)
mail/noteroot

# JobServe
:0 H
* ^From:[EMAIL PROTECTED]
mail/jobs

# Debian-Russian
:0 H
* ^X-Loop: debian-russian
* ^Precedence: list
mail/Deb-RU

# The rest of CityCat
:0 H
* ^From: CityCat 
mail/CityCat

# confirmation for mails
# not DAEMON, CityCat, Me
# with Return-Receipt ON
:0 Hhcw
* !^FROM_DAEMON
* !^X-Loop: [EMAIL PROTECTED]
* !^From: Citycat
* !^From:.*\[EMAIL PROTECTED]
* ^Return-Receipt-To.*
* ^Subject: \/.*
| (formail -rt \
   -A Precedence: junk \
   -A X-Loop: [EMAIL PROTECTED] \
   -I Subject: Receipt: $MATCH ; \
   echo Dear Sir/Madam, ; \
   echo  ; \
   echo Your message $MATCH ; \
   echo   has been delivered to $LOGNAME at $TODAYSDATE.; \
   echo  ; \
   echo -- ; \
   echo  PROCMAIL confirmation routine at $HOST ; \
   )  | $SENDMAIL -oi -t

# MIME uncompressing
:0
* ^Content-Type: *text/plain
{
  :0 fbw
  * ^Content-Transfer-Encoding: *quoted-printable
  | mimencode -u -q

  :0 Afhw
  | formail -I Content-Transfer-Encoding: 8bit

  :0 fbw
  * ^Content-Transfer-Encoding: *base64
  | mimencode -u -b
  
  :0 Afhw
  | formail -I Content-Transfer-Encoding: 8bit
}
===cut===

---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]



Re: Compiling KDE programs

2000-01-30 Thread Pavel Epifanov
On Thu, 27 Jan 2000, Bart Szyszka wrote:

=I keep having the same problem when compiling KDE-based
=programs. The ./configure command stops at:
=--
=checking for KDE... configure: error:
=in the prefix, you've chosen, are no KDE headers installed. This will
=fail.
=So, check this please and use another prefix! 

First, which KDE version you rea talking about. 

I spent one weel last month with attempts to recompile KDE2.
Really it was not KDE2 but QT 2.1 because you have to compile this 
first. This is real hell !

The minimum source set KDE2+QT2.1 will be more than 50 MB !
You computer for compilation should be at least PII/AMD2+64MB RAM.

And there is no QT2.1 realeased yet so for me no one version gives me
the good deb package for normal KDE2 compilation (the best was QT 1.89
which I was able to compile till deb packages but it contains at least 
one broken header file which did not allow me to compile KDE2-base package )

I would pretty recommend to wait till they release at least QT 2.1.

---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]



Broken KBD installation

2000-01-24 Thread Pavel Epifanov
Dear All,

Lately I had a trouble with keyboard mapping changed completely.

It seems to me that installation script for the kbd package was
broken and replace my correct /etc/kbd/default.kmap.gz by wrong one.

The solution is very simple - reboot from rescue disk (or logon thru ssh)
and rename/move old file back. Lucky it was saved with diff.name.

Author has been informed already.

---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]



Re: Printing woes

2000-01-23 Thread Pavel Epifanov
On Mon, 17 Jan 2000, Howard Mann wrote:

=When I print to a file (.ps) in Netscape, and subsequently print the
=item via gs, the fonts are still huge.

I am using macro (see a the bottom) to print files with headers thru enscript
1.6.2 package (deb). Also you can specify a font size followed without space
after font name for this package. For me it is more important as soon I am
using a national character set (koding koi8r).

=( Are .pdf files printed via gs ?)

You have to convert them first by ghostview (open pdf and print(save) to file).
It is possible to print from gv directly, but every time it will first 
convert pdf to the temporary file and print than).

---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]

===cut===
#!/bin/sh
#
# $Id: pr1,v 1.2 1999/11/23 07:32:37 root Exp $
#
# Print 1 pages in Portret mode with KOI8-R coding
#

TMPFILE=/tmp/prt65test.ps.$$
FONTSIZE=12

# second argument - font size
if [ $1 =  ]; then
  echo ! Please call: $0 _file_ _optional-font-size_
  exit 1
else
  if [ ! $2 =  ]; then
FONTSIZE=$2
  fi
fi

# remove if exist file name
rm -f ${TMPFILE} dummy

# encode
enscript -1 -R -v --font=Textbook${FONTSIZE} --encoding=koi8 -p - $1  
${TMPFILE}

# print
lpr ${TMPFILE}

# message
echo $1 is in the queue to print !

# remove if exist file name
sleep 5
rm -f ${TMPFILE} dummy

exit 0
===cut===


Re: Hint: Finding packages with needed files

2000-01-23 Thread Pavel Epifanov
On Wed, 19 Jan 2000, Michel DДnzer wrote:

=However, the above problem still remains. If I just initialize the modem with
='ATF1', it connects at 4 something bps. But I only get transfer rates
=around 1 kB/s! Uploads are as fast as ever. OTOH after 'ATF1N21', it
=connects at only 33600 bps, but I get 3.5 kB/s constantly.
=
=Anyone has a suggestion about this one? Have I misconfigured my modem?
=Doesn't my ISP support V90? ...

I had a similar problem with PCMCIA modem Compaq 33k. It takes me couple 
of days but I found a unique register for my modem card by which I can 
select a set of speeds my modem only can negotiate at. I setup that 
only allowed are 28.8 kbod, 14.4 kbod and I do not have any problem since.

It seems to me that common modems can only works properly on main speeds,
but negotiate on many others.

I will suggest to check your modem manual first. I saw many modems which
has such register, occasionally it has a different name per everyone.

---
Regards,
Pavel Epifanov.

[EMAIL PROTECTED] , [EMAIL PROTECTED]



Re: making a pine deb?

2000-01-23 Thread Pavel Epifanov
On 20 Jan 2000, Ron Farrer wrote:

=Does anyone have a diff that I could use to make a deb of pine 4.21?
=I've got the source tarball all unpacked and ready to go, but I'd rather
=not have to create all of the debian files needed to make a deb.
=You can skip the usual, mutt's better try it instead bit as I DO use
=mutt. It's just that some users want pine...

I have it done (except of IMAP2,IMAP3 programs) but incluing default
national settings (default charset to koi8r). You can easy fix it for
your defaults.

You can find files on ftp://ftp.ice.ru/debian/potato/sources/

Pavel.