Re: How to figure out if a package repository index has been updated.

2006-04-28 Thread Alex Polite

On 4/28/06, James Westby <[EMAIL PROTECTED]> wrote:


Isn't there a checksum for all the Packages.gz in the Release file?



That's it. Thanks a bunch.

alex

--
Alex Polite
http://flosspick.org - finding the right open source



How to figure out if a package repository index has been updated.

2006-04-28 Thread Alex Polite

I'm rewriting flosspick.org and learning Ruby on Rails at the same time.

dpkg-ruby doesn't take debtags into account so I need to write my own
stuff. One thing I'm trying to figure out is how one can know  
whether a Packages.gz file in a repository has changed since you last

downloaded it *without* downloading it again.

Apparently there is a way to do this since two consecutive  runs of
apt-get update will not get all index files afresh.

I skimmed the Debian Package Repository HOWTO but didn't find anything
in there to help me.

alex

--
Alex Polite
http://flosspick.org - finding the right open source



Re: Is my system compromised

2006-02-05 Thread Alex Polite
On 2/3/06, Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote:
> But how come I find no google hits at all for distwatchd?

Maybe the Chinese mistook it for a human rights watch group ;)

http://en.wikipedia.org/wiki/Google#Censorship_in_mainland_China

--
Alex Polite
http://flosspick.org - finding the right open source



[OT]AGP card for dual DVI setup?

2006-01-11 Thread Alex Polite
This is slightly off topic, more a general linux question.

I'm building a new desktop for office work, and I'm thinking of
running dual screens. Both screens will have DVI inputs. What's
simplest to configure.

1) 1 AGP + 1 PCI card
2) 1 AGP card with dual DVI output

Any recommendations, as to specific hardware?

--
Alex Polite
http://flosspick.org - finding the right open source



hotplug usb audio

2005-10-08 Thread Alex Polite
When I connect my usb audio-dongle I want all audio output to be
redirected to that device. I guess that this involves restarting alsa
and artsd from a hotplug
script. Anyone doing that already? Got a script laying around
somewhere?

alex
--
Alex Polite
http://flosspick.org - finding the right open source



Re: Precompiled kernels - batteries included.

2005-09-11 Thread Alex Polite
On 9/11/05, Jon Dowland <[EMAIL PROTECTED]> wrote:

> Whilst not the solution you're looking for, why not harness the debian
> kernel infrastructure, so that these modules are handled by make-kpkg?
> 

I've been doing that for a long time. Helps some.

alex

-- 
Alex Polite
http://flosspick.org - finding the right open source



Precompiled kernels - batteries included.

2005-09-11 Thread Alex Polite
I've been compiling my own kernels for a good many years.
The charm of it all is starting to fade.

Every time I have to go and find the most recent versions of madwifi,
shfs, lirc and other modules I use that are not included in the kernel
tree. Just getting madwifi right takes an hour every time.

Now I just want to get precompiled kernels, but the ones in sid won't
do it for me. Is there anyone out there that maintains a set of kernel
packages with lots of extras included? And with CONFIG_PREEMPT=y

alex


-- 
Alex Polite
http://flosspick.org - finding the right open source



apt stuck on apache in sarge

2005-06-28 Thread Alex Polite
Apt is stuck on apache. It will neither  install nor remove.

>apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 88 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache (1.3.33-6) ...
dpkg: error processing apache (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 apache
E: Sub-process /usr/bin/dpkg returned an error code (1)


How do I solve this?

alex

-- 
Alex Polite
http://flosspick.org



dvds burnt in k3b won't show up on mac os x

2005-06-11 Thread Alex Polite
I've burnt several DVDs using k3b. They'll show up alright under linux
but not on my Mac OS X system. Does this ring any bells with you? I
don't know where to start debugging this.
-- 
Alex Polite
http://flosspick.org



Emacs CVS packaged for Sarge?

2005-05-19 Thread Alex Polite
Where can I find Emacs CVS prepackaged for Sarge?

alex

-- 
Alex Polite
http://flosspick.org



Re: Howto make a boot floppy for my broken system.

2005-05-17 Thread Alex Polite
> Maybe you can move them back into the original order?

No. I had two drives on the same IDE channel. The Software RAID howto
tells me this is a Bad Thing.

> If you need an initrd, you will need to install a bootloader like
> GRUB (preferably) or LILO onto the floppy anyway.  I do not see why
> installing GRUB on a floppy is easier than installing it on your
> harddisk.

If I put everything on a floppy/CD then at least I don't have to worry
about RAID autodetection issues. So maybe it's a bit simpler.


> 
> Unless you provide more information about your setup, no one will be
> able to help you.  Which kernel?  Type of disks?  Raid type?
> Partition layout?  And "won't boot any longer" is not a very exact
> error description, too.

2.6.9 kernel, software raid level 5, reiserfs, three IDE drives.

I get into LILO and then later on I get this:

"Kernel Panic: cannot open initial console, please try passing valid
init= option to the kernel

alex
-- 
Alex Polite
http://flosspick.org



Howto make a boot floppy for my broken system.

2005-05-17 Thread Alex Polite
My RAID array broke down the other day.  Using Knoppix I've managed to
reassemble the array but it won't boot any longer. (Maybe due to the
fact that I've moved the drives around.)

Rather than figure out how to get system to boot from RAID I'd like to
make a boot floppy or boot CD for it.

Could someone please point me to a relevant howto? I've tried googling
but get swamped with irrelevant results.

TIA alex

-- 
Alex Polite
http://flosspick.org



Re: Tool for finding and choosing access point.

2005-01-03 Thread Alex Polite
After some more googling I found kismet. It does just what I
want. It's also packaged for Debian.

alex


-- 
Alex Polite
http://polite.se


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



Re: Tool for finding and choosing access point.

2005-01-01 Thread Alex Polite
On Fri, Dec 31, 2004 at 07:51:26PM -0500, Adam Aube wrote:
> Alex Polite wrote:
> 
> > What debian packaged tool will let me choose a wireless access point
> > to attach to?
> 
> The 'ap' option to iwconfig (part of the wireless-tools package).
> 

Thanks. But I'm thinking of the situation where I don't know the name
of the access points.

alex

-- 
Alex Polite
http://polite.se


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



Tool for finding and choosing access point.

2004-12-30 Thread Alex Polite
What debian packaged tool will let me choose a wireless access point
to attach to?


I have this in /etc/network/interfaces

---
auto ath0
iface ath0 inet dhcp
   wireless_mode managed
---

That's fine when I'm at home and there is only one access point in
range, but it won't always work when there are multiple access points
in range.

alex

-- 
Alex Polite
http://polite.se


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



mplayer package compiled with jack support

2004-12-30 Thread Alex Polite

I use the mplayer package from here:

deb ftp://ftp.nerim.net/debian-marillat/ unstable main


It lacks jack support. Does anyone know of a mplayer package compiled
with jack support?

alex

-- 
Alex Polite
http://polite.se


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



Re: playing mkv files.

2004-11-18 Thread Alex Polite
On tor, nov 18, 2004 at 03:41:16 -0500, Michael Spang wrote:

> There is no Debian package for mplayer, which plays mkv files (and just 
> about anything else imaginable) extremely well. I am curious as to what 
> you tried if you didn't build it from source. You can get the source 
> from their webpage (google it) and install it to /usr/local. I don't 
> know about any of the other players, but mplayer does work.
> 

Ah, I'd forgotten. I have theese lines in /etc/apt/sources.conf

#mplayer etc
deb http://freevo.sourceforge.net/debian unstable main
deb ftp://ftp.nerim.net/debian-marillat/ unstable main


> The only matroska packages in debian unstable are libmatroska-dev and 
> mkvtoolnix. mkvtoolnix can mux/demux/remux matroska files, but cannot 
> play them.

I'll play with that that and see where it gets me.

alex


-- 
Alex Polite
http://polite.se


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



playing mkv files.

2004-11-18 Thread Alex Polite
I'm trying to play som mkv (matroska) video files. So far I've tried
mplayer, xine, vlc and gstreamer, all from unstable. None of them are
able to play the files. Xine complains about a missing demuxer. I know
that these programs support matroska so I guess the problem is the
debian packs aren't compiled with matroska support. Are there any
unofficial packs for unstable with matroska support, or do I have to
compile it myself?

alex


-- 
Alex Polite
http://polite.se


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



Re: [OT] lftp not using cached directory listings

2004-11-05 Thread Alex Polite

I installed sitecopy which seems to be more better for this task.

alex

-- 
Alex Polite
http://polite.se


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



[OT] lftp not using cached directory listings

2004-11-04 Thread Alex Polite
Uploading changes to my webhost with lftp always takes about 10
minutes, even when only one or two files among 300 have changed.

I want to tell lftp to only consider files that have changed since the
last upload. I thought that this is what --use-cache option was for,
but that option does not make any difference. I also have a line
saying "cache on" in my lftp script file. All to no avail.

What should I do?

-- 
Alex Polite
http://polite.se


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



Debian unstable vs Ubuntu

2004-10-26 Thread Alex Polite
So what's with this Ubuntu thing?

I've read some reviews but they're all geared towards Mandrake users.

How does it compare to the Debian unstable that I'm used to?

alex

-- 
Alex Polite
http://polite.se


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



Re: Changing speed in MP3 playback.

2004-10-11 Thread Alex Polite
On Mon, Oct 11, 2004 at 05:03:53PM +0200, steef wrote:
> guess you need alsaplayer. might work as you wish
> good luck,

Thanks. Do you know of any alternative text interface?  I'm not to
crazy about guis. The default text interface does not seem to allow
speed change. As a matter of fact it doesn't seem to allow pretty much
anything at all.

alex

-- 
Alex Polite
http://polite.se


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



Changing speed in MP3 playback.

2004-10-11 Thread Alex Polite
I'm looking for an application that will playback mp3 faster than real
time. My MD player has this function and I use it when listening to
interviews I've made. Very handy.

mplayer has it to but it can only be set on command line. It won't let
you change the speed interactively.

alex

-- 
Alex Polite
http://polite.se


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



Re: KDE gets a bum rap

2004-10-04 Thread Alex Polite
On sön, sep 26, 2004 at 10:30:14 +0200, David Baron wrote:
> I am running on a PIII, 500mhz clunker which I overclock to 575mhz. No 
> screamer by anyone's standards. I have 500m memory which is OK.

I have a PIII 500mhz running KDE and I'm quite happy with. 3.3 is a
lot snappier than 3.2.

Also see to it that you running a low latency kernel.

I have to admit however that I use KDE mainly as WM and do most of my
work in non-KDE apps. emacs, screen, firefox.

alex.


-- 
Alex Polite
http://polite.se


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



Re: Recommendations for Linux compatible wireless LAN PCMCIA card

2004-10-01 Thread Alex Polite
On Sat, Oct 02, 2004 at 02:29:00PM +0800, Paolo Alexis Falcone wrote:
> I have a Dell Latitude C640 laptop [1] that I would like to get hooked
> to the network via wireless. Any recommendations for good  PCMCIA WLAN
> cards (802.11b/g/a)that are Linux-compatible as well (native drivers
> that is)? How would I configure the wireless interface in
> /etc/network/interfaces?
> 

I'm very happy with my D-link AirXpert DWL-AG650. It supports a,b and
g and there are native open source linux drivers from the Madwifi
project. Anything with the Atheros chipset is supported.

You have to compile the drivers yourself and you should be comfortable
with compiling your own kernel.

Some nice danish guy put up a page and some packages for building the
drivers as debian packages.

http://www.marlow.dk/site.php/tech/madwifi

alex

-- 
Alex Polite
http://polite.se


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



Re: Looking for a Debian based distro similar to SME Server.

2004-10-01 Thread Alex Polite
On Fri, Oct 01, 2004 at 02:16:11PM -0500, Alex Malinovich wrote:
> 
> Just install webmin on a Debian box and away you go. While webmin isn't
> DEAD simple, it's still very easy to work with IMO.
> 

I think you have to see the SME interface to realize the difference in
simplicity. BTW, this isn't for myself. I just edit the config
files.

alex


-- 
Alex Polite
http://polite.se


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



Looking for a Debian based distro similar to SME Server.

2004-10-01 Thread Alex Polite
SME Server is a RedHat based distro that has a dead simple
configuration interface for some server functions (samba, netatalk,
ftp, http, webmail, printer server, firewall etc). It provides the
typical stuff you need in a small office. The plus being that it's so
easy to manage it's ridiculous. The downside is being that when you
want to update something you find your self in rpm dependency hell.

Is there anything similar based on Debian? Minus the hellish part that
is.

alex

-- 
Alex Polite
http://polite.se


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



Re: Using mplayer save RealMedia audio in a sensible format?

2004-10-01 Thread Alex Polite
On Thu, Sep 30, 2004 at 06:22:09PM +, Adam Funk wrote:
> Sorry: I'm sure I've most of the man mplayer page a few times and I
> still can't figure out how to do this.  I want to convert a RealPlayer
> URL stream into a file in some sensible (e.g. WAV, Ogg, MP3) audio
> format.
> 
> I started with this:
>   mplayer -dumpfile foo.wav -dumpstream rtsp://ra
> but foo.wav turned out to be a RealMedia file.
> 
> I've also tried various combinations of -ao and -format options, but the
> output file always ends up the same.  I'd appreciate it if anyone could
> tell me what I'm missing.

I've put up a python script that allows you to record Windows Media
Audio streams from cron. It should work fine with RealAudio to.  It
saves to mp3. You need to have python, mplayer and gogo on path.

http://snippsnapp.polite.se/wiki.pl?RecordMMS

alex


-- 
Alex Polite
http://polite.se


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



Recording a skype conversation.

2004-09-24 Thread Alex Polite
I've just installed Skype (http://www.skype.com) and it seems to work
all right.

Now I want to be able to record conversations. If I start a recorder
and then try to make a Skype call, the call want go through.

Any way of doing this without running artsd or esd?

alex




-- 
Alex Polite
http://polite.se


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



[OT] update static html site over ftp (rsync like ftp syncing)

2004-01-15 Thread Alex Polite
I'm helping my girlfriend updating her website. It's static HTML and
pictures and the only way to update it is over ftp.

So far I've been using gFtp. I can either upload the site file by
file or upload all files in one go.

When I've changed some 30 files none of thees options are really
good. I'm looking for a smarter ftp client that checks the md5sum (or
something) of the files on both ends and only upload files that have
changed since the last upload. I guess that the FTP protocol doesn't
support this natively but it could be done by adding an md5sum file
for every file on the site, preferably with the sum in the filename.

I'm sure someone has already written a script for this.

alex


-- 
Alex Polite
http://plusseven.com/whoami


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



juk in woody?

2003-11-04 Thread Alex Polite
Has anyone got juk running under woody?  Preferable prepacked.

alex

-- 
Alex Polite
http://plusseven.com/whoami


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



make-kpgk with ccache or compilercache

2003-09-26 Thread Alex Polite
Does anyone here have experience with using ccache or compilercache
with make-kpkg? Will it work? How is it done?

alex

-- 
Alex Polite
http://plusseven.com/whoami


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



Re: Ethernet card activity

2003-09-25 Thread Alex Polite
On Thu, Sep 25, 2003 at 11:58:58AM -0400, Vivek Kumar wrote:
> Hi there,
> 
> Is there any way to log the activity of an ethernet card ?? Somehow I am
> not able to know what my eth1 card is used for. I want to see the
> activity before I dsable it.
> Any help in this regard is appreciated.
> 

I'm not quite sure what you're after but maybe you want to look into a
package like iptraf. Or maybe something like etherreal.

good look whatever you're up to

-- 
Alex Polite
http://plusseven.com/whoami


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



Compiling pcmcia-cs to go with a 2.6.0-test5 kernel.

2003-09-25 Thread Alex Polite
port is disabled.
 Token Ring device support is disabled.
 Fast switching is disabled.
 Frame Diverter is disabled.
Module version checking is enabled.
Kernel debugging support is disabled.
Preemptive kernel patch is enabled.
/proc filesystem support is enabled.

/usr/src/linux/include/linux/modversions.h does not exist!
To fix, run 'make dep' in /usr/src/linux.

Configuration failed.

make[2]: *** [.prereq.ok] Error 1
make[2]: Leaving directory `/usr/src_matijek/modules/pcmcia-cs'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src_matijek/modules/pcmcia-cs'
Module /usr/src/modules/pcmcia-cs failed.
Hit return to Continue


alex

-- 
Alex Polite
http://plusseven.com/whoami


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



Re: No Evolution on Sid?

2003-09-19 Thread Alex Polite
On Fri, Sep 19, 2003 at 08:17:59AM +0700, Oki DZ wrote:
> Hi,
> 
> Yesterday I tried to install Evolution; apt-get complained about 
> libcommerr1-kerberos* package not found.
> No Evolution yet?
> 

The Evolution package is currently broken. It depends on a package
that has been removed from the archive. This bug has been filed. The
best workaround I've found is to use equivs to make a dummy package
for  libcommerr1-kerberos. When the dummy is installed apt-get will
gladly install Evolution.

alex


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



Re: Evolution uninstallable in unstable (workaround?) [SOLVED]

2003-09-19 Thread Alex Polite
On Wed, Sep 17, 2003 at 04:45:44PM +0200, Alex Polite wrote:
> 
> I installed the other dependencies. Then I downloaded the
> evolution*.deb and did 
> 
> dpkg --force-depends -i evolution*.deb
> 
> Took me an hour but evolution seems to be working nicely.

And then apt-get started bitching about missing dependencies when I
wanted to install something new.

The correct way to solve this turned out to be with equivs, a set of
to tools that will let you build a dummy package which you can then
install to make the package system believe that all deps are
satisfied.


alex


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



Re: Evolution uninstallable in unstable (workaround?) [SOLVED]

2003-09-17 Thread Alex Polite
On Wed, Sep 17, 2003 at 11:29:36AM +0200, Alex Polite wrote:
> 
> Evolution is currently uninstallable in unstable due to a dependency
> on a removed package.[1] Is there any way to work around this, get it to
> install anyway, pull in all dependencies that are available and skip
> the rest?

I installed the other dependencies. Then I downloaded the
evolution*.deb and did 

dpkg --force-depends -i evolution*.deb

Took me an hour but evolution seems to be working nicely.




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



Re: Which FS to use ?

2003-09-17 Thread Alex Polite
On Wed, Sep 17, 2003 at 08:11:42AM +0200, [EMAIL PROTECTED] wrote:
> Hey guys (are there any girls on this list - hmm)
> Which filesystem would you recommend for a biggish (10 gig) partition ? At
> the moment I'm using Ext2fs and I really have to use something else, it's
> just way to slow. So should i use Reiser or Ext3fs ? Or is there maybe
> another fs I can use ?

I remember reading some benchmark to the effect that ReiserFS
outperforms ext3 in terms of speed. But ext3 has some functionality
that ReiserFS lacks. And benchmarks are only benchmarks. Anyway I just
moved two boxen from ext3 to ReiserFS and I noticed a general system
speedup in both cases.

Have you tuned your hd with hdparm? In some cases really makes a
difference.

alex


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



Evolution uninstallable in unstable (workaround?)

2003-09-17 Thread Alex Polite

Evolution is currently uninstallable in unstable due to a dependency
on a removed package.[1] Is there any way to work around this, get it to
install anyway, pull in all dependencies that are available and skip
the rest?

If not is there anyway to automatically get an email when a bug is
marked as done.

alex



Footnotes: 
[1]  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=210917&msg=1


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



Re: installing a mixed system (stable/testing/unstable) under separate directories

2003-09-12 Thread Alex Polite
On Fri, Sep 12, 2003 at 11:28:57AM +0200, Albert Dengg wrote:
> ...
> > I want to install stable, testing and unstable under separate
> > directories. All stable packs, configuration files etc goes under
> > /stable, testing packs goes under /testing and so on.
> ...
> well, here is a guide to set up debian in a chroot enviroment
> http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-chroot


Very cool!

If I do this, will I be able to run xapps from my chroot envirionment
on the xserver that my "main" environment is running?

alex

-- 

Alex Polite
http://plusseven.com/gpg


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



installing a mixed system (stable/testing/unstable) under separate directories

2003-09-12 Thread Alex Polite
Package pinning is driving my crazy. Every now and then I just have to
have something that is only available in testing or unstable. My
favorite option is to download the source, compile it myself and
install in /usr/local but every now and then it's a big thing like
evolution which has a gazillion dependencies.

So I do apt-get -t unstable 

Almost without exemption this will lead to hairy dependency
problems.

Here's what I'd like to do instead.

I want to install stable, testing and unstable under separate
directories. All stable packs, configuration files etc goes under
/stable, testing packs goes under /testing and so on.

Sure this will waste a lot of disk space, because libc6 and a lot of
other core packs will be in three places. But what do I care. Disk
space is a lot cheaper than my time.

Anyway to hack this?

alex

-- 

Alex Polite
http://plusseven.com/gpg


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



Re: CUPS: cleanning up

2003-09-05 Thread Alex Polite
On Fri, Sep 05, 2003 at 03:59:55PM +0300, Jerome BENOIT wrote:
> Hello All,
> 
> a few minutes ago, I realized that my `/var/spool/cups' directory
> was full of former `jobs': `du -sh' gave `178M'.
> 
> Is there a way to clean periodicaly  this directory ?

I tried this script from cron. But for some reason cups didn't come up
again restart so I had to delete the cron entry. Maybe some kind soul
can tell me why and make me and Jerome happy.

...
find /var/spool/cups -maxdepth 1 -type f -ctime +7 -exec rm -f {} ';'
/etc/init.d/cupsys restart
...


-- 

Alex Polite
http://plusseven.com/gpg


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



[OT] ssh remote command execution without public keys.

2003-09-05 Thread Alex Polite
Hi folks. 

I have ssh access to a server (A) where public key authentication is not
allowed. I want access information on (A) from a cron script on
server (B).

I figure there must be a way to wrap ssh in script that takes the
password in clear text as one argument. It's probably heresy to a lot
of people but I'm sure it can be done. And if the file permissions are
set right I don't see why it should be any less secure than public
keys with empty pass phrases.

But how is it done?

alex

-- 

Alex Polite
http://plusseven.com/gpg


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



apt-get problems

2003-08-22 Thread Alex Polite
The package dependency situation on one of my boxen has gone bonkers.

Whenever I try to install a new package I get complaints like these:


$apt-get install subversion
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:
  subversion: Depends: libldap2 (>= 2.1.17-1) but 2.0.23-6 is to be installed
  Depends: libsvn0 (>= 0.26.0-1) but it is not going to be installed
E: Sorry, broken packages


Then I have to specify exactly what versions of libldap2 and libsvn0 I
want to install (and so on for any dependencies these packages might
have). 


This is a mixed system with a  /etc/apt/preferences looking like this:

Package: *
Pin: release a=stable
Pin-Priority: 999


Package: *
Pin: release a=testing
Pin-Priority: 555

Package: *
Pin: release a=unstable
Pin-Priority: 333


This wouldn't be a problem if it happened once every now and then but
it happens for almost any package I try to install.


Any usual suspects?

alex


-- 

Alex Polite
http://plusseven.com/gpg


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



problems with giftd

2003-08-18 Thread Alex Polite
So gift finally made it into debian. I've been using CVS versions for
a long time. This is a most welcome change.

If only it would work:

$giftd
giftd: relocation error: giftd: undefined symbol: mime_init


-- 

Alex Polite
http://plusseven.com/gpg


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



depmod -a complains about lirc_serial

2003-08-14 Thread Alex Polite
I'm suddenly unable to load lirc_serial. 

I don't get any errors compiling the lirc kernel modules. I'm using
the latest lirc-modules-source from testing labeled 0.6.6-5

$ modprobe  -v lirc_serial
modprobe: Can't locate module lirc_serial

$ insmod  -v lirc_serial |grep lirc  
user function /lib/modules/2.4.20babar2/misc/lirc_serial.o
/lib/modules/2.4.20babar2/misc/lirc_serial.o: ELF file 
/lib/modules/2.4.20babar2/misc/lirc_serial.o not a relocatable object
user function /lib/modules/2.4.20babar2/misc/lirc_serial.o
Using /lib/modules/2.4.20babar2/misc/lirc_serial.o

$ depmod -v -a |grep lirc
user function /lib/modules/2.4.20babar2/misc/lirc_serial.o
depmod: ELF file /lib/modules/2.4.20babar2/misc/lirc_serial.o not a relocatable object


My only other tree under /usr/src/modules is alsa and those modules
compile and load with no complaints.

I've recompiled kernel + modules a couple of times to no avail.

$file /lib/modules/2.4.20babar2/misc/lirc_serial.o
/lib/modules/2.4.20babar2/misc/lirc_serial.o:   ELF 32-bit LSB shared object, 
Intel 80386, version 1 (SYSV), stripped
   ^

But for an older (working) compile I have.

$file /lib/modules/2.4.20babar1/misc/lirc_serial.o
/lib/modules/2.4.20babar1/misc/lirc_serial.o:   ELF 32-bit LSB relocatable, Intel 
80386, version 1 (SYSV), not stripped
   ^^^

I suppose that something is going wrong at compile time. I've untarred
fresh kernel and module sources but the error is still there.

The ld command has an option  --relocateable that is supposed to
produce relocateable files (whatever that is) but I have know idea how
I to  get  make-kpkg to invoke this option, or if it would really
help.


All help is appreciated.

alex

-- 


Alex Polite
http://plusseven.com/gpg


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



Re: using xserver-xfree86-dbg

2003-06-13 Thread Alex Polite



On Fri, Jun 13, 2003 at 09:48:32AM +0100, Colin Watson wrote:
> On Fri, Jun 13, 2003 at 09:18:47AM +0200, Alex Polite wrote: 
> > Just installed xserver-xfree86-dbg to find out what's messing up my X   
> > session. 
>  
> I think the idea is that when you report a crash bug against 
> xserver-xfree86 the maintainer may ask you to try it with
> xserver-xfree86-dbg instead and send him the core. You can probably use
> it to get a backtrace of where a crash happened ('gdb  
> /usr/X11R6/bin/XFree86-debug /path/to/core', then 'bt'), but I'm not   
> sure how much use that would be to you.  
>  
> Are you sure that the X server is really crashing, or is it just that  
> your X session is terminating abruptly for some other reason?

What happens is that I use some app (usually galeon or mozilla) and
suddenly everything will freeze. The mouse and the keyboard are
dead. I can still log in remotely via ssh run top and find out that X
is consuming 99% of my CPU cycles. However sometimes even remote login
is impossible. Google tells me that my best bet is turning of
acceleration. But that is just to sluggish to endure. My second best
option is probably to just turn of some acceleration (xaa)
options. But there are loads of them and I have to find out which
one/s are actually causing my problems. Any ideas?

alex


-- 
   
Alex Polite  
http://plusseven.com/gpg   


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



using xserver-xfree86-dbg

2003-06-13 Thread Alex Polite
Just installed xserver-xfree86-dbg to find out what's messing up my X
session.
Here's relevant part of the package description:

--
Package: xserver-xfree86-dbg
Description: the XFree86 X server (static version with debugging symbols)
 This package is a variant of the xserver-xfree86 package which includes a
 monolithic XFree86 X server binary (as opposed to using loadable server
 modules on the architectures where they are supported) and which retains
 debugging symbols for execution tracing and core dump analysis.
--

The package contains no documentation at all. Once the X server has
crashed, where do I find the dumped core etc. gdb is not an old friend
of mine, but I guess that I'll have to learn how to use it. Any good
pointers for that ("gdb for drawling morons in ten seconds") 

Except for the server the xserver-xfree86-dbg package includes the
binary /usr/share/bug/xserver-xfree86-dbg. Is this a debugging tool or
what? How do I use it?

alex

-- 

Alex Polite
http://plusseven.com/gpg


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



X instability in mixed stable/unstable/testing system

2003-06-09 Thread Alex Polite
I've been having problems with X instability for a long time. I'll do
something in a app (usually mozilla, firebird or galeon) and X will
freeze, not responding to keyboard commands or mouse movement. 

I can still ssh into the machine, run top and find out that X is
consuming 99% of my CPU cycles. 

This is a notebook (Toshiba Portege 3440) with a Savage MX graphics
chip. The guy who wrote the driver
(http://www.probo.com/timr/savage40.html) says that it will accept
Option "NoAccel". I've specified it but /var/log/XFree86.0.log will
look identical with or without it. It might also be interesting to
know that I don't get any error messages in /var/log/XFree86.0.log or
~/.xsession-errors

This is the xserver package I'm using. 

xserver-common/testing uptodate 4.2.1-3
xserver-xfree86/testing uptodate 4.2.1-3

My window manager is fluxbox.

Any ideas about what I can do to improve X stability are welcome.

regards alex

-- 

Alex Polite
http://plusseven.com/gpg


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



Re: Constant sync between two nodes?

2003-06-02 Thread Alex Polite
On Mon, Jun 02, 2003 at 09:19:57AM +0200, Mailinglists at Soderlund.Org wrote:
> Hi all,
> 
> setting up another machine as a backup to my private mailserver. I would 
> like to have a constant sync (preferably increments) of directories and 
> files that I choose between the two, using the LAN between them.
> 
> They are both on a private NAT:ed DMZ so there are no worries for r-daemons 
> and alike.
> 
> Anyone done this? What software/solution are to recommend?
> 
> Regards and TIA,
> 
> Niclas

Readup on rsync + ssh. Then there is rdiff-backup built on top of
rsync. It offers some more functionality but I myself had a nasty
experience with it trying to recreate an incremental backup. Now I
just run plain rsync.

good luck alex

-- 

Alex Polite
http://plusseven.com/gpg


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



Re: X needed on printserver?

2003-06-02 Thread Alex Polite
On Mon, Jun 02, 2003 at 11:48:28AM +0800, Russ Pitman wrote:
> Thanks Alex and would the same apply to Xprint?

I never used it so I don't know. I use cups (apt-get install cupsys)
which I'm very happy with. I think it's pretty much the standard
nowadays.

alex

-- 

Alex Polite
http://plusseven.com/gpg


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



Re: [OT] prune cups job log

2003-06-02 Thread Alex Polite
Climbing up the file tree just a bit further I found the job logs all
accumulated under /var/spool/cups

A simple cron entry like so:

find /var/spool/cups -maxdepth 1 -type f -ctime +7 -exec rm -f {} ';'

solves the problem.



-- 

Alex Polite
http://plusseven.com/gpg


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



Re: [OT] prune cups job log

2003-06-02 Thread Alex Polite
On Sun, Jun 01, 2003 at 09:59:46AM -0400, Kevin McKinley wrote:
> On Sun, 1 Jun 2003 09:11:18 +0200
> In /etc/logrotate.d copy one of the existing files to a new file named
> "cups" and edit it for the location of the cups log file(s).
> 
> Then go file a wishlist bug against cups, suggesting this be done when the
> package is installed. :)


Thanks. But the job log doesn't seem to be located with the other cups
logs in /var/log/cups. 

I've also grepped for it like so:

zgrep smbprn $(locate cups) 2>/dev/null

With no results. (smbprn is a string that shows up on the job log web
interface)


-- 

Alex Polite
http://plusseven.com/gpg


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



Re: X needed on printserver?

2003-06-02 Thread Alex Polite
On Sun, Jun 01, 2003 at 04:37:45PM +0800, Russ Pitman wrote:
> If a client workstation is passing X data to a printserver does the 
> printserver machine need to have X installed? 
> 
> I find much documentation confuses me using the single word 'server' for 
> both the machine and the software that may/should reside on a different 
> machine which in turn may also be a server :-((

No you don't need to run X on the server.

alex
-- 

Alex Polite
http://plusseven.com/gpg


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



[OT] prune cups job log

2003-06-01 Thread Alex Polite
The log of our CUPS server is so full that loading the "completed
jobs" in the CUPS www interface takes quite some time. I've been
trying to find out how  to prune the log of old jobs with no success.

Ideas?

alex

-- 

Alex Polite
http://plusseven.com/gpg


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



Re: [OT] xmms and position slider in streams

2003-05-30 Thread Alex Polite
On Thu, May 29, 2003 at 04:41:00AM -0700, Paul Johnson wrote:
> On Thu, May 29, 2003 at 01:17:50PM +0200, Alex Polite wrote:
> > The position slider in xmms is not visible when playing streams? I can
> > play the same ogg or mp3 streams through windows winamp and use the
> > position slider. Is there an other app (preferably console) for linux
> > that will do the trick?
> 
> It's a live stream, right?  I don't think it's a functioning slider in
> Winamp, it's not like it can seek ahead of what the server's given
> it...

I don't think that it's a "live stream". It's my private Apache::MP3
installation. In winamp I can drag the position slider to move to move
back and forth  in the stream.

alex

> 
> -- 
>  .''`. Baloo Ursidae <[EMAIL PROTECTED]>
> : :'  :proud Debian admin and user
> `. `'`
>   `-  Debian - when you have better things to do than fix a system
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 

Alex Polite
http://plusseven.com/gpg


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



[OT] xmms and position slider in streams

2003-05-29 Thread Alex Polite
This isn't Debian specific but anyway:

The position slider in xmms is not visible when playing streams? I can
play the same ogg or mp3 streams through windows winamp and use the
position slider. Is there an other app (preferably console) for linux
that will do the trick?

alex


-- 

Alex Polite
http://plusseven.com/gpg


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



Re: use of spamassassin and razor

2003-02-19 Thread Alex Polite
On Wed, Feb 19, 2003 at 06:34:26PM +0530, Sandip P Deshmukh wrote:
> i have recently installed spamassassin and razor, hoping it will reduce
> my spam burden.

Don't bother with those tools. Spambayes[1], the new kid on the block,
uses a statistical approach and is IMHO a lot better.

alex


Footnotes: 
[1]  http://spambayes.sourceforge.net/

-- 

Alex Polite
http://plusseven.com/gpg


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




[OT] How fast are scanners nowadays?

2003-02-19 Thread Alex Polite
Sorry for this grossly OT post. I'd like to scan a whole lot of
documents and run them through OCR. Last time I checked scanning a
page of text took something like two minutes. This is way to slow for
my purposes. I'd need something that works with the speed of a
photocopier. An alternative would be to have something that can
process a whole stack of papers automatically.

Anyone that has had any experiences with this?


-- 

Alex Polite
http://plusseven.com/gpg


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




Re: Add software RAID to woody box with ext3 fs

2003-02-05 Thread Alex Polite
On Tue, Feb 04, 2003 at 08:25:54PM -0600, Steve Wollkind wrote:

> http://www.winamp.com/components/detail.jhtml?componentId=123836

I think that might have been the wrong url.


-- 

Alex Polite
http://plusseven.com/gpg


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




Add software RAID to woody box with ext3 fs

2003-02-04 Thread Alex Polite

A hard drive on a firewall I maintain crashed. I just built a new
firewall using the bf2.4 woody installation floppies. I selected ext3
as my file system.

I would like to add RAID-1 to this setup. How do I add RAID-1 without
rebuilding the file system?

alex

-- 

Alex Polite
http://plusseven.com/gpg


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




h

2003-02-04 Thread Alex Polite

Hi there.

I've setup a debian box (woody running a prepacked 2.4.18 kernel) as
router to the Internet in a small office. Now I want to setup simple traffic
shaping. I want http/https/ssh/dns stuff to have priority over p2p
file sharing, ftp downloads, etc.

I short I want the users browsing experience be smooth, even during
the office rush hour. I know of "Wonder shaper" and the debian shaper
package. Any other alternatives?

alex


-- 

Alex Polite
http://plusseven.com/gpg


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




recompiling kernel with just one change?

2002-11-29 Thread Alex Polite
When I need to recompile my kernel I usually erase my /usr/src/linux,
get a fresh version copy in my old .config and start working.
Compiling the kernel only takes 10 minutes, so it's no big deal. But
still... I'd rather just recompile the stuff that needs it. Sometimes
It's just a matter of adding a single module. I'm sure there some
smart way of doing this, preferably using kernel-package.


alex

-- 

Alex Polite
http://plusseven.com/gpg


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




Re: [OT] Moving away from KDE to what?

2002-11-12 Thread Alex Polite
On Tue, Nov 12, 2002 at 10:18:03PM +, Jonathan Matthews wrote:
> 1) Try "Full Maximisation" or "Maximise over slit" in the config menu.  
>Can you describe a situation that would explain this better, if I've 
>misunderstood?

In Enlightenment "maximize to available space" will let the window
grow precisely so much that it will not overlap with  any other window on
that workspace.

alex


-- 
Alex Polite
http://plusseven.com/gpg


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




Re: [OT] Moving away from KDE to what?

2002-11-12 Thread Alex Polite

> Here are the requirements:
> 
> 1) Must be able to "maximize window to available space" a la
>enlightenment.
> 
> 2) Must support multiple sequence key bindings a la emacs.
> 
> 3) Must be fast.
> 
> 4) Must be faster.
> 

Thanks everyone for all the input.

I've installed blackbox. I doesn't meet requirements 1 and 2, contrary
to what someone in the thread said, but it does meet 3. I'll stay
with it for a couple of weeks.

alex

-- 
Alex Polite
http://plusseven.com/gpg


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




[OT] Moving away from KDE to what?

2002-11-12 Thread Alex Polite
I visited my mother last week to help her setup her DSL
connection. While doing so I realized that her Windows 2000 350 MHz
box is a lot more responsive then my Debian/GNU/KDE 500 MHz box.

So out goes KDE.

I tried out the minimalistic ratpoison an ion wms and kind of like
them. At least they are fast. But they don't handle apps like gimp or xmms to
well. Now I'm looking something in  the middle ground.

Here are the requirements:

1) Must be able to "maximize window to available space" a la
   enlightenment.

2) Must support multiple sequence key bindings a la emacs.

3) Must be fast.

4) Must be faster.

alex

-- 
Alex Polite
http://plusseven.com/gpg


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




Re: faster apt-cache search

2002-11-06 Thread Alex Polite
On Thu, Nov 07, 2002 at 01:10:15AM +1100, Rob Weir wrote:
> grep-dctrl?

Thanks.  Cool but slow. Not what I was looking for really.


-- 
Alex Polite
http://plusseven.com/gpg


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




faster apt-cache search

2002-11-06 Thread Alex Polite
I use apt-cache search about twenty times a day.
I'd like a faster version of this tool, something that does full text
indexing, possibly even boolean and regexp searches.

alex

-- 
Alex Polite
http://plusseven.com/gpg


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




debs for MySQL 4.0.0?

2002-10-15 Thread Alex Polite

Does anyone know of any unofficial debs for MySQLC 4.0.0?

-- 
Alex Polite
http://plusseven.com/gpg


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




[OT] Changing size of XEmacs font on the fly.

2002-10-10 Thread Alex Polite


Font size in XEmacs can be controlled with settings in .Xdefaults. But
for every change you have to run xrdb and restart XEmacs.

Is there any way of changing the font size on the fly?

alex

-- 
Alex Polite
http://plusseven.com/gpg


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




[OT] ncurses application for vCard/vCalendar

2002-10-09 Thread Alex Polite

Hi.

I moved my word processing from MS Word to Emacs a few years ago.
I moved my email from Evolution to mutt some months ago. Now I want to
move my addresses and appointments out of Evolution to some ncurses
based tool. Applicants should preferably use vCard/vCalendar as there
are a few PDAs/mobile phones on the market that use this format.

alex

-- 
Alex Polite
http://plusseven.com/gpg


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




[OT] Faulty hard drive?

2002-10-03 Thread Alex Polite

Last week I suffered something that was probably a hard drive
crash. I do extensive nightly backups so very little data was lost,
but the reinstallation on this sub notebook (no floppy, no cdrom) was
rather laborious.

During the reinstallation messages like these where spewed to the
console:
##
Oct  3 13:27:16 matijek kernel: hda: read_intr: status=0x59 { DriveReady SeekComplete 
DataRequest Error }
Oct  3 13:27:16 matijek kernel: hda: read_intr: error=0x40 { UncorrectableError }, 
LBAsect=5523654, sector=2792604
Oct  3 13:27:16 matijek kernel: end_request: I/O error, dev 03:04 (hda), sector 2792604
Oct  3 13:27:31 matijek kernel: hda: read_intr: status=0x59 { DriveReady SeekComplete 
DataRequest Error }
Oct  3 13:27:31 matijek kernel: hda: read_intr: error=0x40 { UncorrectableError }, 
LBAsect=5523654, sector=2792604
Oct  3 13:27:31 matijek kernel: end_request: I/O error, dev 03:04 (hda), sector 2792604
##

I restarted the installation an went through a "check bad blocks on
device /dev/hda". This didn't report anything (as I can recall), and I
didn't get any more of these messages, until today when my box froze
for a minute or so and the stuff quoted above showed up in
/var/log/messages

Is this an indication that my hard drive is physically damaged and
that I can expect another crash unless I replace it with a new drive?

-- 
Alex Polite
http://plusseven.com/gpg


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




identifying wlans

2002-09-24 Thread Alex Polite

Cafes in Stockholm are beginning to offer wlan access to their
customers.

I need a tool to identify essid and other stuff about a wlan, so that
I can walk into any of these cafes and get networked in 30 seconds
time.

Apradar (http://apradar.sourceforge.net/) seems to do this, but it
requires kernel 2.4.20 and is not packaged for debian.

Any other options?

alex

-- 
Alex Polite
http://plusseven.com/gpg/


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




[OT] Can't get color with BT848 TV card.

2002-09-22 Thread Alex Polite
ay I think that $tuner is the crucial variable here.
$card=0 means that the kernel will autodetect the make of the card.
There is some scanty information printed on the tuner the that fits
nicely with "Temic PAL (4002 FH5)" so I set $tuner=0.


Firing up xawtv, (with norm set to "pal-m" or "pal-nc" yields a
perfectly clear picture but it's only black and white. 

I have tried to set $card and $tuner with all possible settings but
all to no avail.

Any ideas about what to try next?

alex

-- 
Alex Polite
http://plusseven.com/gpg/


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




Re: Starting X on boot. (Not xdm, kdm gdm style)

2002-09-21 Thread Alex Polite

On Sat, Sep 21, 2002 at 11:54:14AM -0400, Stephen Gran wrote:

> I suppose the other way to go about doing this is through inittab.  X
> takes an argument for user, IIRC, and so you could have inittab start X
> for a specific user at a specific runlevel (say 2, the Debian default).
> This would bypass the (x,k,g)dm issue entirely.

Thanks a lot. I found this page that has all the details about your
suggested approach.

http://www.linuxgazette.com/issue52/tag/14.html


-- 
Alex Polite
http://plusseven.com/gpg/


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




Starting X on boot. (Not xdm, kdm gdm style)

2002-09-21 Thread Alex Polite

I've set up a VDR-box (http://freevo.sourceforge.net/) under
Debian. I'd like the box to go directly into an X session upon
booting, without having to fill in password and username in xdm.

I know how to do this kdm/kde but running kde for that one feature
seems like an awful waste.

Ideas?

alex

-- 
Alex Polite
http://plusseven.com/gpg/


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




[OT] Problem with "Too many open files"

2002-09-19 Thread Alex Polite

I'm having problems with a "Too many open files" error.

I've increased the /proc/sys/fs/file-max to 10 and the count in
/proc/sys/fs/file-nr is no where near that.

Further googling tells me that there is also a "open files per process
limit".

1) How do I increase the "open files per process limit"?
2) How do I find out which processes have which files open?

alex

-- 
Alex Polite
http://plusseven.com/gpg/


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




Push key events on to keyboard buffer. WAS: how to really disable screenblanking.

2002-09-11 Thread Alex Polite

Is there a tool to fake keyboard activity?

-- 
Alex Polite
http://plusseven.com/gpg/


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




how to really disable screenblanking.

2002-09-10 Thread Alex Polite

I'm trying to disable screenblanking on my freevo box
(freevo.sourceforge.net).

So far I have tried combinations of theese:

setterm -blank 0

xset -dpms
xset s reset   /*Reset options*/
xset s expose   /*Turn's off all screen savers*/
xset s noblank   /*Turn's off screen blanking*/
xset s off/*Turn's off other options*/
xset dpms 0 0 0
xset dpms 6 6 6

I'm running X with framebuffers on a Matrox G400 card.
The display comes back if I run a fbset on the framebuffer device.

Any ideas?

-- 
Alex Polite
http://plusseven.com/gpg/


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




Suggestions for IR controlled dvd/avi/mp3 player

2002-06-30 Thread Alex Polite
I'm in the process of setting up a home entertainment box. I'll be
using it to play MP3s AVIs MPEGs and DVDs. I want to control
file/playlist selection, volume, pause, play and other basic functions
via IR. (I've just ordered the ready made IR receiver linked to
on lirc home page). Playlist editing, removing AVIs and other advanced
functions can be via ssh.

I understand that xine, mplayer and xmms all have lirc support.

I have two questions.

1) What do I use to move between apps with the IR remote?

2) What sound server works best with all the all the apps I'll be
using (mplayer, xine, xmms)? 


-- 
Alex Polite
http://plusseven.com/gpg/


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