PPP default route

2001-06-19 Thread Alex Suzuki
Hi everybody,

I recently bought myself a new laptop, with a built-in ethernet
card an a lucent winmodem, which I got to work with drivers from
http://www.heby.de/ltmodem

When at home, I connect my laptop to the inhouse lan and connect
to the internet through a DSL router. Its IP address in the lan
is 192.168.1.5, the gateway is 192.168.1.1 (router).
So my standard routing table looks like this.

Destination Gateway Genmask Flags Metric RefUse
Iface
localnet*   255.255.255.0   U 0  00 eth0
default router  0.0.0.0 UG0  00 eth0

I configured my ppp connection with pppconfig, and I have defaultroute
set. However, a default route already exists (it points to the lan gateway).
When I build up a connection using pon it connects, retrieves an
IP and the nameservers, but it does NOT set a new default route,
probably because one already exists.
As soon as the connection is up, my routing table looks like this

Destination Gateway Genmask Flags Metric RefUse
Iface
pop-ls-14-3-1.f *   255.255.255.255 UH0  00 ppp0
localnet*   255.255.255.0   U 0  00 eth0
default router  0.0.0.0 UG0  00 eth0

When I delete the default route before connecting using
/sbin/route del default

and then connect with the ppp service, the default route is set
to the correct (new) value.

Destination Gateway Genmask Flags Metric RefUse
Iface
pop-ls-14-3-1.f *   255.255.255.255 UH0  00 ppp0
localnet*   255.255.255.0   U 0  00 eth0
default pop-ls-14-3-1.f 0.0.0.0 UG0  00 ppp0

Is there any way to automatically delete the default route when
connecting, and after disconnecting restore it?
I tried putting a script into /etc/ppp/ip-up.d and /etc/ppp/ip-down.d
but it didn't get executed. I checked the file attributes and it
was world-executable. I even put a
echo "1" >/home/user/blafile
but blafile was never created.

Can somebody help?

Thanks a lot
Alex
-- 
Alex Suzuki ..::.. [EMAIL PROTECTED] ..::.. http://www.cynox.ch  
GEEK code:  GCS d+(-) s a--->-- C+++ UL P+>++ L+++> E- W+++$
N++ o? K? w-- !O !M V- PS+ !PE Y+ PGP- t+++ 5+ X@ R- tv--@ b+ DI
D++ G-- e* h-- r++ y+



Re: Java and flash plugin for Mozilla

2001-06-27 Thread Alex Suzuki
On Wed, Jun 27, 2001 at 09:41:57AM -0300, Christoph Simon wrote:
> That's what I did: Because of a comment I read in debian-user, I
> started Mozilla first as root (giving myself the permisions) and
> visited a site I knew is using java. Then I just had to follow the
> dialog boxes. and voilà! Now it's working also for a normal user---up
> to the point that java is not crashing. If it weren't for the bank, I
> wouldn't want to install it.

Hmm... I'm trying to do the same here, with the 0.9.1 packages from
unstable/non-us. I start Mozilla as root, and the Java 2 plugin
(I visit java.sun.com) seems to install fine (it says so in the
browser window). However, when I then close Mozilla, it is unable
to start. It says that some kind of installation is in progress,
I have to restart. It comes again and again.
I saw in one of the replies that there was an xpicleanup process
running, however, this is not the case on my machine. There is
no xpicleanup process running, so none to kill. I even rebooted
the machine once, but it still wouldn't start. I then removed
the xpicleanup.dat file, then it starts.
But then Java doesn't work, it prompts me again for installation
when I visit a Java site, despite some java stuff lying in
/usr/lib/mozilla-0.9.1. It also doesn't show up when I type
about:plugins as URL. Frustrated, I then delete /usr/lib/mozilla-0.9.1,
and copy back an old one.

Can somebody help?
Alex
-- 
Alex Suzuki ..::.. [EMAIL PROTECTED] ..::.. http://www.cynox.ch
GEEK code:  GCS d+(-) s a--->-- C+++ UL P+>++ L+++> E- W+++$
N++ o? K? w-- !O !M V- PS+ !PE Y+ PGP- t+++ 5+ X@ R- tv--@ b+ DI
D++ G-- e* h-- r++ y+



C routine that compares debian package versions

2001-07-11 Thread Alex Suzuki
Hello debian users,

I'm currently writing a small program in C that is supposed to
show me which packages I have from woody and which ones from
sid (my system is actually a mix of both of them).
Now, a problem I am likely to encounter soon are the version
numbers. Do the follow some kind of scheme?

For instance, package ssh
ssh 1:1.2.3-9.3

If I had the version string saved somewhere, and an other
one like 1:1.2.3-9.4, how can I compare them, is there a
function that can do this?

TIA
Alex
-- 
Alex Suzuki_.
:: Email:  [EMAIL PROTECTED]   ¦
:: WWW:http://www.cynox.ch  ¦
:: Linux shop: http://www.cynox.ch/isoshop/ ¦



deblist - a small program that may or may not be useful

2001-07-18 Thread Alex Suzuki
Hello fellow debian users,

I wrote a little C-Program that may or may not be ;-) useful for people
like me, that use a system that is a mix of woody and sid packages.

It downloads a list of all available packages from the official
woody and sid archives at http://http.us.debian.org, then it
compares that list with the list of installed packages.
It then outputs some information, how many and which packages from
woody you have installed, how many of them are out of date, then
it does the same for your installed sid packages, and it also
displays which packages you have installed that are currently the
same version in both archives.

It is split into two programs. One is a simple shell script that
uses wget, gunzip, grep and sed to generate the package lists.
the other one is a C program that does the comparing and reporting
business.

I have no idea if it will work for you, because I have not considered
any portability issues and such, and the makefile is extremely simple.

Download it, extract the tar.gz archive, then run make in the directory.
It should compile just fine. Then run the shell script
'update-package-files.sh" in the same directory. Then start the program
./deblist

I have tested this on an AMD Duron System with Debian woody installed.

This is the download URL:
http://www.cynox.ch/downloads/misc/deblist-0.11.tar.gz

Have fun
Alex
-- 
Alex Suzuki_.
:: Email:  [EMAIL PROTECTED]   ¦
:: WWW:http://www.cynox.ch  ¦
:: Linux shop: http://www.cynox.ch/isoshop/ ¦



Re: serious trouble with exim and procmail

2001-12-01 Thread Alex Suzuki
> It says that \246/usr/bin/procmail wasn't found.  That's the problem.
> Now the question becomes, why was it looking for that?, what is that
> \246 character doing?  Usually if there is not a preceding '0' the
> number is decimal, otherwise octal.  That character, in latin1, is an
> umluat (an 'o' with two dots above it) if '\246' is read as decimal,
> or it is a vertical bar with a break in it if '\246' is read as octal.
> 
> I notice that the character following the space after the '==' is not
> a regular pipe character.  It is 0xa6, which looks very much like a
> pipe in latin1 or utf-8.  However a regular pipe character, |, is
> 0x7c.  0xa6 is not part of the US-ASCII character set.  I bet this is
> where your problem is.  Now to check your config file :

Strange enough, after toying around (calling eximconfig a thousand
times), deleting and recreating ~/.forward and ~/.procmailrc files it
worked again.
I guess some stupid character in a config file messed it all up.

Thanks anyway,
Alex
-- 
¦ Alex Suzuki   | Personal page:  |
¦ Email:   [EMAIL PROTECTED]  | http://www.cynox.ch/asuzuki |
¦ Phone:  +41 56 631 33 25  | Linux ISO-Shop, günstig zu Linux kommen |
¦ Mobile: +41 76 579 33 25  | http://www.cynox.ch/isoshop |



install screensaver with setuid root

2001-05-05 Thread Alex Suzuki
Hi all,

I'm running testing/woody and recently downloaded the xscreensaver package,
including a very cool screensaver called "sonar". It is able to ping other
hosts and show the distance in a sonar-like style. The problem is that it
can only do that if it has been installed "setuid root".

here's what it's manpage says:
 "In order to use the ping sensor, this program must be
  installed as setuid root, so that it can create an ICMP socket."

How do I do that?

Thanks for any help.

Regards,
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: timeout waiting for DMA

2001-05-05 Thread Alex Suzuki
On Sat, May 05, 2001 at 07:26:09AM -0400, Michael P. Soulier wrote:
> Hey people. 
> 
> I'm trying to enable DMA on my wife's harddrive. Here's some info.

I'm not sure if this is of any help to you, but I did the same here, and
I used this article as a guide:
http://www.oreillynet.com/pub/a/linux/2000/06/29/hdparm.html

Maybe you're missing a parameter somewhere.

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: install screensaver with setuid root

2001-05-05 Thread Alex Suzuki
On Sat, May 05, 2001 at 09:28:33AM -0500, John Hasler wrote:
> Don't.  X programs should not be setuid root.

Why? Is this a security issue (like remotely connecting to
my X-Server?

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: install screensaver with setuid root

2001-05-05 Thread Alex Suzuki
On Sat, May 05, 2001 at 12:42:36PM -0500, John Hasler wrote:
> Even if the application itself is free of buffer overflows and such you
> would be granting root access to wads of unaudited and buggy library code.

yeah, I guess you're right... too bad I love that screensaver :)
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: install screensaver with setuid root

2001-05-07 Thread Alex Suzuki
On Mon, May 07, 2001 at 04:12:51AM -0400, Rob Mahurin wrote:
> You should probably file a bug on the package, if it's not useable
> without introducing a security risk.  Perhaps someone more familiar
> with the code could seperate out the part that needs special
> privileges into a seperate setuid program.

The problem is that the ping sensor is actually a special feature, you
can use the screensaver if it's not setuid root, you just can't access
that feature.

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Filtering mail w/ procmail

2001-05-07 Thread Alex Suzuki
On Mon, May 07, 2001 at 06:55:52AM -0600, Cameron Matheson wrote:
> Hey,
> 
> * ^X-Mailing-List: <[EMAIL PROTECTED]>
> Mail/sdl
> 
> 
> Unfortunately, only the debian list is filtered.  I'm assuming this is because
> my syntax is wrong, but the man page and examples didn't help me find my
> problem.  Anyone know what's going on?

The syntax of your procmailrc is correct, as far as I can see. But
not all Mailinglists use the "X-Mailing-List: " Header. There are
some that use the "Sender: " Header to identify themselves. Just
sift through your incoming messages and check for a unique header
specifying the mailing list.

Here's how my procmailrc looks like:

--
MAILDIR=$HOME/Mail

:0:
* ^Sender:[EMAIL PROTECTED]
lugs

:0:
* ^Sender:[EMAIL PROTECTED]
linux

:0:
* ^Sender:[EMAIL PROTECTED]
galeon-user

:0:
* ^To:[EMAIL PROTECTED]
nedit-discuss
 
:0:
* ^X-Mailing-List:[EMAIL PROTECTED]
debian-user
--

As you can see, I only use hte X-Mailing-List header for the
debian list.

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Strong encryption for mozilla (woody)

2001-05-07 Thread Alex Suzuki
On Mon, May 07, 2001 at 02:20:24PM +0200, Preben Randhol wrote:
> Hall Stevenson <[EMAIL PROTECTED]> wrote on 07/05/2001 (14:02) :
> > If you're a gnome user, why not try galeon ?? It's site is here:
> > http://galeon.sourceforge.net/. I've used it in the past and it's
> > quite nice...

I am using it right now and it works great.

> Do you know where one can get the Debian pacakges? The download link on
> that page does not work.

This is were my I get them:

# Mozilla and Galeon DEBS
deb http://www.markybob.com/mozilla/deb/ ./

You might want to www.markybob.com first for more info...

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Strong encryption for mozilla (woody)

2001-05-07 Thread Alex Suzuki
On Mon, May 07, 2001 at 09:36:53AM -0500, John Hasler wrote:
> I tried it.  I found it neither more stable nor faster than Navigator
> (though with a 28.8 connection browser speed is not a problem anyway).

I can't believe that. Opera loads about 5 times faster than Navigator here,
and is very quick in displaying sites. If the webpage doesn't have exotic
javascripts and stuff, opera will not crashe. Beta 8 just came out a week
ago and I tried it, after having used Beta 7, and I must say it has improved
only little, it is still one of the best browsers around!

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: install screensaver with setuid root

2001-05-08 Thread Alex Suzuki
On Mon, May 07, 2001 at 12:54:52PM -0400, Rob Mahurin wrote:
> This is the purpose of "wishlist" bugs.  See bug#96677.

> Severity: wishlist; Package: xscreensaver; ;Reported by: Rob Mahurin <[EMAIL 
> PROTECTED]>; dated Mon, 7 May 2001
Hey, thanks for sending that "bug" in!

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Opera 5 is out!

2001-05-14 Thread Alex Suzuki
Hey everybody,

Just wanted to say that Opera 5 (final) has been released. It replaces
Beta 8, and should be very stable.

ftp://ftp.opera.com/pub/opera/linux/500/

Have fun...
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Linux compatible IDE CDRW

2001-05-16 Thread Alex Suzuki
On Thu, May 17, 2001 at 12:36:02AM +1000, [EMAIL PROTECTED] wrote:
> Which would be the best for me to get?
>  
> Plextor CD-RW PX-W1210TA 12/10/32 IDE 2m Buffer Burn-Proof

I have that drive and it works very well for me. Burn-proof is a must
these days, and is supported in the recent versions of cdrecord.

> Even though I can't find anywhere that says anything about any of these
> being MMC-complient, are they?  I read somewhere that all CDRW IDE

the plextor is mmc-compliant.

Regards,
Alex Suzuki
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Console keyboard mapping

2001-05-17 Thread Alex Suzuki
On Thu, May 17, 2001 at 08:00:41PM +0200, Dominique Deleris wrote:
> Some time ago, during an "apt-get upgrade" in testing, I've lost
> my swiss-french keyboard layout for the console. I am not able to
> get it back :(
> 
> It seems that kbdconfig has disappeared in utils/kbd from woody.
> 
> What's the alternative ?

Install package console-data. It contains all keymaps, they are
stored in /usr/share/keymaps. Pick the one that's right for you,
I'm using a swiss-german keyboard, so I chose
i386/qwertz/sg-latin1.kmap.gz
You probably want to use
i386/qwertz/fr_CH-latin1.kmap.gz

The keymap gets loaded early during the booting process, a start
script is involved, it's located at
/etc/init.d/keymap.sh
my file calls
loadkeys /etc/console/boottime.kmap.gz

so my solution was to just copy
/usr/share/keymaps/i386/qwertz/sg-latin1.kmap.gz
to
/etc/console/boottime.kmap.gz

That did it for me.

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: announce galeon-0.10.6 unofficial package

2001-05-23 Thread Alex Suzuki
On Wed, May 23, 2001 at 03:49:26PM +0200, christophe barbé wrote:
> i all,
> 
> I've made a debian package for galeon 0.10.6.
> This package is build against sid (aka unstable)(should certainly rebuild
> against other debian dists).
> It requires a patched version of mozilla 0.9.
> I've rebuild the kitame packages with this patch and you can apt-get it at
> the same url.
> 
> Feedback is welcome.
> 
> http://christophe.barbe.online.fr/debian/

Hello Christophe,

I added
deb http://christophe.barbe.online.fr/debian/ ./

to my sources.list but it didn't work.

What apt says:
--
Failed to fetch http://christophe.barbe.online.fr/debian/./Packages  404 Not
Found [IP: 212.27.35.7 80]
--
W: Couldn't stat source package list http://christophe.barbe.online.fr ./
Packages (/var/lib/apt/lists/christophe.barbe.online.fr_debian_._Packages) -
stat (2 No such file or directory)
--

i can access your site via a webbrowser, and it works fine then.

Regards,
Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Need a file - /etc/network/interfaces

2001-05-23 Thread Alex Suzuki
On Wed, May 23, 2001 at 11:19:16AM -0700, Scott Fraser wrote:
> Afternoon All,
> 
> Could someone please email me a copy of the above file that is setup to
> use eth0?
> 
> I forgot to email myself a copy of one from home for a box I am setting
> up today.
> 
> Cheers and Thanx in advance,
> Scott

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian
installation# (network, broadcast and gateway are optional)
# automatically added when upgrading
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
    gateway 192.168.1.1

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: announce galeon-0.10.6 unofficial package

2001-05-24 Thread Alex Suzuki
On Thu, May 24, 2001 at 12:49:15AM +0200, joost witteveen wrote:
> 
> > > http://christophe.barbe.online.fr/debian/
> 
> > What apt says:
> 
> I use wget, and the installed galeon works!

Well, it wouldn't have worked anyway, since the dependecies are
for sid, and i'm using woody.
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Disk performance and SWAP file location

2001-05-26 Thread Alex Suzuki
On Fri, May 25, 2001 at 05:45:38PM -0500, Walter L. Preuninger II wrote:
> I wouild like to optimize my partitioning scheme

Hello Walter,

Have you read Karsten Koehntopps Partitioning HowTo?
http://www.linuxdoc.org/HOWTO/mini/Partition/index.html

Regards,
Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: installing galeon from rpms

2001-05-26 Thread Alex Suzuki
On Sat, May 26, 2001 at 09:06:18AM +, Alexander Isacson wrote:
> Hello all.
> 
> I'm wondering if anyone has tried installing mozilla 0.9 and galeon-0.10.6 
> from
> rpms?
> Since no debs exist to my knowlege I was planning to create some with alien. 
> Which RPM pagackge should I should I choose?
> Compiling from source is somewhat of a hassle.

Hello Alex,

Christophe Barbe has made excellent debs including a patched mozilla 0.9 (fixes
tab crash) and galeon 0.10.6.
I quote:

>Hi all,
>
>I've made a debian package for galeon 0.10.6.
>This package is build against sid (aka unstable)(should certainly rebuild
>against other debian dists).
>It requires a patched version of mozilla 0.9.
>I've rebuild the kitame packages with this patch and you can apt-get it at
>the same url.
>
>Feedback is welcome.
>
>http://christophe.barbe.online.fr/debian/
>
>Christophe

note that it is __not__ yet apt-gettable, because the author is looking
for an ftp-host to support it (read the thread on galeon-user). You have
to download them manually and dpkg -i & apt-get -f install them.

Regards
Alex :)
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: galeon 0.10.6 Packages anywhere ?

2001-05-26 Thread Alex Suzuki
On Sat, May 26, 2001 at 12:51:30PM +0200, Bernhard Josef Rieder wrote:
> Are there any new packages on the web or am I just to
> stupid to find them? Currently I have to use Opera 5
> and I really do not like it. The look&feel is by

Please read the list more carefully. I replied to a very similar post
yesterday. Christophe Barbe has made packages with Galeon 0.10.6 and
patched Mozilla 0.9

>Hi all,
>
>I've made a debian package for galeon 0.10.6.
>This package is build against sid (aka unstable)(should certainly rebuild
>against other debian dists).
>It requires a patched version of mozilla 0.9.
>I've rebuild the kitame packages with this patch and you can apt-get it at
>the same url.
>
>Feedback is welcome.
>
>http://christophe.barbe.online.fr/debian/
>
>Christophe


-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Strange problem with Plextor IDE-Drive W121032A

2001-05-26 Thread Alex Suzuki
Hello folks,

I'm not sure if the solution to this problem has already been posted,
so sorry if this is a known issue.
I have searched Google and the Usenet for the answer of this question.
I have 2 IDE-Drives, one of them is a Plextor CD-Writer.
I have SCSI-Emulation enabled, ATAPI CDROM disabled, basically all the
settings that you should have according to the various howtos.
CD-Writing with the plextor works fine, data cds aswell as audio cds.
But MOUNTING e.g. using the plextor drive for accessing data on cds
does NOT work. I cannot mount it as a user nor as root.
In fact the mount command sometimes says something about a bad superblock
but sometimes it "mounts" the cdrom but when i change into the plextor
directory and type ls, just random stuff is displayed.

sample:

[EMAIL PROTECTED]:/plextor$ ls -l
total 68
dr-xr-xr-x1 root root 8192  2. Mär 1999  ???
dr-xr-xr-x1 root root 8192  2. Mär 1999  ???
-r-xr-xr-x1 root root20345 24. Jun 1998  ??
-r-xr-xr-x1 root root20345 24. Jun 1998  ??
-r-xr-xr-x1 root root  877 29. Jul 1998  ???
-r-xr-xr-x1 root root  877 29. Jul 1998  ???
-r-xr-xr-x1 root root  877 29. Jul 1998  ???
-r-xr-xr-x1 root root  877 29. Jul 1998  ???
-r-xr-xr-x1 root root  877 29. Jul 1998  ???
-r-xr-xr-x1 root root  877 29. Jul 1998  ???
-r-xr-xr-x1 root root  877 29. Jul 1998  ???
-r-xr-xr-x1 root root  877 29. Jul 1998  ???

The drive is mounted by asuzuki.

these are the relevant entries of my /etc/fstab

# /etc/fstab: static file system information.
#
# 
/dev/cdrom  /cdrom  iso9660 defaults,ro,user,noauto 0 0
/dev/cdr/plextoriso9660 defaults,ro,user,noauto 0 0

/dev/cdr is a link to /dev/scd0.

Sometimes when I mount the drive in /plextor, and then try to change
into that directory, it says that it is no directory, and all of
a sudden ls / actually tries to tell me that /plextor is no longer
a directory, but a file. When I umount the drive, the directory
is back.

During the mounting process, error messages are output which I
can see by calling dmesg.

ide-scsi: The scsi wants to send us more data than expected - discarding data
ide-scsi: The scsi wants to send us more data than expected - discarding data
ide-scsi: The scsi wants to send us more data than expected - discarding data
ide-scsi: The scsi wants to send us more data than expected - discarding data
ide-scsi: The scsi wants to send us more data than expected - discarding data
ISO 9660 Extensions: Microsoft Joliet Level 1
ide-scsi: The scsi wants to send us more data than expected - discarding data
ISOFS: changing to secondary root
ide-scsi: The scsi wants to send us more data than expected - discarding data


I have seen a couple of mails in archives on the net, where the
same question was asked, and nobody had an answer.

Does anybody know what's going on here?

BTW: some lines are more than 80 characters. I apologize for that.
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Strange problem with Plextor IDE-Drive W121032A

2001-05-28 Thread Alex Suzuki
On Sun, May 27, 2001 at 02:38:02PM -0400, Alexander Stavitsky wrote:
> I had a problem with Plextor drive a while ago.
> Your problem sounds vaguely familiar.
> Try switching DMA off for the plextor drive.
> In my case that was the solution.

Hello Alexander,

when would I have to do that? The SCSI emulation is started early,
as I pass
hdc=ide-scsi hdd=ide-scsi
to the kernel. Afterwars its not possible to adjust DMA for the
drive via hdparm. I even think the drive can't handle DMA, it can
only do PIO?
How did you do it? What mechanism did you use?

Regards,
Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Strange problem with Plextor IDE-Drive W121032A

2001-05-28 Thread Alex Suzuki
On Sun, May 27, 2001 at 02:38:02PM -0400, Alexander Stavitsky wrote:
> I had a problem with Plextor drive a while ago.
> Your problem sounds vaguely familiar.
> Try switching DMA off for the plextor drive.
> In my case that was the solution.

Correction, it does seem to work. I will further investigate and see
if this works out.

duron:~# hdparm -d0 /dev/hdc

/dev/hdc:
 setting using_dma to 0 (off)
 using_dma=  0 (off)





-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: root via ssh / why su - ?

2001-05-29 Thread Alex Suzuki
On Mon, May 28, 2001 at 11:26:06AM -0500, Dave Sherohman wrote:
> If you've got a PalmPilot, etc., there's a wonderful utility called STRIP
> (Secure Tool for Remembering Important Passwords) that does just this.  It
> stores and categorizes passwords in an encrypted (either DES or IDEA,
> depending on which version you download) database.

Is there such a utility for a Linux system? I'm in need of one. I currently
save some of my passwords (no root passwords, sorry) in a -rwx-- file :)

Regards,
Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Moving to reiserfs with kernel 2.4.3

2001-06-07 Thread Alex Suzuki
Hello everybody,

I've just a small question: Why, are there reiserfs-patches for 2.4.x
kernels, whereas reiserfs since 2.4.1? I'm using 2.4.3 and a quick

[EMAIL PROTECTED]:/usr/src/linux$ cat .config | grep REISER

reveals

CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set

which are clearly reiserfs options. Then of course I need
reiserfsprogs which I have installed using
apt-get install reiserfsprogs

What are the next steps to move to reiserfs as root filesystem? Is
there a good howto around?

Can I just cp -a the whole root to another spare filesystem,
reformat / to reiserfs and then copy it back?

Thanks for any help/suggestions/flames :)

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Strange problem with Plextor IDE-Drive W121032A

2001-06-07 Thread Alex Suzuki
On Wed, Jun 06, 2001 at 11:19:39AM +0100, [EMAIL PROTECTED] wrote:
> On (26/05/01 20:31), Alex Suzuki wrote:
> > I have 2 IDE-Drives, one of them is a Plextor CD-Writer.
> ..
> > I cannot mount it as a user nor as root.
> 
> I'm shortly going to be buying one of these drives myself and I found
> a possible solution to your problem at a Linux hardware site:-
> 
> http://lhd.datapower.com/db/dispproduct.php3?DISP?1979

Thanks, but I already solved the problem. Just call
hdparm -d0 /dev/*wherever_your_drive_is*
to turn off DMA. That solved the problem for me.

Alex

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: information request

2001-06-07 Thread Alex Suzuki
On Tue, Jun 05, 2001 at 06:34:36PM -0500, ktb wrote:
> It is said and repeated like a mantra.  Debian's install keeps getting
> easier and people keep repeating that exact same thing.  It's not *that*
> hard to install.  There is also Progeny.  It has an even easier install
> than debian and for all practical purposes is debian.  Why no
> recommendation for that distro?  People always assume that a newbie wants
> the easiest route to linux.  I don't know why people assume that.
> kent

This is exactly what I think. I still consider myself more or less
newbie, I started using SuSE (6.dunno), and read online tutorials. But most
of the time those tutorials did not apply to my system, either because of
SuSE's violation of the Linux file hierarchy recommendations (not to mention
its central config file rc.config) or because you could do it with yast.
Buy a debian-based distro like progeny with good documentation or try the
"real" debian. However, I think it's really important to have a good
printed-out documentation you can rely on for the first steps in Linuxland.
Now I'm proudly running woody, and I can say that I have gathered some
knowledge about Linux, that I probably wouldn't have gathered if'd used
Suse Linux.

but again, just my 2 cents...

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Moving to reiserfs with kernel 2.4.3

2001-06-07 Thread Alex Suzuki
On Wed, Jun 06, 2001 at 10:07:07PM -0400, Jonathan D. Proulx wrote:
> I haven't done this, but what I'd do is copy the files in / some where
> (very carefully to preserve permissions and preferably time stamps, I
> like to use cpio but you can also do it with tar, "cp -a" might be
> good enough).  Make sure this some where is the top of another
> partition so you can twiddle you lilo.conf, run lilo and use this new
> place as root temporarily.
> 
> Reboot. mkreiserfs on the old root, copy the root fs back, reset lilo,
> reboot.
> 
> or it may be simpler to tar up you root, boot from a rescue disk (with
> reiserfs support), mkreiserfs on the root, untar your magic tarball,
> and reboot.
> 
> Though in all likely hood you'll need to rerun lilo in there since the
> physical location of your kernel image will change.  Not sure about
> that so much.
> 
> Just some thought, take with generous portions of salt.

Maybe I will just buy a new harddrive (I wanted to buy one anyway),
partition it, format it, then copy the stuff, run lilo... bang :)
I guess that's the safest way to upgrade to reiserfs or xfs.
What do you think?

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



package libcommonc++-dev kept back

2001-06-07 Thread Alex Suzuki
Hello everyone,

It's been a week or so since this is occuring to me. I'm using
testing/woody, and every time I do the routine
$ apt-get update
$ apt-get -u dist-upgrade
the following pops up.

--
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back
  libcommonc++-dev 
--

Apart from that, it works just fine. A quick
$ apt-get install libcommonc++-dev
gives me

--
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  libcommonc++-dev: Depends: libcommonc++-1.4 (= 1.4.2-1) but it is not
installable
E: Sorry, broken packages
--

What's wrong? Does anybody know this? It's quite annoying to see
that message every time I upgrade my beloved woody box.

Thanks for help
Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Moving to reiserfs with kernel 2.4.3

2001-06-07 Thread Alex Suzuki
On Thu, Jun 07, 2001 at 07:53:07AM -0700, Dave Carrigan wrote:
> 3. Run `parted /dev/hda' and do

I will use Partition Magic for this. It never failed me, and it is
very easy to use. You can just pop in the 2 floppys and you have a
fully-featured UI to shrink, move, convert, delete, create partitions.

> 4. Reboot into single user mode: hit shift at the lilo prompt, and do
>linux -s, or do a full boot, then do `shutdown now'.

Does re-partitioning the drive not affect lilo? Will it still be
able to find the kernel ie. boot?

Thanks for your very informative howto :) I will definitely use this
as a resource.

Thanks again,
Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: package libcommonc++-dev kept back

2001-06-08 Thread Alex Suzuki
On Fri, Jun 08, 2001 at 01:15:16AM +0100, Colin Watson wrote:
> It turns out that the bug is a build problem with autoconf 2.50, so I
> think you can safely ignore that and install the package from unstable.

Thanks : )

Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Strange drive issue when using Win98 and Debian

2001-06-09 Thread Alex Suzuki
Hi there,

I'm using Debian woody almost exclusively on my box, but I still
have a Win98 Partition, primarly to read those wacky .doc files
with crazy formatting that StarOffice just can't read right.
The thing is, Windows used to access 3 drives when it was
installed.
C: which is /dev/hda1, which is a FAT32 drive, this actually
the only FAT32 partition left at the moment
D: which was /dev/hdb1, which is now exclusively used by Linux,
formatted as ext2 and
E: which was /dev/hda7, which is now also used exclusively
under Linux, mounted as /home

The problem is, when I boot Win98, it still shows me those
two drives, despite that it obviously shouldn't be able to
make sense of them, since they are ext2. The drives appear
with strange labels like "*"&[EMAIL PROTECTED]", just random gibberish.
When I choose it in Explorer, it just displays some strange
and directories which ARE not there.
My question: How do I tell Windows that it is no longer
allowed to access or even see those drives?

Thanks
Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: Strange drive issue when using Win98 and Debian

2001-06-09 Thread Alex Suzuki
On Sat, Jun 09, 2001 at 07:05:58AM -0500, ktb wrote:
> Are D: and E: mapped drives?
> kent

Kent, I solved the problem. I just had to rewrite the partition
table to the disk. It seemed that the entries in the partition
table still seemed to be FAT32 for the drives, but they were
formatted ext2. I used cfdisk to write the table down.
It worked.

-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: program response sluggish compared to Win98

2001-06-09 Thread Alex Suzuki
On Sat, Jun 09, 2001 at 08:02:40AM -0400, Rob Mahurin wrote:
> You are wrong --- WP8 was natively written for Linux.  It's WP9, aka
> WP2000, that's run under wine, and wow is it horrible.

Does anybody know how the Corel Office Suite (WP2000) compares to
StarOffice in terms of performance & compatbility to M$-Word format?
I have StarOffice installed here, and hey, I mean I've got a
750 MhZ Duron processor, a quick harddrive and 512 Megs of RAM,
and I still wouldn't recommend it!

Thanks
Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



the .xinitrc and .xsession puzzle

2001-06-10 Thread Alex Suzuki
Hello friends,

I wanted to ask you guys what ~/.xinitrc and ~/.xsession are all about.
I run Debian woody, GNOME and sawfish as my windowmanager (sawfish-gnome
package).
Somehow GNOME just can't remember its settings, and I think I screwed up
those files anyway. Which one gets read when I start X with startx?
I don't use a display manager like xdm or gdm or whatever.

this is what my .xinitrc looks like:

galeon -s &
xsetroot -solid black &
exec sawfish &
panel


This is what .xsession looks like

#!/bin/sh

xsetroot -solid slategrey &
xrdb -load $HOME/.Xdefaults
exec /usr/bin/gnome-session


Could anybody solve this puzzle for me? Can anyone with a similar
configuration (GNOME/sawfish) post his/her .xinitrc and .xsession?

Regards,
Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: program response sluggish compared to Win98

2001-06-10 Thread Alex Suzuki
On Sat, Jun 09, 2001 at 07:39:45PM +0200, Alson van der Meulen wrote:
> For me, the performance of StarOffice, apart from the startup time,
> isn't that bad, using a 750 mhz Duron, 256 Mb ram and a rather slow
> harddrive.

Yes, as soon as it's up and running its ok. But its still abit sluggish.
But you would expect more on such a machine. StarOffice is just bloated
if you ask me. The only components I will ever use is the word and the
spreadsheet application.
Not to mention the ugly windows-like look with a "Start" button at the
bottom left (that beats me).
 
Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: the .xinitrc and .xsession puzzle

2001-06-10 Thread Alex Suzuki
On Sun, Jun 10, 2001 at 11:14:33AM -0500, ktb wrote:
> On Sun, Jun 10, 2001 at 12:42:47PM +0200, Alex Suzuki wrote:
> back-grounded with "&".  Usually back-grounding everything but you're 
> window manager is the way to go.
> hth,
> kent

Thanks kent. I'm now using .xinitrc exclusively.

xsetroot -solid black &
sawfish &
panel

I'm also backgrounding the windowmanager because I'm using gnome.

Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Slow and ugly X startup with NVidia drivers

2001-06-10 Thread Alex Suzuki
Hello friends,

This is already bothering me for a while, but I never really
cared. But now I just want it fixed.
The problem: I use X 4.0.3 as in testing, and the Nvidia kernel
and GLX drivers, I'm _not_ using the newest ones, because I
heard that there are problems with them.

When I start X with startx, it takes rather long until the
screen is filled with something useful. It flickers a couple
of times, there is a green horizontal line at the top of the
screen, then, as soon as I move the mouse around, or just after
having waited 5 seconds or so, the windowmanager and the GNOME
panel appear. I remember when I was using a PII-400 with the
same graphics card (Nvidia Geforce DDR) but not with the
nvidia drivers, this problem did not occur, and X started alot
faster. so I guess it has something to do with those nvidia
drivers. Could it be some configuration issue I missed? Has
anybody seen this on his/her machine?
I'm using nvidias AGP implementation, not the kernel one
(agpgart).

Thanks for any info
Alex
-- 
Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch
To send me an email, remove NOSPAM from the above address



Re: the .xinitrc and .xsession puzzle

2001-06-11 Thread Alex Suzuki
On Mon, Jun 11, 2001 at 05:53:45PM +1000, Steve Kowalik wrote:
> E?
> If you want to drag in gnome you put 'gnome-session' at the end of .xinitrc

I don't really need GNOME's session capability. The only thing I use of
GNOME is the panel.

Alex
-- 
Alex Suzuki ..:.. [EMAIL PROTECTED] ..:.. http://www.cynox.ch  
GEEK code:  GCS d+(-) s a--- C+++ UL P+ L+++ !E  W++ N++ o? K?
w-- !O !M V- PS+ !PE Y+ PGP- t+++ 5+ X@ R- tv--@ b+ DI D++ G--
e* h-- r++ y+



Re: Slow and ugly X startup with NVidia drivers

2001-06-12 Thread Alex Suzuki
On Mon, Jun 11, 2001 at 09:10:30PM -0600, ray p wrote:
> The newest drivers work fine here and fix the problem you are having.

thanks. I will then have to try those new drivers anyway :)


-- 
Alex Suzuki ..:.. [EMAIL PROTECTED] ..:.. http://www.cynox.ch  
GEEK code:  GCS d+(-) s a--- C+++ UL P+ L+++ !E  W++ N++ o? K?
w-- !O !M V- PS+ !PE Y+ PGP- t+++ 5+ X@ R- tv--@ b+ DI D++ G--
e* h-- r++ y+



fetchmail question

2001-06-15 Thread Alex Suzuki
Hi everybody,

I'm using fetchmail in a system-wide configuration, with a global
/etc/fetchmailrc that looks like this:

***
# Ausgabe geht an Syslog daemon, erscheint in /var/log/messages
set syslog
set postmaster "postmaster"

# Alle 2 Minuten wird einmal Mail geholt
set daemon 120

poll server1 with proto POP3
user "user1" there with password "***" is asuzuki here

poll server2 with proto POP3
user "user2" there with password "***" is asuzuki here
***

The first account is for my personal mail and the second is for all
mailinglists, basically non-personal stuff. I seperated them because
I was getting 400+ mails per day due to mailing lists, and I now
own a laptop, which only needs to access personal mail.

My question is how do I leave mail on server for the first account
but download&delete it for the second one.
When I used a single-user setup of fetchmail, I just typed fetchmail -k
but I don't know how to tell the fetchmail daemon to do so.
Can anybody help?

Alex
-- 
Alex Suzuki ..:.. [EMAIL PROTECTED] ..:.. http://www.cynox.ch  
GEEK code:  GCS d+(-) s a--- C+++ UL P+ L+++ !E  W++ N++ o? K?
w-- !O !M V- PS+ !PE Y+ PGP- t+++ 5+ X@ R- tv--@ b+ DI D++ G--
e* h-- r++ y+



Re: sawfish, testing, unstable

2001-06-16 Thread Alex Suzuki
On Sat, Jun 16, 2001 at 12:15:19AM -0700, chamster wrote:
> I did this a while back and don't remember having any problems. I don't
> think there are dependencies with GNOME via sawfish. There is a
> sawfish-gnome version, but that wouldn't pertain to you.

Yes, indeed. That did the trick for me aswell. 

-- 
Alex Suzuki ..:.. [EMAIL PROTECTED] ..:.. http://www.cynox.ch  
GEEK code:  GCS d+(-) s a--- C+++ UL P+ L+++ !E  W++ N++ o? K?
w-- !O !M V- PS+ !PE Y+ PGP- t+++ 5+ X@ R- tv--@ b+ DI D++ G--
e* h-- r++ y+