2 x 3com509B

2002-10-04 Thread Jaroslaw Berezowski

Hi.

I'm just working on box with 2 3C509B NICs (ISA PNP, 10BaseT) and encountered a 
problem.
Each NIC alone works fine, but both together are causing problem. I can load driver 
module and see 2 NICs are recognized and set to (0x220,5) for eth0 and (0x230,11) for 
eth1 respectively. Setting up eth0 (inet address and so on) goes fine, but when I try 
to 
setup eth1, that hangs kernel.

Does anyone experienced and solved such problem? TIA.

-- 
Jaroslaw Jaros Berezowski 







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




Console problem after upgrade to Woody

2002-10-02 Thread Jaroslaw Berezowski

Hi everybody.

I have upgraded my Potato box to Woody. Seems that almost all is OK except console 
behaviour: I have lost support for console iso02 mapping from fonty package.
I've tried to completely reload and reinstall libc6, libreadline4, with no results. 
Fonts are 
displayed properly, but I can't input any polish character from keyboard.
On the other box, system installed from scratch with those settings copied from my box 
works fine.

Starting X with XKB set to 'pl' produces message:
parse error: line 1 of stdin
Errors encountered in stdin; not compiled
Couldn't load XKB map, falling back to pre-XKB map
and of course I have no polish kbd

Seems that upgrade has messed up input layer. Any suggestion?
--
Jaroslaw Jaros Berezowski 





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




Re: kppp error

1999-07-03 Thread Jaroslaw Berezowski
can't connect anymore with kppp
I logged out while I was connected and kppp was running.
After I logged in kppp didn't work anymore.
Sorry can't open modem, kppp say's

As root kppp still works, because when I logged out I was user.
So I think there must be something changed in my home directory ?

Does any body know this problem, and can you help me solve this problem
!!!
Perhaps kppp didn't removed the modem lock file when killed. Remove it manually.


Is this problem a bug from kppp, because I think it should not be a
Rather the effect of your behaviour :-(

problem to
logout while kppp is running.

--
Jaroslaw Jaros Berezowski


Re: Install Printer under Linux

1999-06-20 Thread Jaroslaw Berezowski
On Sat, 19 Jun 1999, you wrote:
 Dear Jaroslaw,
  many thanks for your interest. Actually debian system is new for me, 
 So could you please let me know step by step how can I install my printer 
 to my PC.
 First I have kernel with lpr support installed in my system also I 
 have lpr command what after that?.
 How can I adjustments GhostScript options for StylusColor device)?.
 early reply is better for me
Sorry, I was away few days, so the answer is a bit late.

 with my best regards
 aboanber
 

Ok, I assume you have the physical installation correct.

1. You have to have kernel with lp support (note that under 2.2.x kernels You
have a bucket of features related with lp: parport, parport_pc, parport_probe
etc, and under 2.2.x typical printer port is /dev/lp0 instead of /dev/lp1 under
2.0.x).

2. You should install the printer daemon and utils package (lpd or recommended
lprng). This will provide the daemon and programs like lpr, lpc ,lpq, lprm.

3. Install gs and gsfonts packages (and gv if You want to have the viewer fo
*.ps files).

4. Install magicfilter and suggested packages (dselect will tell You about
suggested packages). These packages are user in input filters to convert some
formats onto PostScript. Then, You will be allowed to print files of many
formats, like $lpr foo1.ps foo2.pdf foo3.troff

5. Run #magicfilterconfig (#magicfilterconfig --force if it refuses to run
because of already configured printers). This utility will show a brief
example of values and ask You for some settings in loop for each printer:
a) the full printer name (done ends the loop).
b) short name (the spool dir will have this name).
c) device path (see the note 1.).
d) than magicfilterconfig prints the so-called input filters to be used -
choose for example stylus_color_360dpi. I will explain the setting below.

If You will follow these instructions, the magicfilterconfig will have filled
the /etc/printcap file with chosen settings and created the spool directory and
some control files inside for each printer. Now look into /etc/printcap. You
will see something like :
#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
#   @(#)etc.printcap5.2 (Berkeley) 5/5/88
#
# This file was generated by /usr/sbin/magicfilterconfig.
#
sc400-360-mono|Epson SC 400 360 dpi Mono:\
:lp=/dev/printer:sd=/var/spool/lpd/sc400-360-mono:\
:sh:pw#80:pl#72:px#1440:mx#0:\
:if=/etc/magicfilter/stylus_color_360dpi-mono-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

sc400-360-color|Epson SC 400 360 dpi Color:\
:lp=/dev/printer:sd=/var/spool/lpd/sc400-360-color:\
:sh:pw#80:pl#72:px#1440:mx#0:\
:if=/etc/magicfilter/stylus_color_360dpi-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

sc400-720-color|Epson SC 400 720 dpi Color:\
:lp=/dev/printer:sd=/var/spool/lpd/sc400-720-color:\
:sh:pw#80:pl#72:px#1440:mx#0:\
:if=/etc/magicfilter/stylus_color_720dpi-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

I have 3 entries because I need different settings and this is IMHO the best
way to pass settings to print system (/dev/printer is symlink to /dev/lp0,
beacause I have 2.2.x kernels). Each virtual printer (their names are
self-explanatory) maps onto the same physical printer. You can create more than
one entry if You need different print settings and specify the -P printer_name
in lpr command.

So, You can see that the differences between virtual printers are the input
filters. With magicfilter come only basic filters. I have copied
stylus_color_360dpi-filter onto stylus_color_360dpi_mono-filter and
stylus_color_360dpi_mono-filter and made some modifications to each.

Each input filter is the set of converters' invocations like gs or enscript.
Every print job is processed to determine the data type (by using some magic
values - specific file content parts) and then the conversion is applied (one
or multiple stage pass - some formats need temporal another format storage like
temporal files or pipes). The ultimate result is the printer-specific data
stream sent to printer device. Jobs wich cannot be converted are not printed
and the mail with error message is sent back to user.

For Epson printers the ultimate stage is handled by GhostScript with
StylusColor device (ESC/P2 printers are fairly supported - my friends with
other printers' vendors have big problems with configuration of their
printers). Look into /etc/magicfilter/stylus_color_360dpi-filter. You will see
lines like:
# 

Re: Install Printer under Linux

1999-06-17 Thread Jaroslaw Berezowski
  Dear,
 I have Installed debian pakage under my PC and it's great and very 
  easy to work on it. Now I have one problem, I have EPSON STYLE PHOTO 
  inkjet printer may I aske you please to help me to install it to work 
 with linux under my PC?.
 with my best regards
  Yours Sincerely 
  Aboanber

I have Epson Stylus Color 400 and currently no problem with it. If your printer
accepts the output of some Stylus Color filters of Magicfilter you can use it
(eventually you will have to do fine adjustments of GhostScript options for
StylusColor device).
So, you can try the ghostscript (+PS fonts) and magicfilter (+some
related packages like netpbm), but previously ensure you have kernel with lp
support.

--
Jaroslaw Jaros Berezowski


Re: libjpeg.so.6 and KDE

1999-06-02 Thread Jaroslaw Berezowski
Daniel González Gasull [EMAIL PROTECTED] wrote:
snip
 Just get KDE linked against libjpeg62.

How can I do that?

I realize how newbie I am.  I don't what to do with
such information.
Binaries that you have installed have been compiled and linked on system with
libjpeg6-dev.


Here is my $ldd /usr/X11R6/bin/kfm:

   libkhtmlw.so.2 = /usr/X11R6/lib/libkhtmlw.so.2 (0x40003000)
   libkimgio.so.2 = /usr/X11R6/lib/libkimgio.so.2 (0x400be000)
   libjpeg.so.6 = not found
   libqt.so.1 = /usr/X11R6/lib/libqt.so.1 (0x400c6000)
   libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x40289000)
   libjscript.so.2 = /usr/X11R6/lib/libjscript.so.2 (0x4032d000)
   libkdeui.so.2 = /usr/X11R6/lib/libkdeui.so.2 (0x4035)
   libkdecore.so.2 = /usr/X11R6/lib/libkdecore.so.2 (0x40489000)
   libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x40548000)
   libstdc++.so.2.8 = /usr/lib/libstdc++.so.2.8 (0x40554000)
   libm.so.6 = /lib/libm.so.6 (0x40599000)
   libc.so.6 = /lib/libc.so.6 (0x405b2000)
   libstdc++-libc6.0-1.so.2 = 
 /usr/lib/libstdc++-libc6.0-1.so.2(0x40659000)
   /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x)

Please remember that I have the same problem with
almost all KDE applications.  I want to know how to
solve this for all of them.

You have generally 4 ways:

1. Get the source and compile it. It will be compatible with your system.
2. Install the libjpeg6 (not libjpegg6a - it contains /usr/lib/libjpeg.so.6a,
   not /usr/lib/libjpeg.so.6).
3. Symlink /usr/lib/libjpeg.so.6 to /usr/lib/libjpeg.so.6a, than run ldconfig.
   It may work, but I didn'y try it. (Attention: It can be potentially
   segfaulting).
4. Get KDE Debian packages. I have installed KDE 1.1 from CD created with
   .debsmaintained by Stephan Kulow [EMAIL PROTECTED]. Here is the info 
for
   kdebase:
*
Package: kdebase
Priority: extra
Section: contrib/x11
Installed-Size: 8385
Maintainer: Stephan Kulow [EMAIL PROTECTED]
Architecture: i386
Version: 4:1.1-19990306-1
Depends: menu (= 1.5-5), kdelibs2g (= 4:1.1-19990306-1), libc6, libjpeg62, 
libncurses4, libpng2, libstdc++2.9, libtiff3g, qt1g (= 1.42-2), xlib6g (= 
3.3.2.3a-2), xpm4g (= 3.4j-0), zlib1g (= 1:1.1.3), xdm
Recommends: kdebase-i18n
Suggests: kdewallpapers
Size: 3104924
Description: KDE core applications
 This is a suite of all kde core applications :
 file manager kfm, window manager kwm, desktop manager kdm
 and others. 


BTW: Did you installed KDE from .debs? It should find that you hadn't installed
libjpeg6.

 -- Jaroslaw Jaros Berezowski


Re: libjpeg.so.6 and KDE

1999-06-01 Thread Jaroslaw Berezowski
Hi!

I have installed KDE in my Debian system.  But now
I cannot run almost any KDE application.  I get the
following error:

   $ kfm
   kfm: error in loading shared libraries
   libjpeg.so.6: cannot open shared object file: No such file or directory
snip

slink contains libjpeg62 and libjpegg6a. There is no libjpeg6.
Here is my $ldd /usr/X11R6/bin/kfm:
libkhtmlw.so.2 = /usr/X11R6/lib/libkhtmlw.so.2 (0x4000f000)
libkimgio.so.2 = /usr/X11R6/lib/libkimgio.so.2 (0x4008f000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0x40098000)
libtiff.so.3 = /usr/lib/libtiff.so.3 (0x400c2000)
libz.so.1 = /usr/lib/libz.so.1 (0x400f8000)
libpng.so.2 = /usr/lib/libpng.so.2 (0x40107000)
libqt.so.1 = /usr/X11R6/lib/libqt.so.1 (0x40133000)
libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x402f9000)
libm.so.6 = /lib/libm.so.6 (0x4039c000)
libjscript.so.2 = /usr/X11R6/lib/libjscript.so.2 (0x403b5000)
libkfile.so.2 = /usr/X11R6/lib/libkfile.so.2 (0x403cd000)
libkfm.so.2 = /usr/X11R6/lib/libkfm.so.2 (0x40415000)
libkdecore.so.2 = /usr/X11R6/lib/libkdecore.so.2 (0x40424000)
libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x404af000)
libkdeui.so.2 = /usr/X11R6/lib/libkdeui.so.2 (0x404bb000)
libstdc++-libc6.0-1.so.2 = /usr/lib/libstdc++-libc6.0-1.so.2 
(0x40598000)
libc.so.6 = /lib/libc.so.6 (0x405dc000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)

Just get KDE linked against libjpeg62.
--
Jaroslaw Jaros Berezowski


lp0 problem

1999-05-20 Thread Jaroslaw Berezowski

Hey.

After switching from 2.0.36 to 2.2.5 I've lost the lp support working.
Copying into /dev/lp0 causes deadlock of executing process.
Here are some config infos:
***
#dmesg
snip
parport0: PC-style at 0x378, irq 7, dma 3 [SPP,PS2]
lp0: using parport0 (interrupt-driven).
snip
***
When the printer is on during boot, there is one additional line:
***
#dmesg
snip
parport0: PC-style at 0x378, irq 7, dma 3 [SPP,PS2]
lp0: using parport0 (interrupt-driven).
snip
lp0 off-line
***
Here are some /proc files contents:
***
/proc/parport/0/hardware
base:   0x378
irq:7
dma:3
modes:  SPP,PS2

/proc/parport/0/devices
 lp

/proc/ioports
snip
0378-037a : parport0
snip
***
Note that under 2.0.36 printer is working (as /dev/lp1 of course).
All settings are coherent with BIOS.

What's going on?

TIA

Jaros


Epson SC 400

1999-04-24 Thread Jaroslaw Berezowski

Hi.

I'm trying to improve my printer performance. I have installed magicfilter and
related soft and have gs set up. This works OK, but veeery slowly, because each
print job is done in color mode.
Does anybody know how to set Epson SC driver for gs to enter blackwhite mode ?

Jaros


RE: serious ppp problem

1999-04-11 Thread Jaroslaw Berezowski

Hi, Amy.

About your ppp0 interface problem:
  It seems that you don't have compiled-in the PPP support into your kernel
  (this support is required for ppp0 net device).
  Solution: Reconfigure and recompile kernel (in 2.2.x kernel module form
  is recommended because some parts of PPP are available only as module).

Jaros


Troubles with 2.2.3

1999-04-10 Thread Jaroslaw Berezowski
I have a trouble with 2.2.3 kernel (updated from 2.0.36).
During system shutdown when unmounting root filesystem 
sometimes I get message that it's busy and can't be unmounted.
Why? Scripts stop all daemons and other processes are killed.
Does somebody else have such problem?