Re: TV over LAN?

2002-03-16 Thread Samuli Suonpaa
Thomas Hessling [EMAIL PROTECTED] writes:
 Sorry if I made a mistake here, I'm not that familiar with the matter.
 I just wrote how I accomplish it. If I ssh to another machine and start
 mozilla for example, it does only work if I add the remote machine to my
 xhosts list. 

Try 'ssh -X' next time.

Suonpäää...



Re: Less and .gz files

2002-02-19 Thread Samuli Suonpaa
Sebastiaan [EMAIL PROTECTED] writes:
 On Tue, 19 Feb 2002, Raffaele Sandrini wrote:
 On my earlier SuSE system less was able to read gzipped text
 files. Can i get less to do it also on Debian?
 yes, but the command is 'zless'. I beleive that the package gzip provides
 these commands. You will get a lot of other 'z' commands too, like zcat,
 zdiff, zgrep, zmore, zetc...

Not necessarily. I say just 'less' even when I want to less gzipped or
bz2'd files.

Trick is to use lesspipe. From my ~/.bash_profile:

LESS=-M-Q
LESSOPEN=| lesspipe %s
LESSCHARSET=latin1
PAGER=less

export LESS LESSOPEN LESSCHARSET PAGER

lesspipe is a shell-script that checks the extension on a filename and
decides how files should be viewed. To .gz-files it does does a simple
'gzip -dc', for tar's it uses 'tar tvf', for .docs 'catdoc',
picture-files such as .jpeg or .gif it says 'identify' and so one.

lesspipe comes with less.

Suonpää...



Freedb-submissions with jack

2002-01-09 Thread Samuli Suonpaa
Has anyone tried submitting entries to freedb with jack? I just don't
seem to able to do it. I almost filed a bug against jack, but decided
to play safe and post a question instead. When trying to submit, I
just get some python errors, like the following two:

$ jack -m
This is  jack 2.99.7 (C) 2001  Arne Zellentin [EMAIL PROTECTED]
choose a category:
 1.) blues
 2.) classical
 3.) country
 4.) data
 5.) folk
 6.) jazz
 7.) misc
 8.) newage
 9.) reggae
10.) rock
11.) soundtrack
 0.) none of the above: 0
OK, using `soundtrack'.
Traceback (most recent call last):
  File /usr/bin/jack, line 2983, in ?
do_freedb_mailsubmit(freedb_form_file, cd_id)
  File /usr/bin/jack, line 1861, in do_freedb_mailsubmit
return system(( echo 'To:  + freedb_servers[freedb_server]['submit_mail'] 
+ '; echo From: ' + freedb_servers[freedb_server]['my_mail'] + '; echo 
'Subject: cddb  + cat +   + cd_id + ' ; cat ' + file + ' ) | sendmail -t)
KeyError: submit_mail
$ 

Suonpää...



Re: ssh2 client for debian 2.2r4?

2001-11-29 Thread Samuli Suonpaa
nate [EMAIL PROTECTED] wrote:
 - compile openssh and install to /usr/local/openssh (what i do)
 
 i prefer having apps in their own directory so i can just rm -rf
 them when i want to remove them instead of hunting them down in 10
 different places.

If you'd like to easily have links to it in /usr/local/bin,
/usr/local/man/man1 etc, have a look a package 'stow'. I install all
my locally compiled software in directories under /usr/local/stow and
have stow make the links needed.

$ apt-cache show stow
Package: stow
Priority: optional
Section: admin
Installed-Size: 284
Maintainer: Guillaume Morin [EMAIL PROTECTED]
Architecture: all
Version: 1.3.2-14
Depends: perl
Suggests: doc-base
Filename: pool/main/s/stow/stow_1.3.2-14_all.deb
Size: 58126
MD5sum: cee7ec17bd3eef39060823ebaecea93f
Description: Organiser for /usr/local/ hierarchy
 GNU Stow helps the system administrator organise files under /usr/local/
 by allowing each piece of software to be installed in its own tree under
 /usr/local/stow/, and then using symlinks to create the illusion that
 all the software is installed in the same place.

Suonpää...



Re: HP Officejet PSC 750

2001-11-28 Thread Samuli Suonpaa
Pedro Quaresma de Almeida [EMAIL PROTECTED] wrote:
 I would like to buy an HP Officejet PSC 750
 (printer/scanner/copier), is it supported in Linux? In
 full/partial/not-supported?

See for yourself: http://hpoj.sourceforge.net/suplist.html

(Yes, it should be supported. Scanning and printing should both work. 
In printing, use DJ9XX driver. Take a look at the package 'hpoj' in
Woody and unstable. You probably need quite new GhostScript also. And
SANE, of course.)

Suonpää...



Re: EXT3

2001-10-20 Thread Samuli Suonpaa
A man or a woman with no name [EMAIL PROTECTED] wrote:
 Where do you get those Alan Cox kernels from ?

http://www.kernel.org/pub/linux/kernel/people/alan/

Suonpää...



Re: Speeding up scp (Was: Re: Ramfs and Cachless Networking.)

2001-09-28 Thread Samuli Suonpaa
Viktor Rosenfeld [EMAIL PROTECTED] wrote:
 In this case, blowfish is a nice speed improvement.  Any idea, why
 it' not the default?

I would assume it has something to do with 3des being older. In ssh
man-pages it is said, that blowfish _appear_ very secure. I think
BSD-folks are just being conservative, as usual. (Which, by the way,
is why their products are usually considered very secure.)

Suonpää...



Re: Speeding up scp (Was: Re: Ramfs and Cachless Networking.)

2001-09-27 Thread Samuli Suonpaa
Viktor Rosenfeld [EMAIL PROTECTED] wrote:
 Samuli Suonpaa wrote:
 $ time scp -c 3des -q oberon:/var/www/testi.100M /dev/zero
 
 real 1m28.652s
 user 0m0.050s
 sys  0m0.450s
 $ time scp -c blowfish -q oberon:/var/www/testi.100M /dev/zero 
 
 real 0m27.329s
 user 0m0.070s
 sys  0m0.390s
 
 Nice difference, right?
 Stop!  Could the file /var/www/testi.100M be in the OS cache during
 the second try?  

It was, but it was there the first time also, I deliberately ran both
these commands a couple of times and only reported the last attempt.
(Should have mentioned that, though.)

 If not, than a 300% speed improvement is certainly nice.

It certainly is.

Suonpää...



Re: ext3 on install

2001-09-26 Thread Samuli Suonpaa
Adam McDaniel [EMAIL PROTECTED] wrote:
 I'm curious if anyone here has any knowledge of Debian, in any
 future release, will prompt the user to install an ext3 filesystem
 during the initial install.

It's already possible.

Install normally on an ext2-partition, compile yourself a kernel with
ext3 (you need patching), initialize the journal 
(tune2fs -j /dev/hda, for instance) and replace ext2 in fstab with
ext3.

e2fsprogs in (in Woody at least) are fully ext3-compliant.

And by the way, if you use filesystem-type auto in /etc/fstab you
can even switch between ext3-aware kernel and ont that only has ext2!

Suonpää...



Re: ext3 on install

2001-09-26 Thread Samuli Suonpaa
Eduard Bloch [EMAIL PROTECTED] wrote:
 When Woody comes, there will probably be a different flavour on each
 CD-ROM. So you have 5 CDs and depending on which you insert, you
 will get one of [ default | ide | ide-pci | reiserfs | udma100-ext3
 ] installation systems.

For what it's worth, rather than support for every possible journaling
filesystem, I'd like to see boot-images with support for LVM.

Suonpää...



Re: Ext3... what about it?

2001-09-26 Thread Samuli Suonpaa
Julio Merino [EMAIL PROTECTED] wrote:
 Can it be considered some stable now? 

Quite. 

 BTW: I'm currently using ext2, and I don't switch to resierfs
 because freebsd can't access it nor partitionmagic. I hope that with
 ext3 these problems will go away, isn't it?

They will, or at least they will change form. I think using freebsd to
_write_ in ext2-mode to an ext3-filesystem which hasn't been shut down
cleanly will introduce you some trouble, wouldn't recommend that.
Otherwise I see no problems.

Suonpää...



Re: Ext3... what about it?

2001-09-26 Thread Samuli Suonpaa
Adam McDaniel [EMAIL PROTECTED] wrote:
 On Wed, Sep 26, 2001 at 05:17:39PM +0300, Samuli Suonpaa wrote:
 Julio Merino [EMAIL PROTECTED] wrote:
 Can it be considered some stable now? 
 Quite. 
 how about mixing it with other kernel harddrive magic, like raid or
 lvm?

My experience with LVM and ext3 limits to one machine, on which I have
used this combination for about a month without any problems. No
problems so far, even resizing logical volumes has worked like a
charm.

Before that I used reiserfs on LVM for a few months, also without any
real problems.

_But_, since I haven't been using this combination any longer, I
really cannot make any statements on it's reliability.

Oh, and I have used -ac -kernels all the time. 

 I assume that wouldn't make any difference, but its on my lvm that i
 really could use ext3. Except ofcourse the info on the lvm is very
 difficult to backup somewhere else becuase of its size... just
 incase anything went wrong :)

Which reminds me... I'd gladly hear comments on LVM snapshots, if
anyone has experience with them. Do they work reliably enough to be
used for serious backups?

Suonpää...



Speeding up scp (Was: Re: Ramfs and Cachless Networking.)

2001-09-26 Thread Samuli Suonpaa
Viktor Rosenfeld [EMAIL PROTECTED] wrote:
 I suspect that the problem lies with scp.  On my local network I
 experience transfer rates of less than 200kB/s with scp because the
 server is an old Pentium 133 with not enough horse power.  With
 plain old rcp I get up to 6MB/s on a 100MB (half duplex?) link.

In that case I suggest you try blowfish cipher instead of 3des, which
seems to be Debian default for some reason. Blowfish is a _lot_ faster
than 3des, as this should demonstrate: (scp runs on my 400MHz laptop
and sshd on a 900MHz server, networks is 100Mbps with no additional
traffic.)

$ time scp -c 3des -q oberon:/var/www/testi.100M /dev/zero

real1m28.652s
user0m0.050s
sys 0m0.450s
$ time scp -c blowfish -q oberon:/var/www/testi.100M /dev/zero 

real0m27.329s
user0m0.070s
sys 0m0.390s

Nice difference, right?

When you have decided this is really what you want, it's time to edit
/etc/ssh/ssh_config to make blowfish the default cipher by adding
'Cipher blowfish' in part 'Host *'.

Suonpää...



Partial debian mirrors

2001-09-26 Thread Samuli Suonpaa
Before package-pools (and testing) it was quite easy to do partial
mirrors of debian archive for local use. With pools, it it possible to
have woody-only mirror set up at least with apt-move. But if I want to
have something a bit more complicated? 

Currently I use Woody on my machines but I sometimes want to install
newer packages with apt-get's wonderful '-t unstable'
options. Addition to that, I have my deb-src -lines pointing to
unstable. Is it possible, for instance, to have a local mirror with
packages from Woody and Sid but _not_ from potato? How about having
Woody binaries but Sid sources?

Any ideas about which tools I should use?

Suonpää...



Re: .config in kernel source?

2001-09-23 Thread Samuli Suonpaa
Martin F. Krafft [EMAIL PROTECTED] wrote:
 okay. so it's really just basic vanilla source (with patches
 applied)?  so the actual kernel data (not image) is in
 kernel-headers?

Kernel-source contains a tarball /usr/src/kernel-source-x.x.x.tar.bz2
which has everything you need to compile a kernel the traditional way
or make packages kernel-image, kernel-docs and kernel-headers.

Kernel-headers contains just the headers, the .h-files.

 what do you do if another piece of software needs both, headers and
 source, corresponding to the current kernel (e.g. vmware)? it isn't
 happy with just kernel-source (unconfigured), and it isn't happy
 with just kernel-headers (no source files). 

But vmware _is_ happy with kernel-headers. I have only kernel-image
and kernel-headers installed in my laptop and vmware modules compile
just fine. (At least vmmon.o and vmnet.o do.)

You do not need both packages. You either install kernel-source which
includes the source _and_ the headers (and docs) _or_ you install
kernel-image plus, if needed, kernel-headers.

I, for instance, do not have enough diskspace on my laptop to hold
kernel sources, I have all the sources in my other machine at which I
make packages kernel-image and kernel-headers to be installed on the
laptop.

Oh, and what comes to the subject of this message, the .config is
included in kernel-image also, as /boot/config-x.x.x.

Suonpää...



The reason for Star Office 5.2 breakage

2001-04-12 Thread Samuli Suonpaa
(Posted on both lists since there's active discussion on both lists
concerning this problem.)

Five minutes ago I found the package that breaks Star Office the way
that has been described on numerous emails. The package Star Office
has problems with is sharefont. When sharefont 0.10-9 is installed,
Star Office gives a very informative message stating that an
unrecoverable error has happened every time I try to create a new
document or open an existing one. apt-get remove sharefont solved
the problem.

Since I my knowledge on X fonts can quite accurately described as
none, I wouldnät count on me to find much more information about the
problem. I hope someone more competent with this same problem will
look at the package and file a bug report with more information than
that I could give.

Suonpää...



apt-get insists updating gnupg with same version

2000-12-08 Thread Samuli Suonpaa
After Werner Koch posted a small security patch for GnuPG 1.0.4 in
gnupg-announce I decided it's time to compile gnupg from sources.
Using Potato, I already had version 1.0.4 in use.

Using apt-get source gnupg I fetched the most current sources,
applied the patch and built gnupg_1.0.4-1_i386.deb, which I then
installed. Everything seemed to work fine until I - a few days later -
told apt-get to upgrade my packages. For some reason, it decided I
needed the newest gnupg, gnupg_1.0.4-1_i386.deb and installed
it. After I noticed what had happenes, I - again - installed the .deb
I had compiled and now apt-get wants to upgrade it again.

What I don't understand, is how come this happens even though package
names are exactly the same. I assume that I could have used some other
name for the package I compiled - like I do with --revision when
compiling kernel -, is this correct?

Suonpää...



Re: Encrypt a file

2000-10-11 Thread Samuli Suonpaa
Damian Menscher [EMAIL PROTECTED] writes:
 On Mon, 9 Oct 2000, Samuli Suonpaa wrote:
 Umm... As you state, most applications asymmetric only for the key and
 symmetric for data. How come you still consider symmetric encryption
 to be faster?
 I'm afraid I don't understand your question... 

It might be, because I left at least one word out. _And_, the whole
question was, I think, quite poorly written. Let's try again, shall
we.

 Why do you think the asymmetric algorithms are really just wrappers
 around a symmetric algorithm?  (Answer: because the symmetric method
 is faster!)

My point exactly.

No, how come we came to think we had different opinions on this one?
The thread started by somebody asking a way to encrypt files
asymmetric and Brian May stated symmetric method was faster.
_Technically_ this is, of course, true.

But, from the users point of view, saying gpg -e imho qualifies as
using asymmetric encryption, although the data is _technically_
encrypted symmetric and only the key asymmetric. So, this in mind, I
told there was no notable difference in whether you use symmetric or
asymmetric encryption. Please note, that I was talking about the use
of gpg - or pgp - all the time. Although it seems I should have made
that more clear.

My point in all this is, that when I encrypt something for myself -
like when making backups - I usually use gpg -er suonpaa instead of
gpg -c. Neat and simple, safe enough and as fast as gpg -c, I
think. Although I have never cared enough to time it, really.

(My lack of language skills... Is it okay to say the data was
encrypted symmetric or should I say it was encrypted symmetrically?)

Suonpää...



Re: Encrypt a file

2000-10-09 Thread Samuli Suonpaa
Damian Menscher [EMAIL PROTECTED] writes:
 On Mon, 9 Oct 2000, Brian May wrote:
 While there are pros and cons in both methods, I have to wonder
 what you need to encrypt files for. For most applications,
 asymmetric encryption is better.
 No, for most applications, symmetric encryption is better.  It is
 stronger, faster, more standardized, better tested, etc.  The
 asymmetric methods often use asymmetric encryption only to encrypt a
 key for a symmetric algorithm.

Umm... As you state, most applications asymmetric only for the key and
symmetric for data. How come you still consider symmetric encryption
to be faster?

 That said, you might still consider using pgp, as I believe it has
 the ability to do symmetric encryption.  

As does gpg. And, of course, I would use free software whenever
possible.

Suonpää...



Re: Encrypt a file

2000-10-08 Thread Samuli Suonpaa
Brian May [EMAIL PROTECTED] writes:
 PGP could encrypt with both methods (not sure if this is still the
 case), however as far as I can tell, GnuPG can only encrypt with
 asymmetric keys (I might be mistaken).

[EMAIL PROTECTED]:~$ gpg --help | grep symm
 -c, --symmetric  encryption only with symmetric cipher

Suonpää...



Potato and ll_rw_block - and a bit about Gnus

2000-08-21 Thread Samuli Suonpaa
(This is a rough translation of an article I posted a few hours
earlier on Finnish linux-newsgroup.)

What is ll_rw_block and why is kernel nagging me about it?

from /var/log/syslog:

Aug 21 17:02:24 erasmus kernel: ll_rw_block: device 03:06: only 1024-char 
blocks implemented (4096)
Aug 21 17:02:24 erasmus last message repeated 15 times

I first noticed this after I had compiled a custom kernel - or a
couple of them - from kernel-source-2.2.17 provided with Potato. (This
would make the kernel itself pre6, if memory serves).

Machine I use is a Dell laptop.

(By the way... Did others get Gnus 5.8 work out-of-the-box? For me it
seemed impossible to make Gnus accept C-C C-C in message buffer. Kinda
limited its use... Gnus from Woody seems to work alrigh, though.)

Suonpää...



Re: how can I find broken symlinks

1998-03-31 Thread Samuli Suonpaa
Remco Blaakmeer [EMAIL PROTECTED] writes:
 Example:
 $ symlinks -r /
 This scans all mounted filesystems for symlinks.

No it does not.

$ man symlinks

...
   -r recursively  operate  on  subdirectories within the
  same filesystem.
...
BUGS
   symlinks  does not recurse or change links across filesys­
   tems.

Suonpää...


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


Re: HP Laserjet 6L

1998-03-19 Thread Samuli Suonpaa
Stefan Baums [EMAIL PROTECTED] writes:
 is anyone running the HP Laserjet 6L with Debian GNU/Linux? I'm using
 magicfilter 1.2-20, and the 6L is not in magicfilterconfig's list of suppor=
 ted
 printers. Can I use another filter (say, for the 4L) and will I be able to =
 get
 600x600 dpi with that?

I _think_ you should be able to do just fine with ljet4 instead of ljet4l. At 
least that's what I'm using with my LaserJet5L.

Suonpää...


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


Re: Windows under DosEmu

1998-03-17 Thread Samuli Suonpaa
Nelson Posse Lago [EMAIL PROTECTED] writes:
 The DOSEMU documentation mentions how to run win3 under dosemu; there's a
 Brazilian linux user that wrote a mini-HOWTO (in portuguese...) on running
 win95 under DOSEMU, and others reported success (and failure ;-).

Would there be any changes of getting that translated in English?

Portuguese, anyone?-)

Suonpää...


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


Re: viewing binary files

1998-03-12 Thread Samuli Suonpaa
Paul McDermott [EMAIL PROTECTED] writes:
 hello everyone,  someone tries to view a binary file how do you reset the
 console.  This happened on the console.  Thank you in advance.

Issue command reset.

Suonpää...


--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to [EMAIL PROTECTED]