Re: The myth of aptitude simplicity

2003-02-17 Thread Alex Malinovich
On Mon, 2003-02-17 at 07:32, Michael P. Soulier wrote:
> On 16/02/03 Paul Johnson did speaketh:
> 
> > Well, that's because it also installs reccommends.  Some folks prefer
> > that.
> 
> Partly, but it's also because it tries to upgrade my whole system, when
> all I wanted to do was install a single package. 

Actually, if you'll recall my initial message, I said that I use apt-get
for single packages and dselect for upgrades for this very reason. :)
Besides, if I just want to install a package there's really no point in
starting up dselect to do it. But for updating my entire system, there's
no better way that I've seen to keep an eye on what's being changed,
what's available, and what will and won't work. Dependency conflicts are
a pain to resolve when using apt-get, primarily because you have to do
it all by hand. dselect OTOH shows you which packages are involved and
where the problem lies.

Coincidentally, in regards to using aptitude for all of the above, I'm
sure that it can do all of the things that dselect can do, and probably
more, but it has a rather steep learning curve for those of use who have
been using dselect for a long time. It looks enough like dselect to
encourage you to use it the same way, only it doesn't work that way. :)
But for a new user who's not used to either I'd imagine it wouldn't be
any more difficult than learning dselect right off the bat.

-- 
Alex



signature.asc
Description: This is a digitally signed message part


Re: VMWare package

2003-02-18 Thread Alex Malinovich
On Mon, 2003-02-17 at 20:08, Jeff Elkins wrote:
> On Tuesday 18 February 2003 6:14 am, Ewing Jeff wrote:
> >ftp://platan.vc.cvut.cz/pub/vmware/vmware-ws-1455-update12.tar.gz
> 
> Thank YOU!
> 
> I thought I was out of the vmware business since I upgraded to 2.4.20.

Is there some sort of a problem with vmware and 2.4.20? I've been
running it on 3 systems with 2.4.20 for a little over a month now with
no problems. What exactly is the problem in question with .20?

-- 
Alex



signature.asc
Description: This is a digitally signed message part


Re: VMWare package

2003-02-18 Thread Alex Malinovich
On Tue, 2003-02-18 at 01:55, Andy wrote:
--snip--
> I have a Debian 3.0 install with the 2.4.18-bf2.4 kernel and I just did an 
> apt-get install kernel-headers-2.4.18-bf2.4 then did an ln -s to make: 
> linux -> kernel-headers-2.4.18-bf2.4
> So I tell the vmware script that my kernel headers are in 
> /usr/src/linux/includeIs that right?

So far so good.

> > 2) The VMware modules must be built using the same GCC version as the
> > kernel.  In practice, this probably only affects unstable at the
> > moment, due to the GCC 3.2 transition.
> 
> This is where I am clueless.  Vmware install script says this:
> 
> Setup is unable to find the "make" program on your machine.  Please make sure 
> it is installed.  Do you want to specify the location of this program by 
> hand?  [yes]
> What is the location of the "make" program on your machine?
> --
> 
> I say it is in /usr/bin/gcc but the install fails.

That's because it's looking for make, not gcc. Do a "which make" and see
if it comes up with anything. If not, just do "apt-get install make".
Then try it again. The warning about GCC is that you have to use the
same version of GCC to compile the modules that was used to compile the
kernel. Since you're using a pre-built kernel, this could be an issue.
(My roommate had this problem a couple of weeks ago. Then I introduced
him to make-kpkg and all was well. :)


> gcc: auto-build: No such file or directory
> gcc: HEADER_DIR=/usr/src/linux/include: No such file or directory

Check your symlink and check to make sure that the headers package was
installed properly.

> gcc: CC=/usr/bin/gcc: No such file or directory

Try "apt-get install gcc". If it says it's already installed, do
"apt-get install --reinstall gcc".

> gcc: GREP=grep: No such file or directory

Looks like "apt-get install grep" is in order here.

> steelhead:/usr/src/linux/include# ls -al
--snip--

Hmm, this is odd. This is just a wild guess, by try putting in the
headers directory with and without the trailing slash. (i.e.
/usr/src/linux/include and /usr/src/linux/include/) That's about the
only thing that I can think of. Failing then, when it asks you for the
header include directory, just give it the ACTUAL directory.
(/usr/src/kernel-headers-2.4.20-bf, I think. I could well be wrong so
check that first.)

Hope that helps. Good luck. :)

-- 
Alex



signature.asc
Description: This is a digitally signed message part


Re: DNS + DHCP

2003-02-18 Thread Alex Malinovich
On Tue, 2003-02-18 at 08:30, Paul Johnson wrote:
> On Mon, Feb 17, 2003 at 08:37:06AM -0600, Jeffrey L. Taylor wrote:
> > They work okay together using Dynamic DNS (not things like dyndns.org,
> > same name, different process).  You can use TSIG (IIRC) to securely
> > authenticate updates.
> 
> I tried before a couple times, and never could get it to work.  I'd
> prefer to use IP ranges on my home network for authentication, but
> still didn't manage to make it work.  Any pointers from anybody who
> has prodded it into production?
> 

I just set it up a few weeks ago and it's been working fine.
Unfortunately, I really don't remember what all I had to do to get it
running. All I had to use for documentation was the ISC docs for bind9
and dhcp3. Actually, I think the dchp3 man page has the necessary
documentation in there.

-- 
Alex




signature.asc
Description: This is a digitally signed message part


802.11a experiences?

2003-02-19 Thread Alex Malinovich
Does anyone have any experience with 802.11a devices? I'm looking to
integrate 802.11a into my home LAN but I'd like to know what to look
for. Some of the computers on the LAN use Windows in VMWare, but they
are ALL Debian machines at heart. (7 total) For starters, money
permitting, I'd like to set up my laptop and two of the desktops with
wireless adapters and have an access point set up.

What I'm primarily concerned with is a box running Sid with a 2.4.20
kernel using preferably a PCI card, and a laptop running the same using
a PCMCIA card. I'm also interested in info about any access points. I'd
think that an 802.11a access point wouldn't have any "drivers" per se
for a particular OS since it wouldn't be directly connected to a PC. Yet
many manufacturers have links to Windows drivers for their access
points.

However, I am very open to any and ALL comments on 802.11a in general.
What type of performance have you seen? What type of range can I expect?
I've heard that 802.11a has a harder time penetrating walls than the
lower frequency 802.11b. Any experiences in regards to X number of walls
between the AP and the client PC? All info is appreciated.

-- 
Alex



signature.asc
Description: This is a digitally signed message part


Re: VMWare package

2003-02-19 Thread Alex Malinovich
On Wed, 2003-02-19 at 06:38, Paul Johnson wrote:
> On Tue, Feb 18, 2003 at 02:07:35PM -0500, Gregory Seidman wrote:
> > } With the correct patch, yes? Without the patch pointed to here, VMware
> > } refuses to recompile its modules.
> > 
> > Er, no. I am running VMWare 3.2, unpatched, on a 2.4.20 kernel. It works
> > just fine, and the vmware-config.pl compiled its modules happily. It may or
> > may not be relevant that both the kernel and the modules are compiled with
> > gcc 3.2. I am running a testing/unstable mix.
> 
> VMWare modules are a little picky.  From my experiance, all of the
> following must be true for the modules to compile right in
> vmware-config.pl
> 
> Before starting--
> * You must be running the kernel you want to compile for.
> * You must be using the same version of gcc for VMWare as you did the
>   kernel.
> * You must have kernel headers for the kernel you're running.

I'm not sure what it was that caused it, but when my roommate first
tried installing VMWare he couldn't get the network modules to compile.
He was running a pre-rolled debian 2.4.20 kernel with the appropriate
kernel headers installed as well. The first part of compilation went
fine (the "generic" vmware modules) but the network modules just
wouldn't compile. After I showed him how to roll his own kernel,
however, the compilation went just fine.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: (Newbie) Functioning In Debian

2003-02-23 Thread Alex Malinovich
On Sun, 2003-02-23 at 03:16, Paul Johnson wrote:
> On Fri, Feb 21, 2003 at 09:32:34PM -0500, M. Kirchhoff wrote:
--snip--
> > Another site I frequent uses streaming Windows Media.  Am I totally out
> > of luck there?  I know there's this Crossover package that will run WM,
> > but it's definitely non-free.  I haven't run into needing RealPlayer
> > support yet, but I wonder if there's a free clone of that that works
> > under debian-mozilla.  
> 
> Not a plugin for it, but mplayer will play them.  It's non-free and
> only in unofficial packages.
> 

Actually, mplayer proper is free (GPL'd). Some of the codecs that you
may choose to use, however, are non-free. And there is actually an
mplayer plugin available that works pretty well. 

http://mplayerplug-in.sourceforge.net

It's currently up to 0.40. It even plays Quicktime movie trailers and
the such right in the browser window. I'm working on making it my first
Debian package actually. :)


> Then you'll want to get the mplayer- package appropriate to your
> CPU, w32codecs (which also includes the DivX ;-) codecs among others)
> and if you also want quicktime support, qt6codecs.  When you get the
> prompt of how you want to handle the movie, open it in gmplayer.  Your
> movie will play in a seperate window.
> 

I, for one, still recommend compiling from source. You just download a
source tarball (or, for more fun, get the CVS version :), add in any
codecs you might want, and run "debian/rules binary" from the base
mplayer directory. The documentation on the site (www.mplayerhq.hu) is
really quite good.

> > If I start plugging in all these non-free, non-stable packages into a
> > stable Debian build, then is it really a stable system anymore? 
> 
> Well, if you're using unstable, things will break.  This is the active
> development branch and is not the tree to be following if you never
> want to encounter reliability issues.
> 

Unstable is only for those of us who like to fix broken systems for fun.
:) However, if you want to be closer to the cutting edge without
actually cutting yourself, just run testing. Testing hardly ever
actually "breaks" and it tends to be much more recent than stable.
Stable, IMO, is only for servers. It's entirely too old to be used as a
desktop system.


> > Yet it seems like I need to add a lot of these additional packages
> > just to function.  I'm confused!  
> 
> Did you ever get by with a base install of Windows without installing
> any additional software?  At least here you don't pay anything for the
> additional software.
> 

A good case in point here. A full install of Windows XP is a little over
1 GB. A full base install of Debian (including XFree86 and all the other
necessary goodies) will run you around 300 MB. From that point on,
you're free to pick and choose which packages you want and leave out the
ones you don't. Ever look for the command-line MS ftp program in
Add/Remove programs? How about their telnet client? Or the god-awful
GUI? Nope, you're out of luck. :) Hopefully that will help to clarify
things a bit. :)


> Welcome to the brave GNU world.  Enjoy your stay.

You've got to love a good pun! :) I second that! :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: [OT] Actually Way OT - Debian version names

2003-02-23 Thread Alex Malinovich
On Sun, 2003-02-23 at 12:18, Nathan E Norman wrote:
> On Sat, Feb 22, 2003 at 09:42:47PM -0800, Paul Johnson wrote:
> > On Fri, Feb 21, 2003 at 09:50:26AM -0800, deFreese, Barry wrote:
> > > Yup, both in Toy Story.  You really should see the movie.  For being a
> > > "kids" movie it is very good!!
> > 
> > This one's been bugging me for a while now...why do Americans
> > associate animation strictly with children?
> 
> Two words: "Walt Disney"

Which is actually really sad and unfair to Walt Disney himself. He never
advocated animation strictly as entertainment for children. It was after
his passing that the company decided to head in this direction. Walt
Disney had a close collaboration with Salvador Dali that began with
Fantasia. Disney intended to release a Fantasia 2 which was to be drawn
and overseen by Dali himself. There are still a number of preliminary
sketches done by Dali for the project floating around. Unfortunately,
after Walt Disney's passing, the company decided that children should be
their target audience and, hence, animation as a children's form of
entertainment was born.

Thankfully, this is a phenomenon which seems to be primarily restricted
to the US. Japan is a prime example of a country that most certainly
does NOT make animation strictly for children. Neon Genesis Evangelion
anyone? Or, for the NC-17 side of things La Blue Girl.

Though the US does seem to be making some progress. Shrek was a
wonderful movie for adults and children. I would venture to say that a
good half of the movie was targeted PURELY at adults without being
obvious enough to make it necessary to restrict children from watching
it.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: "Is your son a Lunix user?"

2003-02-24 Thread Alex Malinovich
On Mon, 2003-02-24 at 11:50, Vikki Roemer wrote:
--snip--
> When I reinstalled ME the last time, I partitioned the HD and put
> Libranet on the other 1/3.  Not that anybody ever boots into it, but
> it's there; my mom would use it if I would sit down and teach her how
> (time is the problem), but my dad, even though he's taking a
> Unix/Linux course this semester (he's going back to school to get his
> programming degree), is scared of my computer and of the Linux install
> on his computer.  Wish I knew how to get him to like (or at least
> *use*) Linux, but I don't. :(
--snip--

If he's taking his programming at all seriously, the Visual C++ compiler
is a great tool to use... for getting him to switch to Linux. :)
Actually, if he's too scared of ditching Windows outright, Cygwin is a
great tool. It'll give him a little bit of Linux heaven in an otherwise
hellish MS environment. And since it comes with g++, he can start
compiling programs that work right while he's still in Windows. Then,
once he's had a chance to get familiar and comfortable with how Linux
functions, he can try running a full blown Linux distro. Since Cygwin
now supports XFree86, he can actually get a chance to get used to the X
desktop while still using Windows, so when he first boots up a Linux
distro he should feel more or less at home. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: (Newbie) Functioning In Debian

2003-02-26 Thread Alex Malinovich
On Wed, 2003-02-26 at 06:44, Rob Weir wrote:
> On Sun, Feb 23, 2003 at 01:19:14PM -0600, Alex Malinovich wrote:
--snip--
> > may choose to use, however, are non-free. And there is actually an
> > mplayer plugin available that works pretty well. 
> > 
> > http://mplayerplug-in.sourceforge.net
> > 
> > It's currently up to 0.40. It even plays Quicktime movie trailers and
> > the such right in the browser window. I'm working on making it my first
> > Debian package actually. :)
> 
> Ooooh, neat.  Have you put the packages up somewhere?
--snip--

I was looking up something while creating the package a few minutes ago
and happened to take a look at Christian Marillat's site
(http://marillat.free.fr) and it seems he beat me to it. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Newbie administrator

2003-02-26 Thread Alex Malinovich
On Wed, 2003-02-26 at 13:21, Phil wrote:
--snip--
> 3.  running NFS & NIS - here is the problem
> I set up all users on the server with user directories in /home (of course) 
> with the /home directory exported "rw".  on the client machines (SuSE 
> because it is so easy to install and configure) I have the /home directory 
> mounted to the server.  the logon screen shows all the users and it works 
> well  the problem is my lack of knowledge about how to set-up 
> permissions.  My users log into their /home directories but can view the 
> /home directories of others.  how can I correct this?

Go into /home on the NFS server and just do "chmod 750 *" and you should
be ok. If what you mean is that other users can see the names of the
home directories of other users, then the only option that I can think
of would be to mount /home/userhomedir instead of all of /home. But that
would require a specific configuration for each user's machine.

> Is there a good book for beginner adimin's like me?

Probably, but I don't believe in books. :) Just keep working at it and
when you get stuck remember that Google is your friend. :) Good luck.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: How to redo mp3's

2003-02-27 Thread Alex Malinovich
On Thu, 2003-02-27 at 12:30, [EMAIL PROTECTED] wrote:
> Hello,
> 
> I have a bunch of mp3 type cd's that I am trying to add to my system.  However, I 
> would like to re-encode the mp3's to a lower bitrate since they are just a bunch of 
> speeces.  Can anyone recommend a good utility to do this?  I would prefer on what I 
> can run from a command line script.
> 
> Thanks,
> 
> Chris

If you're concerned about lowering the file size and not too concerned
about sound quality, I'd strongly suggest using ogg vorbis. ogg files
are generally smaller than mp3's (though not really by much) and, more
importantly, you escape the patent encumbrance problems of mp3's. The
only real reason to not use ogg would be if you want to play the CD in a
CD player that has mp3 support. Otherwise, I'd say stick with ogg. Check
out the "vorbis-tools" package. oggenc is the actual encoder, included
in the vorbis-tools package. Good luck.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


xsnow and xscreensaver

2003-02-28 Thread Alex Malinovich
This is a question that is, of course, of the utmost importance. It is
most certainly mission critical and could cause hundreds of people their
jobs. Or not... :)

I can run xsnow with no problems. I can run xscreensaver with no
problems. When I run xsnow FROM xscreensaver, I have problems. Namely,
xsnow works as it should, except that it drops snow on a black screen.
I've tried turning off the "fade to black" options in xscreensaver and
fiddling around with every other option I could find, but nothing seems
to work. Is there any way to get xscreensaver to leave a picture of my
desktop in place so that xsnow looks like it's falling on real windows
instead of invisible black ones?

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: secondary root account

2003-02-28 Thread Alex Malinovich
On Fri, 2003-02-28 at 11:15, Errol Neal wrote:
> I would like to know how to setup a secondary account on a Linux system 
> that would have the same abilities and privledges as the "root" user, say 
> an account such as "root2". I do not want to use sudo, because the people I 
> work for do not want to use "sudo" before every command. Does anybody have 
> any suggestions?

This is not a very good solution, but it's worked well enough for me.
Just add the user in question to the "root" group. Note however that I
feel obligated to tell you that what you're wanting to do is a Very Bad
Idea (tm). :) I've done it in the past as well, but sudo is a much
better alternative. If they don't want to use sudo before every command
just have them use "su" once then. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


X fonts dead after upgrade

2003-03-01 Thread Alex Malinovich
I just did a Sid upgrade yesterday, and now all of my basic X apps and,
apparently, all of my GTK1 apps are using REALLY REALLY ugly fonts. All
of my GTK2 apps look fine however. These fonts are bad to the point of
unreadability. In evolution, for example, there's no difference between
bold and regular. And the fonts are most certainly not anti-aliased
anymore. Emacs running in graphical mode looks just as bad as do the
title bars in Galeon (1.2.7) although the actual page fonts are just
fine. Any suggestions are greatly appreciated.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: X fonts dead after upgrade

2003-03-01 Thread Alex Malinovich
On Sat, 2003-03-01 at 08:27, Alan Chandler wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Saturday 01 Mar 2003 9:22 am, Alex Malinovich wrote:
> > I just did a Sid upgrade yesterday, and now all of my basic X apps and,
> > apparently, all of my GTK1 apps are using REALLY REALLY ugly fonts. All
> > of my GTK2 apps look fine however. These fonts are bad to the point of
> > unreadability. In evolution, for example, there's no difference between
> > bold and regular. And the fonts are most certainly not anti-aliased
> > anymore. Emacs running in graphical mode looks just as bad as do the
> > title bars in Galeon (1.2.7) although the actual page fonts are just
> > fine. Any suggestions are greatly appreciated.
> 
> My guess is that your /etc/X11/XF86Config-4 just got updated and removed some 
> of your fontpath lines.
> 
> I suspect reason your gtk2 apps are fine is because the do not use the built 
> in font serving capabilities of the xserver but use xft/fontconfig/freetype 
> to display the fonts.
> 
> Take a look at the above config file and see if its dropped some of your font 
> directories.

My XF86Config did get updated but the fontpath lines weren't changed.
After some testing, I think I've found the problem though I don't know
how to find any more information on it. Apparently the font server
and/or the Type1 fonts are causing the problem. Removing FontPath
"unix/:7100" and FontPath "/usr/lib/X11/fonts/Type1" fixes the problem.
Why exactly it fixes it, I don't know. Any ideas on how to further track
this down so I can either fix it completely or file a bug if necessary?

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: X fonts dead after upgrade

2003-03-02 Thread Alex Malinovich
On Sat, 2003-03-01 at 18:01, Alan Chandler wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Saturday 01 Mar 2003 8:42 pm, Alex Malinovich wrote:
> 
> > My XF86Config did get updated but the fontpath lines weren't changed.
> > After some testing, I think I've found the problem though I don't know
> > how to find any more information on it. Apparently the font server
> > and/or the Type1 fonts are causing the problem. Removing FontPath
> > "unix/:7100" and FontPath "/usr/lib/X11/fonts/Type1" fixes the problem.
> > Why exactly it fixes it, I don't know. Any ideas on how to further track
> > this down so I can either fix it completely or file a bug if necessary?
> 
> I bet they were - take a look at XF86Config-4.bak 
> 
> The order of the font files have been changed - with Type 1 moved from last to 
> first.  I think the order is significant and effects which fonts are chosed 
> first.

Slow progress, but progress none the less. I still have to take out the
font server entry ("unix/:7100"), but re-arranging the fontpath entries
to their previous state (With Type1 towards the bottom of the list)
works fine. So now just to track down what the problem with the font
server is.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Setting up a "reverse proxy"

2003-03-04 Thread Alex Malinovich
I really doubt that "reverse proxy" is a correct term, but I don't know
what else to call this. I want to set up a way to have my laptop be at
home when I'm not there. I have a number of services running on my LAN
at home that are only accessible to internal users. I'd like to have
some way to make my laptop be an "internal user" when I'm not at home.
Thus far I've been faking it with ssh -X and other methods. Any ideas on
how I could go about accomplishing this?

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: annoying problem with TFT on dell laptop

2003-03-06 Thread Alex Malinovich
On Wed, 2003-03-05 at 20:21, Shri Shrikumar wrote:
> Hi,
> 
> I have spent the last few hours installing debian testing on a brand new
> dell inspiron laptop and have managed to get it very close to working
> properly. I am however, having two problems that are throwing me off
> both to do with the display.
> 
> The first is that every second time I load linux up, it shrinks the
> screen size to the center. I have a 15" screen but it only uses the
> center (maybe 12" or something - looked like 640x480 or something). When
> I reboot, the bios post screen is *also* this size and so is the grub
> screen. 
You didn't say which model Inspiron you have, but I'm assuming it's one
of the 8000-series models. Pushing Fn-F7 will switch you between the
"middle of the screen" effect and the full screen. However, I would
strongly recommend that you run X in your laptop screen's natural
resolution. (1400x1050 on my Inspiron 8000.) The picture quality is much
better and you never have to worry about only using part of the screen.

As for switching between vt's, I used to have a similar problem. I don't
remember if I fixed it myself or if one of the updates sometime last
year did it, but now it works fine for me. It's actually faster than on
my desktop machine at home since I don't have to wait for a CRT to
switch modes.

Hope this helps.
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: LAPTOPS

2003-03-10 Thread Alex Malinovich
On Mon, 2003-03-10 at 14:32, james leclair wrote:
> Hello,  you guys have been very helpful in the past so heres another one 
> for yus!
> I'm about to take the plunge and pick up a laptop. My first laptop in a 
> number of years.
> So, what, if any, suggestions comments or what have you might the experts 
> suggest I consider
> when making my decision on a brand of craptop?

I've been happily using my Dell Inspiron 8000 for almost two years now.
As far as Debian goes, there is great support for all of the hardware.
Dell also gives great support in terms of replacements and repairs. The
only problem is that some of the hardware is kind of flaky and the
BIOS's for all Dell laptops are notoriously bad. :) Overall, though,
I've been very happy with mine.

p.s. I'd suggest that debian-laptop might be a better place to ask this
question. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Mozilla - snapshot

2003-03-14 Thread Alex Malinovich
On Fri, 2003-03-14 at 14:12, Tom wrote:
> Hi all,
> 
> While wasting my time on some stupid HTML-page, I today saw Mozilla
> 1.2.1-10 (sid) crash time and again on, ehm, that very page. So I'd
> say it is a bug, since the page is correct syntactically (if that's
> an English word).
> 
> However, I think I should try it with some snapshot version before
> filing the bug, which is where my question comes in. Is it okay to
> install the snapshot that is available in sid while having 1.2.1
> around too? Can they be installed next to each other, just by
> apt-getting them? Or will I face some fun problems by doing so?
> 
> 'apt-cache show' doesn't mention any possible conflicts, but I want
> to make sure before I do install it... A nice side effect would be
> the ability to install the Nautipolis theme :-)
> 
> Thanks in advance,
> Tom

Absolutely! That's why the package is called mozilla-snapshot. :) I'm
running Galeon 1.2 and Galeon 1.3 (galeon-snapshot). Currently I'm only
using 1.3 since the 1.2 package is temporarily broken, but they've been
coexisting peacefully on my system for months now. The same is true of
mozilla and mozilla-snapshot. Good luck. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: wma in linux

2003-03-15 Thread Alex Malinovich
On Sat, 2003-03-15 at 02:05, Paul Johnson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Fri, Mar 14, 2003 at 09:38:23PM -0800, Jack Pistachio wrote:
> > Anyone know of a plugin to play *.wma files in xmms?
> > Or howabout a way to convert this proprietary madness to
> > ogg format?
> 
> mencoder might be able to do it for you.

I made this script a few months ago to automatically convert a whole
bunch of wma files to ogg. I had problems with mencoder as well, so
instead it uses mplayer to play the file to a wav, and then encodes the
wav using oggenc. This was never really intended to leave my hard drive,
so the term "user friendly" is foreign to it. :) But being that it's 22
lines long, it should be easy enough to figure out. :) I'll put in some
comments on things that are likely to need to be changed:

-encodeme.pl-

#!/usr/bin/perl

#You should just run this from the directory where the files
#you want to convert are located. But you can also optionally
#just specify the path here.
opendir (ENCDIR, "./");
@dirlist = grep {/\.wma$/} readdir (ENCDIR);
closedir ENCDIR;
 
#These are just used for specifying the names to use when encoding
#to ogg. You can change them to whatever you want.
$album = "The Eminem Show";
$artist = "Eminem";
   
foreach (@dirlist) {
# These next two lines are very specific to the filenames you're using.
# If you know a little bit of perl, you can modify them for your use.
# Otherwise, I'd suggest just doing it by hand.
  $tracknum = substr($_,0,2);
  $trackname = substr($_,3,-4);
  print "Converting $_ to WAV...";
  `mplayer -ao pcm -aofile encodeme.wav "$_" 2>/dev/null`;
  print "done!\n";
  print "Encoding to ogg:\n";
  print "   Number: $tracknum\n";
  print "   Track : $trackname\n";
  `oggenc -a $artist -N $tracknum -t "$trackname" -l "$album" -n "\%a -
\%t.ogg" encodeme.wav`;
  print "done!\n\n";
}

-end encodeme.pl-

Good luck. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Unstable/Java/Mozilla

2003-03-16 Thread Alex Malinovich
On Sun, 2003-03-16 at 00:11, Rob Weir wrote:
> On Fri, Mar 14, 2003 at 05:19:28PM -0700, Gary Hennigan wrote:
> > I just realized that due to the fact that Mozilla, and it's
> > descendents, in unstable, is now being built with the 3.2 compilers
> > I'm stuck without a useable Java plugin. Anyone have a solution to
> > this? I've been using the 1.4 *.debs from Blackdown, but those appear
> > to have been compiled with 2.9x compilers and so I'm getting
> > unresolved symbols when I try to load up pages that require the Java
> > plugin, and Galeon crashes 
> > 
> > There's a "resolved" bug filed against Mozilla which seems to indicate
> > that the maintainer doesn't consider it a problem.
> > 
> > Any word on a Java2 JDK being compiled with 3.2 compilers?
> 
> I was almost certain it had been rebuilt just after gcc 3.2 became the
> default compiler in sid.  Are you sure you're up to date?

I just stumbled upon some instructions last night for building the JDK
from scratch and am waiting for it to finish compiling right now. This
resolves any issues with compiler versions, etc. Here's the URL for the
page:

http://linuxfromscratch.org/~tushar/hints/javafromscratch.txt

The instructions are all rather straightforward. You download a few
packages, apply a few patches, and prune the source tree a bit and then
run make. Altogether, you're looking at about 10 minutes of work. The
compilation time is a bit hefty though. The author says it takes about 4
hours on a PIII-800.

Be warned that you'll need to have plenty of free space. I started the
compilation last night and woke up today to find it "finished".
Unfortunately, I ran out of disk space in the process so now I'm having
to recompile. :) My build directory right now is 632 MB. Good luck. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Download accelerator

2003-03-16 Thread Alex Malinovich
On Mon, 2003-03-17 at 00:47, Roman Joost wrote:
> On Sun, Mar 16, 2003 at 11:19:41PM -0500, Trey Sizemore wrote:
> > Looking for a good download accelerator (similar to...Download
> > Accelerator...).  What are some of the favorites out there.
> > 
> > Thanks,
> > 
> > Trey
> I know "axel". Similar to wget and works great, but mostly i use the old wget.

I tried axel a little over a year ago and I found it lacking. It
certainly could have come quite a ways since then.

I use prozilla. Prozilla is the console version, and there is also an X
front end called prozgui. I've been using prozgui with galeon for about
a year now with no problems except that it can't read cookies, so you
can't download from certain passworded sites with it. It uses 4
simultaneous connections and has a built in FTP search as well. Quite
nice.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: [OT] user psychology

2003-03-23 Thread Alex Malinovich
On Sun, 2003-03-23 at 10:38, ktb wrote:
> I've been searching around the web for some documentation on how to deal
> with users from the perspective of a systems administrator.  I'm finding
> a lot on account management and user policies but not much by way of
> dealing with people.  I'm interested in educating myself about the different
> approaches sys admins take and the success or failure of these approaches.
> 
> As you can guess I've recently inherited a network.  I'm having no
> problems with the technical side of administering the network but am
> finding myself increasingly taking more of a hard-line with regards to
> users and I would like to decide where I want to draw the lines.
> Thanks,
> kent

From having worked as a combination MIS/Network Admin/Tech
Support/Electrician all in one at the same time, I can give you my
experiences. I don't claim these to be the "right" way but they worked
well for me:

1) Rules. Make sure you have very simple, very precise, and very well
enforced rules. There should be no more than a dozen primary points
(backed up with "sub-rules" of course) because otherwise people won't
remember them. And you have to stick to them. If there's a rule that
there are to be no emails sent between 3:13 and 3:16 on every third
Tuesday of months beginning with the letter J, then you'd better make
sure that if someone DOES send an email during that time you mention it
to them. Don't threaten them with holy retribution, just tell them that
they shouldn't be doing that and explain why. If you can't explain why,
that rule needs to go.

2) Remember that you're dealing with people who don't care WHAT works or
HOW it works, as long as IT WORKS. You can give them a magic email
sending stick and tell them that, to send email, they need to dance with
the stick in a circle about their computer 7 times, and as long as it
works and it keeps on working, they'll be perfectly happy to do it.
(Ever notice that most users don't even think twice about jumping
through an upgrade hoop that Microsoft is holding for them? Same
concept. :)

3) Try to remember at all times that you're dealing with business
people. You have to try and be a people-person as much as possible. What
this means is that, among other things, "Because I said so" is not a
valid response to user questions of why they have to do something a
certain way. (You laugh now, but I've heard this EXACT phrase entirely
too many times at different places.) Regardless of what silly things
users do, like sticking suckers and toothpicks into their floppy drives
(again, true story), they're still people. People who, whether you'd
like to believe it or not, are just as capable as you at doing whatever
it is they do. As hard as that is to realize sometimes, it helps
immensely. It's not only for user relations that it's important, it also
goes a long way toward keeping your blood pressure at a manageable
level. :)

That's the three main things. Some of these are just good people advice,
and some are good "technical" advice, but they've worked for me. Best of
luck... you'll need it. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: OT - Programming Languages w/o English Syntax

2003-10-17 Thread Alex Malinovich
On Fri, 2003-10-17 at 18:12, Don Werve wrote:
> On Fri, Oct 17, 2003 at 03:37:33PM -0700, Erik Steffl wrote:
> > 
> > english has a fairly simple a regular grammar so it's fairly easy to 
> > create english based programming language - the basic control structures 
> > are pretty much english sentences.
> > 
> 
> Actually, English grammar is a nightmare to behold; there is no 
> consistent method of handling verb conjugations, and the structure of a
> sentence is integral to its meaning; you can't just randomly move words
> around in an English sentence and expect things to work.  The way a
> computer works at the low level (e.g., assembler and/or machine code) is
> actually much more similar to Japanese, where you have an action and the
> associate data stapled together in pairs, much like Japanese words are
> (nominally) paired with particles.
> 
> The only reason that English-esque languages are prevalent is that, in
> the early days, most of the programmers were native English speakers,
> and as such, wrote tools and compilers that best fit their native
> linguistic models.  If computerdom had started in Germany, then I'd
> wager that we'd see more languages which used a German grammatic style.

And, as such, I think that trying to localize a programming language's
syntax would throw even native speakers of other languages off. My first
language was Serbo-Croatian (Commonly referred to as just Serbian since
the war during most of the 90's), and while I am very comfortable with
it, and perfectly fluent in it, I certainly wouldn't want to CODE in it!
:) I'd much rather write:

while (a == b) {
  if (c > d) {
e = 1;
  }else {
e = 0;
  }
}

instead of:

док (а == б) {
  ако (ц > д) {
е = 1;
  }иначе {
е = 0;
  }
}

Primarily because I know how to CODE in English, and therefore associate
logic structures with their English language counterparts. Besides, all
arguments of national identity notwithstanding, I believe that languages
are BARRIERS, not instruments of national identity. And since we don't
currently have any barriers in programming languages (at least, not as
prevalent as those in spoken languages), we shouldn't introduce new
ones.
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: filtering MS* mails w/ Spamassassin

2003-10-20 Thread Alex Malinovich
On Sat, 2003-10-18 at 07:30, Nathan J. Malmberg wrote:
> On Sat, Oct 18, 2003 at 03:24:42AM -0400, ThanhVu Nguyen wrote:
> > My SA setting blocks most of the spam mails but it doesn't/can't stop
> > these MS mails, no matter how many MS examples I try to feed to it to
> > learn.  Anyone has any hint / howto's ?  
> 
> I found that SA didn't start filtering out the Swen mails until I gave
> it enough non-Swen mails (i.e. ham) to trigger the Bayesian filtering.
> Once I gave it some good emails that I had saved, SA started working
> very nicely for me (it mainly misses a few of the autoreplies generated
> when someone else receives the virus).

By default, you'll need 200 pieces of spam, and 200 pieces of ham before
Bayesian filtering kicks in. A good way to see if it started yet is to
run spamassassin from the command line with the debug and verbose
options. Near the top of the resulting output will be some Bayesian
information. It'll either tell you that it's scanning the message, or
that Bayesian filtering hasn't been activated yet because of something.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Verify that spamc is using Bayesian?

2003-10-20 Thread Alex Malinovich
On Sat, 2003-10-18 at 11:47, ScruLoose wrote:
> Hey all,
> 
> So I installed a Spamassassin 2.55 backport from
> http://www.fs.tum.de/~bunk/debian
> to my woody box not long ago, and I fed a bunch of spam and ham to sa-learn
> (chomp, chomp)...  finally got the corpus over 200 messages of each.
> 
> And I put a line that says:  use_bayes 1  in /etc/spamassassin/local.cf
> 
> But the headers on my spamc/spamd checked messages don't seem to say
> anything about the Bayesian test. If I run spamassassin -D --lint, I get
> a bunch of output that looks like it _is_ using the Bayesian test,
> including:
>   debug: bayes corpus size: nspam = 225, nham = 206
>   debug: tokenize: header tokens for *F = "[EMAIL PROTECTED]"
>   debug: tokenize: header tokens for *m = " 1066492992 lint_rules "
>   debug: bayes token 'somewhat' => 0.0444
>   debug: bayes: score = 0.0444
> 
> So I know that if I call spamassassin (as "spamassassin") it is using
> the bayesian test, but the question is: How can I tell whether
> spamc/spamd is using it as well? (since spamc doesn't seem to have a --lint
> option, etc.)
> 
> There's an FAQ on SA's homepage that says something about making sure that
> spamd is running as the same user that sa-learn is run as. This makes sense,
> but how do I find out whether spamd is running as the user the mail is being
> delivered to... And does anyone know what the behaviour is by default for
> that package?

Assuming that you're running spamc from .procmailrc, it will be running
as the user the mail is delivered to. I'm not really sure if this will
affect anything, but you might also want to try restarting spamd.
"/etc/init.d/spamassassin restart" should do the trick.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: install_oracle9i

2003-10-20 Thread Alex Malinovich
On Sun, 2003-10-19 at 07:24, mohammed wrote:
> please can you help me to install oracle 9i
> on the server and teache me the steps 
> to install oracle 9i

I wrote a guide a while ago about this:

http://www.the-love-shack.net/oracle-on-sid.shtml

You can also try searching for a guide on google.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Somewhat ON-TOPIC (was Re: A newbie's confusion about GPL (BS))

2003-10-22 Thread Alex Malinovich
On Tue, Oct 21, 2003 at 06:17:07PM -0500, James W. Thompson, II wrote:
> Boy has this thread gone out into left/right field, however you want 
> to term it, and gotten off topic. Why do we allow ourselves to be 
> distracted and flame back and forth, completely ignoring why this list 
> exists, we're here to form a constructive dialogue and to help each 
> other solve real problems with specific systems, not argue over stuff 
> completely disconnected from this list's purpose. Nobody can ever win 
> an argument without killing their opponent physically, emotionally or 
> otherwise; and to endeavor to do such is downright immoral and 
> unethical. 

Though I haven't really participated, I personally do actually like OT
threads like this one. Go figure. :) Sure, some of the flaming can get
kind of thick at times, but it's also interesting to see some opinions
every once in a while. However, I definitely do agree that this should
NOT be on debian-user. So why don't we have a debian-ot list? Once a
thread goes OT, it just gets migrated to debian-ot, and those
interested can pursue it there while the rest of debian-user is not
inundated with it.

> P.S. - On the political side of things I am a Christian, an American, 
> and a Conservative and if anyone gives a rip about my view of
> america's 

I'm a Muslim, Canadian, Liberal! Die scumbag!!! :) Sorry, couldn't
resist. :) (And I'm none of the above.)

p.s. To actually contribute something that's ON-TOPIC, I'd suggest
that in the future you consider snipping irrelevant parts of an old
email in your replies. That way we don't have to see all of an old
message when, in fact, your comments may only deal with a small
fragment of it. Also, when you reply, please do not top-post, but
rather include your reply AFTER the quoted text you're replying
to. This is a 'standard' that has, unfortunately, been steadily losing
ground due to Microsoft's decisions with their mail clients.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


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



Re: RPC: Program not Registered

2003-10-22 Thread Alex Malinovich
On Wed, Oct 22, 2003 at 11:07:55AM +0200, Richard Lyons wrote:
> Nice to be back with a broadband connexion and to be able to re-subscribe to 
> my favourite list (even if only for a few weeks).  Not so nice to try to get 
> at the work I've been doing mentime on my laptop by an nfs mount and to get:
>RPC: Program not Registered
> Being more or less a dork about networks, I don't know what to do about it, 
> and googling hasn't produced the expected enlightenment.  So all help 
> gratefully received...

It would be useful to have a bit more information on what you've done
so far. Assuming that you have the exports set up right, and that
you're trying to mount the nfs share properly, the next thing I'd
check would be whether you've actually started up the NFS server. For
anything more than that, we'll need more info on what you've done so
far, what kind of setup you have, etc.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


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



Re: A newbie's confusion about GPL

2003-10-22 Thread Alex Malinovich
On Wed, Oct 22, 2003 at 10:04:18AM -0400, Allan Wind wrote:
> On 2003-10-22T09:29:24-0400, Johan Kullstam wrote:
> > I think it may best for someone who uses a fast starting non-emacs
> > editor, e.g., vi.
> 
> Emacs has a client/server feature, so you get quick start-up of
> additional clients once you have the server running.  Using vim myself
> these days.

I've been doing mutt + emacs for a while now and have been quite
happy. Though now that you mention emacsclient, is there any way to
use emacsclient but have it create a different frame (instead of just
a new buffer) every time it's called? I use my desktop machine from 3
different machines in the house, so using regular old emacsclient
hasn't been much of an option since I'd have to be on the same machine
that I initially started it on in order to use it.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


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



Re: Gender in language (was Re: way-OT: regularity of german v. english [was: ])

2003-10-23 Thread Alex Malinovich
On Wed, Oct 22, 2003 at 10:54:24PM -0500, Ron Johnson wrote:
> On Wed, 2003-10-22 at 20:47, Erik Steffl wrote:
> > Nori Heikkinen wrote:
> > > on Sun, 19 Oct 2003 12:38:45PM -0700, Erik Steffl insinuated:
> > ...
> > >>  of course, you can create various complex and ambiguous sentences in 
> > >>english, the point is that you can take few forms of sentences and
> > >>have a working language (that's pretty much what BASIC (talking
> > >>about programming language) is).
> > > 
> > > you can do that in both languages.
> > 
> >let's say you have a function called isRed(x) (returns true if x is 
> > red). Now how would you call this function in german? it would never be 
> > in agreement with all possible x (grammatically). not sure if this is 
> > the best example - perhaps in this case it would be acceptable to use 
> > istRot, regardless of gender of x. point is you would run into problems 
> > like this trying to use german, you would very rarely come up with 
> > problems of this nature in english...
> 
> Being a native speaker of American, I've always wondered
> - What is the purpose of "gender" in grammar/language?
> - Is it only the European/Latinate languages that have the gender
>   concept?
> - Why English doesn't have gender, since it's predecessor, German,
>   does have gender?

I'd imagine that specifying gender in terms is done in order to keep
up with gender-based rules that are inherent in some
languages. (Though this does lead you to a chicken-or-egg paradox.)
Though IANAL(inguist). I'm sure that there's a more scientific
explanation for it, but this is the first thing I could come up
with. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


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



VT switching broken in Gnome

2003-10-23 Thread Alex Malinovich
I'm having a problem with my VT switching while in Gnome. I think it's
related to the recent 2.4 update but I'm not sure. Hitting Ctrl-Alt-F4,
for example, does nothing. It works while I'm at the gdm login screen,
but once I'm actually logged into Gnome, it's dead. Needless to say,
having to log out just to switch terminals is really really
inconvenient. Any suggestions?
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Re: VT switching broken in Gnome

2003-10-24 Thread Alex Malinovich
On Thu, 2003-10-23 at 12:57, Greg Folkert wrote:
> On Thu, 2003-10-23 at 14:14, Alex Malinovich wrote:
> > I'm having a problem with my VT switching while in Gnome. I think it's
> > related to the recent 2.4 update but I'm not sure. Hitting Ctrl-Alt-F4,
> > for example, does nothing. It works while I'm at the gdm login screen,
> > but once I'm actually logged into Gnome, it's dead. Needless to say,
> > having to log out just to switch terminals is really really
> > inconvenient. Any suggestions?
> 
> dselect update && apt-get install libvte-common libvte4 gnome-terminal
> 
> Make sure you are using a 1 tier leaf or push mirror, all should be
> fixed on that.

I tried installing the packages you said, and had no success. I then
figured that maybe I should update other relevant gnome packages in the
process, so I just did a full system update, but still nothing. I'm
beginning to think that it might be related to my keymap, though I
really don't see why since I'm using the Gnome default keymap and it's
always worked before.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Resolution switching in Gnome 2.4

2003-10-24 Thread Alex Malinovich
I had been using some of the earlier test packages for Gnome 2.4 built
by Frederic Peters and I had really liked the on-the-fly resolution
switching that was included. Unfortunately, since upgrading to the
official 2.4 packages, I've lost that functionality. Is this something
that's going to be released as a separate package, or is it there more
about it that I don't know?

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Daylight Savings Time and UP-n-P

2003-10-25 Thread Alex Malinovich
On Sat, 2003-10-25 at 17:58, Tom wrote:
> Two questions:
> 
> (1) I have debian and XP for games multiboot.  How do I keep both from 
> changing the clock for Daylight Savings?  [I'd like to set my HW clock 
> to GMT but I don't think XP understands that].
> 

From what I understand, it's actually possible to have XP apply your
timezone to a clock that's set to GMT. I'm not really sure how you do it
though as I don't use XP.

In the event that the option doesn't exist, (like in Windows 2000) then
I'd suggest just setting your HW clock to GMT and setting Windows for
GMT. I have 2000 installed so I can play the occasional game, and I keep
it set to GMT all the time. After all, if I'm playing a game I can't see
the clock anyway. And if I need to know what time it is when I'm NOT
playing a game, I'm already booted into Linux so it doesn't matter what
time Windows says it is. :)

> (2) XP has this UPnP thing that I thing does sneaking things with my POS 
> linksys FW open ports.  Is there something like that in *?

I'm afraid I don't know what "this UPnP thing" is, so I can't help you
there. If you'd care to elaborate a bit maybe I can be more helpful.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: [OT] Internet time (Biel Mean Time)

2003-10-27 Thread Alex Malinovich
 ned, 26-10-2003 Ñ 21:22, Scott C. Linnenbringer ÑÐ ÑÐÐ:
> On Mon, 27 Oct 2003 11:24:10 +0800, "David Palmer."
> <[EMAIL PROTECTED]> wrote: 
> 
> > If it was commonly adopted, they would then turn round and copywrite
> > it, and charge us by the second for access. We could really screw them
> > up by running internet time on the basis of the Buddhist/Quantum
> > theory principle of the 'eternal moment'. Regards,
> 
> If someone copyrighted the concept of 'time', we would have more things
> to worry about than just "screwing them over."

I think someone's already got you beat. I quote from an M&M candy
advertisement:

 "TM/(R) M&M's, the letter M and the M&M's Characters are registered
trademarks of Mars, Inc. and its affiliates (C) Mars, Incorporated 2002"

So, by my count, by the end of this message I have committed 39 acts of
trademark infringement... :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: =?koi8-r?Q?=EF=D7=CF?= =?iso-8859-5?Q?_=F8=D5?=	=?koi8-r?Q?_=C4=C5=CF?= =?koi8-r?Q?_=D0=CF=D2=D5=CB=C5?=	=?koi8-r?Q?_=D3=C1?= =?koi8-r?Q?_=C4=C9=C7=C9=D4=C1=CC=CE=C9=CD?=	=?koi8-r?Q?_=D0=CF=D4=D0=C9=D3=CF=CD?=


Re: Debian to English translation

2003-10-27 Thread Alex Malinovich
On Mon, 2003-10-27 at 09:17, Hoyt Bailey wrote:
> I just read the abp-get manpage and cannot understand some references.
> The manpage for each option gives a useage such as APT: :GET: :PURG
> 
> Lets say I want to purge kdm.  Can someone give a proper command line to use
> that would be applicable to all options.

I'm not sure what man page you're looking at, but my apt-get man page
clearly shows command line options with the full configuration options
(such as APT::Get::Purge) only at the very end of the description.
Purge, in particular, is shown as:

ââpurge
   Use  purge instead of remove for anything that would be removed.
   An asterisk ("*") will be displayed next to packages  which  are
   scheduled to be purged.  Configuration Item: APT::Get::Purge.

So to get back to your original question, the command line to use to
purge something would be "apt-get remove --purge ".

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Mailboxes, etc.

2003-10-28 Thread Alex Malinovich
On Tue, 2003-10-28 at 02:20, Ron Johnson wrote:
> On Tue, 2003-10-28 at 00:19, Karsten M. Self wrote:
> > on Mon, Oct 27, 2003 at 03:53:08AM -0600, Ron Johnson ([EMAIL PROTECTED]) wrote:
> > > On Mon, 2003-10-27 at 01:36, Karsten M. Self wrote:
> > 
> > > > maildir.  Much better performance, more flexible, you can access
> > > > messages as individual files, and more robust.  Plus 'From' doesn't need
> > > > to be escaped at start of line.
> > > 
> > > Why better performance?  If there's lots of messages, directory
> > > manipulation becomes very slow (at least on IDE drive).
> > 
> > Directory insertion/deletion (Maildir) vs. file insertion/deletion
> > (mbox).
> > 
> > Mailder is far more robust (djb gets _some_ things right).  And deals
> > with simultaneous access and multiple updates (say, d-u, where I
> > typically get new mail every few minutes) far better than mbox.
> > 
> > I try to keep my mailboxes <1k messages, though with Maildir I've had
> > 20k+ messages with few problems.
> 
> While we're on the topic:
> 
> I'm thinking of building an IMAP server out of a Via EPIA 5000 mobo
> (533MHz Eden CPU http://www.mini-itx.com/store/default.asp?c=2#p2),
> 512MB RAM & 40GB HDD.
> 
> Will this have the "oomph" to open large mail directories, etc,
> in a timely fashion?  Only 2 people will be using it, but I get 
> ~3600 spams per day.

My IMAP (Courier) server is an Athlon 650 with 128 MB of RAM, and an old
(probably ATA 66, or maybe even 33) 8 GB hard drive. With it, opening up
my debian-user folder which generally gets up to about 2k messages
before I start archiving, takes about 3 seconds in Evolution. In mutt,
since AFAIK mutt doesn't cache the folders at all, it can take 10 - 15
seconds to open up at times. But once it's all opened up, everything
works just fine.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Microsoft good press over Longhorn

2003-10-31 Thread Alex Malinovich
On Thu, 2003-10-30 at 18:09, Paul Johnson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Thu, Oct 30, 2003 at 11:18:56AM -0600, Ray wrote:
> > if you heard there was a movie/game/tech that had marketing running
> > for 3 years before release, wouldn't that be a sign of major suckage
> > to you too?
> 
> History is repeating itself.  See also: Daikatana.  I would have said
> Duke Nukem Forever, but it *still* hasn't come out (originally was
> slated to compete against Quake II), but at the rate it's going, it's
> more like Duke Nukem Whenever.

Oh, you never got the memo about that? The official naming for the Duke
Nukem series has been revised to:

Duke Nukem 

So you should obviously not EVER expect it to come out. :)

I actually remember seeing SCREENSHOTS for that game back in I think
'99. Yeah, they're right on schedule... :) And it actually wasn't
originally intended to compete with Quake II. Originally, it was
intended to be a sequel to Duke Nukem 3D, to be released shortly after
Quake came out, and well before Quake 2 was even verified as a real
project. Yes, it's really been THAT long. :)

And WRT Daikatana, hype was really what killed that game. I actually
rather enjoyed it as a regular old shoot'em up. But if you were
expecting the be-all end-all rebirth of perfect gaming, well then you
were rather disappointed. (Then again, being that part of the corporate
office was a built in movie theater, are you really surprised? :) )

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: What's the best package manager for single-package upgrades?

2003-11-04 Thread Alex Malinovich
On Tue, 2003-11-04 at 02:35, Joe Rhett wrote:
--snip--
> 1. Set the unstable archives to a higher preference in /etc/apt/preferences
> 2. "apt-get upgrade" to update the entire lot?
>   ... or am I missing a step?

That's about it. Simple really. :)

> I find it kindof sad that testing really doesn't appear to have any
> function any longer.  One would like to run from testing and leave unstable
> for the well, unstable stuff.  But I haven't really found much in testing,
> which means one must be stale, or bleed on the edge.  Sux.

Well, in my experience, testing is most useful immediately following a
new stable release, and least useful immediately preceding a new stable
release. If you were to have started using Sarge right after Woody came
out, I think you would have been rather happy. But now that everyone's
trying to get Sarge ready to ship out, there's not many current things
going in.

Though Sid is definitely not the bleeding edge of stuff in Debian. Sid
is, generally speaking, quite stable. There's the occasional hiccup, but
I can count on one hand the number of major problems I've had with Sid
in the entire time I've been using Debian. (About 2 years now)

If you really want bleeding edge, you add experimental to your
sources.list. That's where you get all the really fun stuff... :)

> In a perfect world, people would hammer things and then roll them into
> testing once they had been in unstable long enough without bug reports.
> This would allow us to keep high-uptime systems running the same kernels
> and such as our test/burn/destroy/rebuild laptops ;-) 

Well, that's basically exactly how it works. There's quite a few extra
details but that's the "meat and potatoes" of it so to speak. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: [no subject]

2003-11-05 Thread Alex Malinovich
I just had the exact same problem yesterday while doing a fresh install.
Even though /dev/input/mice exists as a file, that doesn't necessarily
mean that the device is there. A good way to test is to do a "cat
/dev/input/mice" (no, that's not a pun :) and see if you get a device
not found or if you start getting garbage when you move the mouse. If
you get garbage, then the mouse is found properly.

In my case, I just had to install hotplug (apt-get install hotplug) and
then unplug the mouse and plug it back in. After that, everything worked
fine. Good luck.
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Single-use root account?

2003-11-07 Thread Alex Malinovich
I've decided that it's about time I look for a solution to a problem
that's been bugging me. On certain occasions, I find it necessary to
have one of my roommates do something to the network at home when I'm
not there. As such, they generally will need root access to do it. While
I certainly trust them, I'm very security conscious and wouldn't feel
comfortable giving them my root password. So I had the idea of setting
up a one-time use root account. You can log in once, but as soon as you
do the user gets locked out. (passwd -l in .bashrc)

Unfortunately, since I use the "real" root account very frequently this
would be a great hassle. So I'd like to set up a pseudo-root account for
this purpose. It's easy enough to do an adduser --gid 0, but that would
still leave quite a few things which the user couldn't do. (At least
unless I did a chmod -R g+rwx *, which I'd like to avoid.)

So any ideas on how to go about it? Is it possible to have two different
users with the same UID? i.e. adduser --uid 0 --gid 0 temproot

If not, any other possibilities?
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Single-use root account?

2003-11-07 Thread Alex Malinovich
On Fri, 2003-11-07 at 03:22, Roberto Sanchez wrote:
> Alex Malinovich wrote:
> > I've decided that it's about time I look for a solution to a problem
> > that's been bugging me. On certain occasions, I find it necessary to
> > have one of my roommates do something to the network at home when I'm
> > not there. As such, they generally will need root access to do it. While
> > I certainly trust them, I'm very security conscious and wouldn't feel
> > comfortable giving them my root password. So I had the idea of setting
> > up a one-time use root account. You can log in once, but as soon as you
> > do the user gets locked out. (passwd -l in .bashrc)
> > 
> > Unfortunately, since I use the "real" root account very frequently this
> > would be a great hassle. So I'd like to set up a pseudo-root account for
> > this purpose. It's easy enough to do an adduser --gid 0, but that would
> > still leave quite a few things which the user couldn't do. (At least
> > unless I did a chmod -R g+rwx *, which I'd like to avoid.)
> > 
> > So any ideas on how to go about it? Is it possible to have two different
> > users with the same UID? i.e. adduser --uid 0 --gid 0 temproot
> > 
> > If not, any other possibilities?
> 
> What about sudo?  You can set it up to grant very limited permissions
> (i.e., one or two commands only) to a specific user.

I never really know what I'll need them to do, so it's not really
viable. It could be changing network settings one day (so I'd have to
allow access to ifconfig, route, export2fs, etc), user admin another day
(passwd, adduser, etc), and package management after that (dpkg, apt,
etc). That would become very unmanageable very quickly.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Single-use root account?

2003-11-07 Thread Alex Malinovich
On Fri, 2003-11-07 at 07:55, J. Bruce Fields wrote:
> On Fri, Nov 07, 2003 at 02:58:48AM -0600, Alex Malinovich wrote:
> > I've decided that it's about time I look for a solution to a problem
> > that's been bugging me. On certain occasions, I find it necessary to
> > have one of my roommates do something to the network at home when I'm
> > not there. As such, they generally will need root access to do it. While
> > I certainly trust them, I'm very security conscious and wouldn't feel
> > comfortable giving them my root password.
> 
> Why not?  They already have physical access to the machine, what more
> would you give up to them by telling them the root password?  For a home
> computer, I don't see much reason not to just stick the root password on
> a post-it note on the monitor You already trust anyone that's in a
> position to see it.

99% of the people who come by my apartment don't know enough to do any
of that. The 1% who do, only really know how to use Windows and have
never touched a CLI in their lives.

In regards to the roommates at least, they both use Debian and know
enough about it to do some basic functions from a terminal. As such, I
could tell them what to do over the phone without having to hold their
hands through the whole procedure. The reason I'm so concerned about the
one-time-use password is not to defend against any maliciousness on
their part, but rather to defend against stupidity on their part. (Or to
cover up my stupidity by having them fix something I broke before I get
home. :)
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Single-use root account?

2003-11-07 Thread Alex Malinovich
On Fri, 2003-11-07 at 10:55, Ron Johnson wrote:
> On Fri, 2003-11-07 at 09:30, Tom wrote:
> > * [07/11/2003 16:25] J. Bruce Fields <[EMAIL PROTECTED]>:
> > 
> > > > The all-privilege sudo is the best idea, since the actions are
> > > > audited.
> > > 
> > > Though note that the auditing is there to keep the honest honest--surely
> > > the audit trail isn't truly secure against an user with "all-privilege
> > > sudo". 
> > 
> > Also, I read the word(s) "single-use" in the subject line as "one-time
> > use". Not sure if that's what he meant, but if it is, I guess sudo isn't
> > exactly what he wanted either.
> 
> The OP can enable sudo privs only when he's going to be gone for
> any appreciable amount of time.

Unfortunately, most of the time that I need them to do something is when
I'm in class, which is 4 evenings every week. And usually, the reason I
need something done is because I need it while I'm in class and it can't
wait until I get home. So enabling sudo 4 afternoons a week and then
disabling it 4 evenings a week is not really an option.

The reason that I really want the single use (i.e. one time use) root
account is so that I can set it once and not have to worry about it
until I've had to call home and have them do something. Then once I get
home, I reset the password to something new and am all set for one more
login with the account which might not come for another month.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: X wont start again

2003-11-07 Thread Alex Malinovich
On Fri, 2003-11-07 at 10:11, Hoyt Bailey wrote:
> X was working fine.  I looked at the configuration in the gnome control
> center dont remember if I changed anything.  I did add the following to
> /etc/sudoers
> hoyt ALL=(ALL) ALL
> I dont know what happened but here is the warnings & errors from
> XFree86.0.log
>  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> 
> (WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
>  Entry deleted from font path.
> 
> (WW) Cannot open APM
> 
> (WW) Warning, couldn't open module GLcore
> (II) UnloadModule: "GLcore"
> (EE) Failed to load module "GLcore" (module does not exist, 0)
> 
> (II) NV: driver for NVIDIA chipsets: RIVA128, RIVATNT, RIVATNT2,
>  RIVATNT2 (A), RIVATNT2 (B), RIVATNT2 (Ultra), RIVATNT2 (Vanta),
>  RIVATNT2 M64, RIVATNT2 (Integrated), GeForce 256, GeForce DDR,
>  Quadro, GeForce2 GTS, GeForce2 GTS (rev 1), GeForce2 ultra,
>  Quadro 2 Pro, GeForce2 MX, GeForce2 MX DDR, Quadro 2 MXR,
>  GeForce 2 Go, GeForce3, GeForce3 (rev 1), GeForce3 (rev 2),
>  GeForce3 (rev 3)
> (II) Primary Device is: PCI 01:00:0
> (EE) No devices detected.
> 
> Fatal server error:
> no screens found

Have you upgraded X recently? Your XF86Config-4 may have been
overwritten without you knowing about it.
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Single-use root account?

2003-11-07 Thread Alex Malinovich
On Fri, 2003-11-07 at 12:50, Ron Johnson wrote:
> On Fri, 2003-11-07 at 12:35, Alex Malinovich wrote:
> > On Fri, 2003-11-07 at 10:55, Ron Johnson wrote:
> > > On Fri, 2003-11-07 at 09:30, Tom wrote:
> > > > * [07/11/2003 16:25] J. Bruce Fields <[EMAIL PROTECTED]>:
> > > > 
> > > > > > The all-privilege sudo is the best idea, since the actions are
> > > > > > audited.
> > > > > 
> > > > > Though note that the auditing is there to keep the honest honest--surely
> > > > > the audit trail isn't truly secure against an user with "all-privilege
> > > > > sudo". 
> > > > 
> > > > Also, I read the word(s) "single-use" in the subject line as "one-time
> > > > use". Not sure if that's what he meant, but if it is, I guess sudo isn't
> > > > exactly what he wanted either.
> > > 
> > > The OP can enable sudo privs only when he's going to be gone for
> > > any appreciable amount of time.
> > 
> > Unfortunately, most of the time that I need them to do something is when
> > I'm in class, which is 4 evenings every week. And usually, the reason I
> > need something done is because I need it while I'm in class and it can't
> > wait until I get home. So enabling sudo 4 afternoons a week and then
> > disabling it 4 evenings a week is not really an option.
> 
> cron to the rescue

That would allow them to log in any number of times for any reason, 4
nights of the week. That doesn't do much against defending against the
aforementioned stupidity. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Single-use root account?

2003-11-07 Thread Alex Malinovich
On Fri, 2003-11-07 at 16:54, ScruLoose wrote:
> On Fri, Nov 07, 2003 at 02:58:48AM -0600, Alex Malinovich wrote:
> > 
> > If not, any other possibilities?
> 
> Olkay, I see there's been plenty of discussion of the ins and outs of
> the self-locking one-shot root privilege thing. Neat idea, too; it's not
> something I ever thought of.
> 
> OTOH I wonder about attacking the problem from a completely different
> angle:
> If you have access to a computer lab at school, you could maybe run an
> ssh daemon on your home machine (plus one of the free dyndns.org
> accounts if you've got dynamic IP to worry about).  Then you could just
> ssh in to the machine and do the maintenance yourself.

That's actually one of the reasons that I've waited so long to try and
tackle this problem. I've been happily SSH-ing into my server for quite
a while, especially when I have my laptop with me. (Running Debian of
course.)

Unfortunately, there are times during class (with no computers in the
room) that I need something done, and the only way to do it is over the
phone. There's also the issue of what happens if the network connection
goes down while I'm away. If I'm at home it's easy enough to fix, but
away from home it's impossible.

While I had thought of experimenting with voice activated commands over
the phone, it seems like too much work for the task at hand. (Though it
would certainly be quite an interesting project... :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Single-use root account?

2003-11-08 Thread Alex Malinovich
On Fri, 2003-11-07 at 23:00, Pigeon wrote:
> On Fri, Nov 07, 2003 at 12:27:21PM -0600, Alex Malinovich wrote:
> > In regards to the roommates at least, they both use Debian and know
> > enough about it to do some basic functions from a terminal. As such, I
> > could tell them what to do over the phone without having to hold their
> > hands through the whole procedure. The reason I'm so concerned about the
> > one-time-use password is not to defend against any maliciousness on
> > their part, but rather to defend against stupidity on their part. (Or to
> > cover up my stupidity by having them fix something I broke before I get
> > home. :)
> 
> What happens if they get a keybounce while typing ^D ?

"keybounce"? You mean if they hit ^D with an empty command line?
Considering that it took me 6 months to teach them about ^U, I don't see
it being a problem. :) But in the event that it does happen, it just
means the problem will have to wait until I get home. I've been doing
that for months already anyway. :)
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Single-use root account?

2003-11-08 Thread Alex Malinovich
On Sat, 2003-11-08 at 10:47, John Hasler wrote:
> Here's a one-time root script:
--snip--
> Create the user 'onetimeuser' with UID 0.  Generate a bunch of encrypted
> passwords with 'makepasswd --crypt' and put them in the file onetimewords
> in onetimeuser's home directory.  Print out the unencrypted passwords and
> carry the list with you.  Call the above script from onetimeuser's .login.
> Put 'test -e ~/onetimewords || deluser onetimeuser' in onetimeuser's
> .logout.  The first time onetimeuser logs in his password will be whatever
> you assigned when you created the account.  The second time it will be the
> first password on the list.  The third time it will be the second on the
> list, and so on.  When the last password has been used the account will be
> deleted when the user logs out.

Great! This is EXACTLY what I wanted! Thanks a lot! :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Doom problems?

2003-11-08 Thread Alex Malinovich
On Sat, 2003-11-08 at 11:57, Joel Konkle-Parker wrote:
> Andreas Janssen wrote:
> > I can't say what exactly your problem is, but Debian comes with several
> > prepackaged Doom clones (for example lxdoom, prboom). prboom will also
> > allow you to run the game at higher resolutions.
> 
> I'm somewhat wary of 'enhanced' versions of games. Do you know what 
> changed? Is this actually Doom, or is it an 'enhanced' version with 
> added features the developers thought would be cool?

I used one of the clones a few months ago. I believe it was doomlegacy
(but don't quote me on that :). Played through all of Doom 1 and Doom 2
with it. (Took me quite a while to find the floppies so I could install
the WADs but it was well worth it. :) The only game-affecting change was
the addition of a "jump" button, but you could disable that if you
wanted. Everything else was just as I remembered it, except that you
could run it at higher resolutions and use opengl if you wanted. And it
had a TCP/IP multiplayer mode. (Something the original Doom lacked.) But
the experience was just as I remember it.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: fast swithichg between X and virtual console - how to?

2003-11-08 Thread Alex Malinovich
On Sat, 2003-11-08 at 11:20, Miernik wrote:
> Switching between X and virtual console is very slow, (with 
> Ctrl-Alt-F1, etc).
> 
> Is it possible to have it swich as fast as is switching between 
> virtual consoles?
> 
> If I set exactly the same video mode on my text console and X (I mean 
> resolution, timings, etc to be the same, one text and the other 
> graphics mode of course) will it switch fast? It won't have to change 
> video modes.
> 
> Or maybe if I install a framebuffer and run both text and X console 
> through a framebuffer it will be fast?

Is there some reason you need to constantly switch to the VTs? Can you
just use xterm instead? That would make switching a lot faster. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: No to wine! (was:"Red Hat recommends...")

2003-11-08 Thread Alex Malinovich
On Sat, 2003-11-08 at 10:22, Joel Konkle-Parker wrote:
> Christian Schnobrich wrote:
> > On Fri, 2003-11-07 at 00:52, David Millet wrote:
> > 
> > 
> >>>  
> >>
> >>Or not until wine begins running these and every windoze app that
> >>everyone uses flawlessly, which hopefully happens soon.
> > 
> > 
> > No! 
> > please.
> 
> 
> Here's my take. I like to play games. I have lots of games. As you are 
> probably well aware, there's not many commercial games for Linux. So I 
> keep a copy of Windows XP on my computer so I can play them.
> 
> If Wine could play all my games like they play in Windows, I could get 
> rid of my Windows partition completely, and be all the happier with 
> Linux as my main OS.
> 
> And yes, I know about WineX. But it's not there yet, and I don't have 
> the funds to spend $5/month for something I may not use very often.

I am a huge gamer and I do the same thing. HOWEVER, recalling my first
experiences with Linux from about 2 years ago, I've found that having
that crutch keeps you from looking for better alternatives.

I had used Agent as my newsreader for years in Windows, and when I
started using Linux the first thing that I did was install Wine and
Agent. Luckily, I stumbled upon Pan later and have been quite happy with
it since.

I was also on the verge of installing (or trying to at least) ICQ, AIM,
and friends under Wine so I could get in touch with people. Once again,
I got lucky and ran across Gaim.

And lets not forget that most people who decide to try Linux nowadays
are generally doing so to get away from the instability of Windows. But
ever since W2K, it's generally been the applications, NOT the OS, that's
been crashing left and right. (At least in my experience.) Running a
buggy app under Wine won't make it crash any less. It may well make it
crash MORE.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Single-use root account?

2003-11-08 Thread Alex Malinovich
On Sat, 2003-11-08 at 16:49, Pigeon wrote:
> On Sat, Nov 08, 2003 at 12:28:40PM -0600, Alex Malinovich wrote:
> > On Fri, 2003-11-07 at 23:00, Pigeon wrote:
--snip--
> > > What happens if they get a keybounce while typing ^D ?
> > 
> > "keybounce"? You mean if they hit ^D with an empty command line?
> 
> As in:
> 
> (On a crappy keyboard)
> $ cat > somefile
> some gubbins
> some more gubbins
> ^D (but the key bounces, so you actually get ^D^D)
> 
> logout
> 
> debian login:
> 
> ...or (Overconfident blind use of an xterm partially concealed by
> browser window, using sloppy focus)
> 
> $ cst > somefile
> bash: cst: command not found
> (middle click to paste a URL) 
> bash: http://www.two-stroke-diesels.org: No such file or directory
> ^D
> (xterm vanishes)
> 
> Or am I the only one who does this?

I generally use:

echo -e "some gubbins\nsome more gubbins\n" > somefile

(That's probably because I've gotten so used to using prints in Perl,
that I generally find it easier to specify a \n on an echo line, than to
hit Enter for STDIN. :)

Though in regards to my original reason for the question, the roomies
will probably never get comfortable enough with a CLI to get even close
to doing something like this. 

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: XMMS without X?

2003-11-08 Thread Alex Malinovich
On Sat, 2003-11-08 at 18:02, Tom wrote:
> I use xmms, xmms-flac, and xmms-shell with some custom scripts.  I do 
> all my interacting with xmms via the command line.  (I've never 
> understood why every SOUND PLAYER in the world had to get mixed up with 
> showing flashy colors to the music or drawing dumb bitmaps on their U/I.  
> Must be a penis thing.)
> 
> Anyway, it bugs me to have my music stop when I leave X.  Is there way 
> to run XMMS without X?  Something in the spirit of abcde (the coolest 
> wrapper in the world)?

Well, I'm not sure if it's possible to start XMMS without an X-server,
but assuming that there is a way to do so just run it in 'screen'. I
generally listen to ogg's while I'm using my computer, so I just do a
'screen ogg123 -@ my.list' followed by a quick ^a, ^d.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


/etc/profile not being read for gnome

2003-11-08 Thread Alex Malinovich
It seems that /etc/profile is being completely disregarded by Gnome. I
noticed a DefaultPath setting in gdm.conf, but the comment above it
mentioned that this will probably be overridden by the profile PATH.
Unfortunately, this doesn't appear to be the case. I could have sworn
that I had found a way around this before, but having lost my hard drive
last week and installing from scratch, I don't really remember what I
had to do. :)
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: parted: "rather strange layout"

2003-11-10 Thread Alex Malinovich
On Mon, 2003-11-10 at 08:59, Kjetil Kjernsmo wrote:
--snip--
> Yeah, well, I don't know if that is exactly the point, but according to 
> the GNU parted homepage, parted can only resize ext2, ext3 and reiserFS 
> partitions if the starting point remains fixed... I guess that's rarely 
> very useful, because in many cases, there is another partition 
> immediately following the first partition... That's how it is in my 
> case anyway. 

This is kind of OT in regards to the initial question, but in regards to
resizing partitions you do have a few options. ReiserFS does have it's
own resize utility (part of the reiserfsprogs package) which can do all
sorts of resizing operations. (I've actually had mixed results with
using parted on reiserfs partitions, so I'd suggest sticking with the
most current official programs.)

In regards to resizing ext2/3 partitions, it is true that the beginning
of the partition must remain fixed. I believe that MOVE operations will
work on ext partitions however. So given the following:

Minor Start End
1:1 100
2:  101 200
3:  201 300

You could do something along the lines of:

resize 1 1 50
move 2 51 150
resize 2 51 200

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Is it possible to retach a process to a new terminal?

2003-11-10 Thread Alex Malinovich
On Mon, 2003-11-10 at 09:01, Chema wrote:
> I often would find useful to stole the process from a tty wich is in a
> remote box, or to be able to see the output of a nohup'ed command, or
> to recuperate the process of a ssh session that got an abruptly end.
> 
> Is there a way to relocate a process in a new terminal?  Like "screen
> -d -r", but without screen =)
> 
> Anyway, I'm trying to screen anything I do now ;-)

Not sure if this would work, but maybe setting your shell to be "screen
/bin/bash" instead of just "/bin/bash". As far as actually switching
which tty you're using once the application is already running, I don't
know of any way to do it. (Though that certainly does not mean that
there ISN'T a way to do it.)
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Is it possible to retach a process to a new terminal?

2003-11-10 Thread Alex Malinovich
On Mon, 2003-11-10 at 09:45, [EMAIL PROTECTED] wrote:
> On Mon, Nov 10, 2003 at 09:01:18AM -0600, Chema wrote:
> > I often would find useful to stole the process from a tty wich is in
> a remote box, or to be able to see the output of a nohup'ed command,
> or to recuperate the process of a ssh session that got an abruptly
> end.
> > 
> > Is there a way to relocate a process in a new terminal?  Like
> "screen -d -r", but without screen =)
> 
> And a tag-along question: is there anyway to do that with X?

I've never actually used either of them, but I believe that xmove and
teleport will both do that.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Periodic sluggishness in games

2003-11-12 Thread Alex Malinovich
On Tue, 2003-11-11 at 22:39, Joel Konkle-Parker wrote:
--snip--
> As a test, I closed all open apps, turned off apache and mysqld, and 
> start up a round of Unreal Tournament. The problem continued, with 
> alternating periods of normal speed and slow speed, with the periods of 
> normal speed getting shorter as time went on.
> 
> The only syslog entries during this time period were:
> 
> --
> Nov 11 23:26:38 Moe gnome-name-server[6073]: server_is_alive: 
> cnx[IDL:GNOME/Terminal/TerminalFactory:1.0] = (nil)
> Nov 11 23:26:38 Moe gnome-name-server[6074]: server_is_alive: 
> cnx[IDL:GNOME/Terminal/TerminalFactory:1.0] = 0x80561c0
> Nov 11 23:26:40 Moe gnome-name-server[6081]: server_is_alive: 
> cnx[IDL:GNOME/Terminal/TerminalFactory:1.0] = (nil)
> Nov 11 23:26:40 Moe gnome-name-server[6082]: server_is_alive: 
> cnx[IDL:GNOME/Terminal/TerminalFactory:1.0] = 0x8056630
> Nov 11 23:27:14 Moe gconfd (joeljkp-5739): GConf server is not in use, 
> shutting down.
> Nov 11 23:27:14 Moe gconfd (joeljkp-5739): Exiting
> Nov 11 23:34:45 Moe gnome-name-server[6162]: server_is_alive: 
> cnx[IDL:GNOME/Terminal/TerminalFactory:1.0] = (nil)
> Nov 11 23:34:45 Moe gnome-name-server[6163]: server_is_alive: 
> cnx[IDL:GNOME/Terminal/TerminalFactory:1.0] = 0x80561c0
> --
> 
> Any idea what these are, and if they could cause something like this?
> 
> Or there some other problem here?

When in the game does it happen? I don't recall having any problems with
Max Payne, but I know that UT used to be rather slow at the beginning of
each new level for the first few minutes. Then it would miraculously
clear up and cause no problems.

The only other thing that I could think of, as previously mentioned, is
that it's some cron job that keeps running. I'd try logging into just a
bare X session with nothing but an xterm window running and then doing a
ps -A and killing off anything that you don't really need running at the
time. Start up the game(s) and see if the problem clears up. If not, it
might be something with your video drivers.

Actually, and I just thought of this, check your sound setup. What type
of sound card do you have, are you using ALSA or OSS, etc? I remember
Quake III had some serious issues with certain types of sound setups and
serious slowdown in the game.
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: openGL cannot do fullscreen in dual monitor config

2003-11-12 Thread Alex Malinovich
On Tue, 2003-11-11 at 22:44, Erik Steffl wrote:
>just tried dual monitors with two card (geForce FX 5600 Ultra, nvidia 
> drivers and ATI Radeon 9800, ati drivers), debian unstable, X 4.2.1:
> 
>one monitor: openGL works fullscreen or windowed
> 
>two monitors: openGL works in window, not fullscreen
> 
>tested with xscreensaver hacks
> 
>considering that these are two fairly different implementations of 
> openGL (I think, they both provide openGL libs and their own way to set 
> up two monitors) - is there something that I should set up to be able to 
> run fullscreen openGL apps fullscreen? or is some way to set up dual 
> monitors better than other when using fullscreen openGL apps?

Not sure what your exact setup is, but using a GeForce 4 Ti 4400 with 2
19" monitors and the Nvidia drivers I was able to play Quake III
fullscreen across both monitors.

(Well, "able to play" being a relative term. It was damned near
impossible to aim as the crosshair was split between the two monitors,
with 4 inches of dead space between the adjoining edges of the screens.
:)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Disaster recovery help, please

2003-11-12 Thread Alex Malinovich
On Wed, 2003-11-12 at 18:03, stan wrote:
> Last night I was peacefully using my happy little Debian machine, 
> when it froze. To make a log sad story short, it was a cataostrophic 
> disc failure (still in waranty it turns out).
> 
> The good news, is that I have Amanda runing every night, so I really
> don't think I will lose anything. However I have a question about
> how to recover from this.
> 
> I plan on restoring the complete amanda backup of the disk to
> another disk, on a running machine. So far so good. At that point
> I _think_ I should be in good shape, except for boot blocks, right?
> 
> So, given that I was using liol, what should I do to restore the boot 
> blocks?

Once you've copied the data back onto the new drive just boot from a
rescue disc or a Debian install disc and re-run lilo. In the case of the
Debian install disc (Woody), you'll want to do either:

rescue root=/dev/yourrootpartition

or

rescbf24 root=/dev/yourrootpartition

Unless you've been using a 2.2 series kernel, I'd suggest using
rescbf24.

Once you're booted up (ignore any errors for now), just run lilo as
root, take out the boot disc, and reboot. You should be back up and
running in no time.

p.s. I commend you for making regular backups. I recently had one of the
drives in my RAID 0 array start acting up and almost lost all of my
data. Luckily, I was able to recover the majority of my home directory
(the only really important stuff was there anyway), but it would have
been MUCH easier had I just had a separate backup somewhere.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Disaster recovery help, please

2003-11-14 Thread Alex Malinovich
On Thu, 2003-11-13 at 17:18, stan wrote:
> On Wed, Nov 12, 2003 at 09:58:31PM -0600, Alex Malinovich wrote:
> > On Wed, 2003-11-12 at 18:03, stan wrote:
--snip-- 
> > > So, given that I was using liol, what should I do to restore the boot 
> > > blocks?
> > 
> > Once you've copied the data back onto the new drive just boot from a
> > rescue disc or a Debian install disc and re-run lilo. In the case of the
> > Debian install disc (Woody), you'll want to do either:
> > 
> > rescue root=/dev/yourrootpartition
> > 
> > or
> > 
> > rescbf24 root=/dev/yourrootpartition
> > 
> No, it's a 2.4 serries.
> 
> BTW, the disk is resiserfs formated, does that represent a problem?

Nope. Just make sure to use the rescbf24 image as that has built-in
reiserfs support. (The regular 2.2 series kernel used with "rescue"
doesn't have reiserfs support)

> The reason I want to do it this way, rather than a reinstall is, I hade
> pretty much the last version of Gnome 1.4, which I really love, and I
> _HATE_ Gnome 2 so much I will probably dfect to the KDE camp eventually.

There were a few things that really annoyed me with the transition from
1.4 to 2, but they've all pretty much been addressed by now. And 2.4
adds some really nice touches. I'd suggest giving 2 another shot, but if
you're sure you don't want to I know quite a few people are really fond
of KDE. Or you could try the minimalist approach and just use a
bare-bones wm. :)

> Thanks for the help, I geuss this is a weekend project.

The only thing that should really take any time is copying the data onto
the new drive. Once that's done, you're looking about... hmm... 50
seconds of work. (Depending on how fast your PC actually boots up. :)
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: how to do a clean upgrade without losing packages?

2003-11-14 Thread Alex Malinovich
On Thu, 2003-11-13 at 17:26, Kenward Vaughan wrote:
> I believe most of your concern is unjustified, as packages tend to get
> reorganized over time or replaced by appropriate alternatives (renamed,
> etc.). There may be some which no longer exist, but I don't {know
> if | believe} they would be excised for that reason.  You might check the
> contents of some of the packages being removed against the unstable
> distribution to see whether they exist in an alternate .deb (which you
> should then find is in the new list to be downloaded).  This can be
> done at Debian's web site. 
> 
> One thought is whether you know of other packages dependent on those
> listed.  If so, what are their new (Sid) dependencies, and are those
> met in your upgrade?

Kenward is right in saying that generally speaking most of the
deletions, etc, are probably done for a good reason. It's definitely
worth taking the time to check which packages are being removed. It's
possible that their functionality is just being integrated into a
pre-existing package.

But to answer your original question, if you don't want any
additions/deletions done, what you want is:

apt-get upgrade

This will only upgrade those packages that can be upgraded without
requiring removing or adding packages.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Text processing help (sed?)

2003-11-14 Thread Alex Malinovich
On Thu, 2003-11-13 at 15:03, BruceG wrote:
> Hey all, not a Debian specific question. I am working with some CSV files.
> Daily extracts. I was able to combine them all with cat, then yank out the
> records I needed and popped then in a smaller file using grep. Finally
> yanked duplicates using sort < file | uniq -d
> 
> Now comes the hard part. Each record begins with the date and hour. When I
> graph a month's worth of data, the graphs get nuts, so I want to remove
> specific entries from each line. Specifically, I want to replace the entry
> with a comma. A sample of the file is below:
> Date,TargetName ifIndex IfDescr,AvgIn,AvgOut,MaxIn,MaxOut
--snipped sample data--
> How would I replace 10/17/2003 1:00 with a , ?   I need to hit each day of
> the month, and I only want to show the text for 10/**/2003 0:00, 8:00,
> 16:00. The rest I want to use a , to show an empty cell.

You're right in your subject, sed is the tool to use.

sed 's/10\/17\/2003 1:00/,/' inputfilename

Or you could optionally just pipe the output of the operations creating
the output in the first place to the above without "inputfilename".

If you want to do something more detailed, I'd suggest you read up on
regular expressions and then construct your own based on what exactly
you need.

Note that in the above example I used exactly what you said. That is
REPLACED the date with a comma. So the string will have one more comma
than it did before. If you wanted to just remove the date without
actually inserting a comma, just pull the comma out of the above
command.
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Opium [was: Re: freelance sysadmining -- superlong -- [WAS: "Red Hat recommends Windows for consumers"]]

2003-11-14 Thread Alex Malinovich
On Thu, 2003-11-13 at 22:56, Ron Johnson wrote:
--snip--
> It hasn't happened in the last 100k years, what makes you think
> it will happen when there are 10x as many people now as there were
> 100 years ago, and there will be another 6-9B people in the next
> 45 years.

Familiar with the theory of (I might be off on the numbers) a million
monkeys, typing on a million typewriters for a million years? Maybe with
enough people, there will be enough of us "maturing" to achieve critical
mass? Or we're all completely off and have no idea what will actually
happen. :) (I'd put my money on the latter. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: upgrading packages that are in use, especially X or gnome

2003-11-14 Thread Alex Malinovich
On Thu, 2003-11-13 at 17:36, Tom wrote:
> I know you don't need to reboot after you apt-get upgrade, but I'm a bit 
> curious about upgrading packages that are in use.
> 
> I knowly vaguely that the kernel allows you to replace executables that 
> are in use so "it all works", but I have questions.
> 
> *Services like cupsys or inetd seem to stop, do a clean replace, and 
> restart, during an upgrade, so they always upgrade cleanly (except for 
> not being availble during upgrade).  Correct?
> 
> *Things like X or gnome-applications which may be running during an 
> upgrade do get upgraded, but until you restart those applications, the 
> old versions are running, and your settings files could potentially get 
> hosed if the upgrades are radical.  So basically you need to exit and 
> restart X if gui-ish things in use are upgraded.  Correct?
> 
> *Some libraries are static-linked, so if they are upgraded, no running 
> binaries are affected.  (Only next time you compile a program).  
> Dynamically linked libraries require your apps to be restarted.  
> Correct?
> 
> What I usually do is see what's upgraded, and if many running things are 
> upgraded, I log out of everything and then log back in, but I never 
> reboot.  Is this the right thing to do, or is it unnecessary?

I always log out and log back in just in case after an upgrade. In
regards to the config file updates, most programs generally only read
the configuration file at startup, so changing the config file won't
affect the running process. The few programs that actually check their
config files at various points during run time, I'd imagine the package
maintainers would account for in some way or another.
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Opium [was: Re: freelance sysadmining -- superlong -- [WAS: "Red Hat recommends Windows for consumers"]]

2003-11-14 Thread Alex Malinovich
On Fri, 2003-11-14 at 02:19, Tom wrote:
> On Fri, Nov 14, 2003 at 02:08:15AM -0600, Alex Malinovich wrote:
> > On Thu, 2003-11-13 at 22:56, Ron Johnson wrote:
> > --snip--
> > > It hasn't happened in the last 100k years, what makes you think
> > > it will happen when there are 10x as many people now as there were
> > > 100 years ago, and there will be another 6-9B people in the next
> > > 45 years.
> > 
> > Familiar with the theory of (I might be off on the numbers) a million
> > monkeys, typing on a million typewriters for a million years? Maybe with
> > enough people, there will be enough of us "maturing" to achieve critical
> > mass? Or we're all completely off and have no idea what will actually
> > happen. :) (I'd put my money on the latter. :)
> 
> I recently discovered a couple of great sites:
> 
> http://www.nizkor.org/features/fallacies/appeal-to-tradition.html
> http://www.infidels.org/news/atheism/logic.html#antiquitatem
> 
> This one sounds like "Argumentum ad antiquitatem", or the "that's the 
> way it's always been" fallacy.  Or, as they say in the Stock Market: 
> "past performance does not predict future results" :-)

Are you referring to my post or the one I was replying to? I checked the
two links that you provided and, assuming you were, in fact, referring
to my post, I don't quite follow the logic I'm afraid. If that was the
case, could you elaborate please?

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Opium [was: Re: freelance sysadmining -- superlong -- [WAS: "Red Hat recommends Windows for consumers"]]

2003-11-14 Thread Alex Malinovich
On Fri, 2003-11-14 at 04:00, Tom wrote:
> On Fri, Nov 14, 2003 at 03:49:48AM -0600, Alex Malinovich wrote:
> > On Fri, 2003-11-14 at 02:19, Tom wrote:
> > > On Fri, Nov 14, 2003 at 02:08:15AM -0600, Alex Malinovich wrote:
> > > > On Thu, 2003-11-13 at 22:56, Ron Johnson wrote:
> > > > --snip--
> > > > > It hasn't happened in the last 100k years, what makes you think
> > > > > it will happen when there are 10x as many people now as there were
> > > > > 100 years ago, and there will be another 6-9B people in the next
> > > > > 45 years.
> > > > 
> > > > Familiar with the theory of (I might be off on the numbers) a million
> > > > monkeys, typing on a million typewriters for a million years? Maybe with
> > > > enough people, there will be enough of us "maturing" to achieve critical
> > > > mass? Or we're all completely off and have no idea what will actually
> > > > happen. :) (I'd put my money on the latter. :)
> > > 
> > > I recently discovered a couple of great sites:
> > > 
> > > http://www.nizkor.org/features/fallacies/appeal-to-tradition.html
> > > http://www.infidels.org/news/atheism/logic.html#antiquitatem
> > > 
> > > This one sounds like "Argumentum ad antiquitatem", or the "that's the 
> > > way it's always been" fallacy.  Or, as they say in the Stock Market: 
> > > "past performance does not predict future results" :-)
> > 
> > Are you referring to my post or the one I was replying to? I checked the
> > two links that you provided and, assuming you were, in fact, referring
> > to my post, I don't quite follow the logic I'm afraid. If that was the
> > case, could you elaborate please?
> 
> The one you replying too, I'd already deleted Ron's post.  Shoulda 
> snipped.
> 
> All this talk about drugs has got me missing the good old days.  I'm 
> reading Brave New World, which apparently came out this year on Project 
> Gutenburg.  Good old Soma :-)
> 
> I tell ya, if you've never had a dogbone or a football and a joint and a 
> cup of coffee on fine spring morning, you don't know what you're missing 
> :-)  But now I've got to be all *good*  Dammit

Actually, I haven't and I therefore don't. And thanks for those links. I
just got done reading both. Some very interesting fallacies listed,
especially on the Atheism Web one. And speaking of fallacies:

You don't know what you're missing

This carries the implication that the topic at hand is in some way good.
But I could just as validly state that, "If you've never been shot in
the head with a shotgun you don't know what you're missing!". Because,
really, you wouldn't know what you were missing until after you'd
experienced it. :)

Or to go at it from a different angle, asserting that something is great
while under the influence of something that makes EVERYTHING seem great
tends to dilute the assertion. Now, if you can take an extremely potent
downer; one that will make you suicidal and make everything around you
seem terrible, and THEN still state that it's great, well THEN you're
lending at least a bit of extra strength to your statement. :)

As if we weren't OT enough to begin with, I come along and OT the OT
thread. :) 

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: What's the best package manager for single-package upgrades?#

2003-11-14 Thread Alex Malinovich
On Fri, 2003-11-14 at 12:14, Joe Rhett wrote:
> > So much for the topic at hand... in general: fear not.
> > It's part of the Linux learning process that one learns where to pick up
> > information. man, info, /usr/share/doc/, www... google is your friend,
> > but google is not the be-all and end-all of everything.
> > Especially if you what you're looking for can't easily be phrased as a
> > search term, or scores far too many hits.
>  
> I've been using Linux since 0.7x kernels, so you can skip the patronizing.
> Last time I checked, some of my patches were still in the driver sources
> for various adapters.
> 
> The point I was making is that most of us have better things to do than
> search more than 5 pages of google hits.  If the 'right places' to get
> Debian applications were listed on the debian homepages, this wouldn't be
> necessary. (more on this below)

All of the "right" places already ARE listed on the Debian homepage.
Sites like apt-get.org list all UNOFFICIAL packages which may very well
kill your entire system or worse. Hence, they are intentionally NOT
listed on debian.org.

Also, I don't believe Christian was trying to be patronizing. He may
have been incorrect in assuming that if you didn't know that much about
Debian that you also didn't know that much about Linux, but the advice
he gave was good none the less.

Though I must say I'm extremely curious how you managed to use a 0.7x
kernel that never existed. The last release of the kernel after 0.12 was
0.95 after all.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Desktop productivity with Debian GNU/LINUX

2003-01-22 Thread Alex Malinovich
On Wed, 2003-01-22 at 11:40, Hal Vaughan wrote:
> I wonder -- are the people that start with Debian people who are new to Linux, 
> but used to Unix or sys admin/programming on other systems, or are they just 
> at the "user" (or just above) level?

I did my first ever install of a Linux distro 13 months ago (almost to
the day as a matter of fact), which happened to be Debian Potato. Before
that I'd used Windows, Windows, and more Windows. I started up the OS/2
installer once. That was about as far as I got with it though. :) The
only real unix-type experience that I'd had before that was using Cygwin
(before the days of X support) for about 5 months. That got me
comfortable with ls, grep, less, and emacs. 

Other than that, I was an absolute newbie. I thought mounting was what
you did with a horse and ext2 was the 2nd extended partition on my HD.
:) And, worst of all, I didn't discover debian-user until AFTER I got
the system fully installed. :)

Now, 13 months later, I run Sid with some experimental packages on my
desktop machine and laptop, a mailserver running Sid with relatively old
packages that I know work right. (Testing is a bit TOO old for me. :)
And a webserver/Sid mirror running, you guessed it, Sid. :)

I also tried installing Mandrake about a month ago to see what it was
like and found one of the best installers I've ever seen. I now carry
the 1st Mandrake install CD around with my laptop anytime I need an
emergency boot disk for someone. (Primarily because of the partitioning
tool.) However, I can't stand the distro from the user standpoint. The
default setup with no VTs is absolutely horrid, and having to use a
wizard for just about everything is a nightmare. I'm going to give
Gentoo a shot as soon as I get enough HD space freed up, but in the
meantime, I'm a diehard Debian supporter. :)

-Alex



signature.asc
Description: This is a digitally signed message part


Re: RE:GeForce4 MX

2003-01-23 Thread Alex Malinovich
On Wed, 2003-01-22 at 23:22, [EMAIL PROTECTED] wrote:
> >Hey everyone,
> 
> >I just upgraded from a GeForceDDR to a GeForce4 MX and of course my XWindows
> >system stopped working.  I checked out the log, and it seems that the nv
> >driver i'm using only wants to work on nvidia cards up to the GeForce3, at
> >least taht's what the string listing the supported cards says.  Do i really
> >need a new driver, and if so, how do i get it and load it?

Well, for starters, going from a GeForce DDR to a GeForce 4 MX isn't
really much of a step up. Especially considering that the GeForce 4 MX
isn't really a GeForce 4 at all. I'd suggest taking it back and saving
up for a Ti 4400 or 4600. (Or at the very least a 4200) But that's
besides the point. :)

apt-get install nvidia-kernel-src nvidia-glx-src
Read the docs in /usr/share/doc/nvidia-kernel-src and
/usr/share/doc/nvidia-glx-src. They'll tell you how to compile and
install the drivers. Part of the process is going to be editing your
/etc/X11/XF86Config-4 file to use the "nvidia" driver instead of "nv".
It's all quite well documented. Since we do have the wonderful Debian
package system to work with, don't bother going to nvidia.com and
downloading tarballs. The debs make life a LOT easier. Good luck. :)

-Alex

p.s. There's a known issue with the latest nvidia drivers 41xx something
or other, being really slow with 2d stuff. Either downgrade or just deal
with it for the time being. :) (I've been dealing with it since it
doesn't really bother me much.)




signature.asc
Description: This is a digitally signed message part


Recovering lost partitions

2003-01-26 Thread Alex Malinovich
I made a BIG mistake. Assuming that fdisk -l partition numbers and
parted partition numbers would be identical, I happily deleted two of my
disk partitions. One of them was the wrong one. Here's how my partition
table USED to look:

MinorStart   End Type  Filesystem  Flags
1  0.031   3074.941  primary   ntfsboot
2   3074.941  14692.258  primary   ext3
4  14692.258  43974.799  extended  lba
5  14700.103  22967.929  logical   fat32   lba
6  22967.960  23101.281  logical   linux-swap
7  23101.312  28223.569  logical   fat32
8  28223.600  43974.799  logical   fat32

and here's what it looks like now:

MinorStart   End Type  Filesystem  Flags
1  0.031   3074.941  primary   ntfsboot
2   3074.941  14692.258  primary   ext3
4  14692.258  43974.799  extended  lba
5  14700.103  22967.929  logical   fat32   lba
6  22967.960  23101.281  logical   linux-swap
7  23101.312  28223.569  logical   fat32   lba

I managed to rescue partition 7 using parted rescue, however that
partition was empty to begin with. The one that I REALLY need is 8, and
it doesn't seem to want to come back. This is exactly what I've done
since deleting the partition:

resized 4 to 12692.258 - 23101.281
resized 4 to 12692.258 - 43974.799
rescued 7

Since parted won't rescue it for me, how do I go about rescuing it
myself? Are there any tools that can do the job? TIA.

-Alex



signature.asc
Description: This is a digitally signed message part


Re: exim and relaying -- for ONE user

2003-01-30 Thread Alex Malinovich
On Thu, 2003-01-30 at 16:09, will trillich wrote:
--snip--
> right. here's why people (read as 'non-geeks') insist that
> documentation is lacking in the linux world:
--snip--
> 
> no clue given HOW to determine which "available authenticators"
> are supplied, WHAT they might be called, nor HOW TO FIND OUT.
> what is an authenticator? will "strings `which exim`" tell me?
> where are they defined? how can you make more (or less) of them
> available or change their parameters?

If you look in the table of contents, you'll see there's a section on
different types of authentication which are available. (all 3 of 'em. :)

As for your earlier post about the auth not working, have you checked to
see if you have libpam-pwdfile installed? I just set up SMTP plain auth
last night following the directions that were given earlier and it all
went pretty smoothly. The only things that I had to do that weren't
mentioned were install libpam-pwdfile and change the if line for auth to
use $2 and $3 instead of $1 and $2. If you use an actual SMTP client (I
was using Evolution) it'll still send the beginning \0, so you have to
manually modify the rule to allow for it. Other than that, all went
quite smoothly.

Hope this helps. :)

-Alex



signature.asc
Description: This is a digitally signed message part


Re: exim and relaying -- for ONE user

2003-01-31 Thread Alex Malinovich
On Fri, 2003-01-31 at 00:56, will trillich wrote:
> On Thu, Jan 30, 2003 at 06:10:52PM -0600, Alex Malinovich wrote:
> > On Thu, 2003-01-30 at 16:09, will trillich wrote: As for your
> > earlier post about the auth not working, have you checked to
> > see if you have libpam-pwdfile installed? I just set up SMTP
> > plain auth last night following the directions that were given
> > earlier and it all went pretty smoothly. The only things that
> > I had to do that weren't mentioned were install libpam-pwdfile
> > and change the if line for auth to use $2 and $3 instead of $1
> > and $2. If you use an actual SMTP client (I was using
> > Evolution) it'll still send the beginning \0, so you have to
> > manually modify the rule to allow for it. Other than that, all
> > went quite smoothly.
> 
> i appreciate your helpful pointers. i don't appreciate exim's
> determination to reject all my 'advances'. :( (and that the
> documentation keeps bouncing rudely off the back of my eyeballs.
> i hope to reach critical mass soon where it all sinks in at
> once, but apparently i need several more iterations.)
> 
> i've got libpam-pwdfile (how do you know, when pam fails, what
> exactly went wrong, by the way?). and exim.config includes

It's a very complicated and technical discovery process that I have
dubbed "guessing". :) (Actually, the best way is to use exim -bh to
test. That'll give you about as useful a bit of info as you're likely to
get. :)

>   plain:
>   driver = plaintext
>   public_name = PLAIN
>   server_condition = ${if pam{$2:${sg{$3}{:}{::}}}{yes}{no}}
>   server_set_id = $2
> [snipsnip]
> 
> i've found ${sg} (like perl's "s/pat/repl/g") and ${pam} (a bit
> scanty on what's going on or where to look when things go south)
> in the docs; so the server_condition takes string $3 (the
> password) and doubles all colons, and sends "$2:$3-fixed" to
> pam, which does (is supposed to do) something magical with
> handwaving and hacks up furballs --
> 
> when i try emailing via smtp @serensoft.com from outside i get
> rejected...

Ok, so you've got libpam-pwdfile installed. Everything you've posted
from within your exim.conf appears to be in order. Make sure you've put
the plain: stuff inside the authentication section. That was one of the
first mistakes I made actually. :)

Next, check your /etc/pam.d/exim and make sure it looks a little
something like this:

account requiredpam_permit.so
authrequiredpam_pwdfile.so pwdfile /etc/exim/passwd

of course, you'll need to replace /etc/exim/passwd with the path to your
actual password file. Also double check to make sure you made the passwd
file and make sure you've got the same username/password combo in there
that you're trying to log in with. I used the script that Derrick posted
and it worked great for me. (not counting the fact that it's in python
and not perl, but I guess I can't win 'em all... :)

Then just do an "exim -bh 127.0.0.1" and then:
EHLO hereiam
AUTH BASIC 

And it SHOULD work. (Should being the key term. If it doesn't, just post
the error message and we'll go from there.) Good luck. :)

-Alex

p.s. And once you're done with that you can start messing around with
TLS support. That was my 2nd project and today I was able to, for the
first time ever, send mail from my home mail server while away from home
using username/password authentication over a secure connection. I was
so proud. :)



signature.asc
Description: This is a digitally signed message part


Re: exim and relaying -- for ONE user

2003-01-31 Thread Alex Malinovich
On Fri, 2003-01-31 at 06:51, will trillich wrote:
> 5:05am? whassa matter, couldn't sleep? (that's *my* problem --
> one of them, anyway...)
> 
(I get most of my best work done after 2 am. :)

> i noticed (below) you used "basic" instead of "plain" so i
> munged my setup to match:

Actually, that was my mistake. :) I am using PLAIN.

> it may be only cosmetic -- then again it may not! (are there
> some pieces missing there? looks kinda scant.)

I don't remember if I cut some pieces out or not. Either way, here is my
plain: section in its entirety:

plain:
  driver = plaintext
  public_name = PLAIN
  server_prompts = User Name : Password
  server_condition = ${if pam{$2:${sg{$3}{:}{::}}}{yes}{no}}
  server_set_id = $2

Just to make sure you're generating the right passwords here, I made a
dummy account for testing. This is what the python script spit out:
user: testuser
password: password

script output: testuser:teobtLiiDGEOk

base64 encoded user and pass: AHRlc3R1c2VyAHBhc3N3b3Jk

Gandalf:/etc/exim# ls /etc/exim/passwd
-rw---1 mail mail   24 Jan 30 04:16 /etc/exim/passwd

and

Gandalf:/etc/exim# ls /etc/pam.d/exim
-rw---1 mail mail   91 Jan 30 04:11 /etc/pam.d/exim

And just to be COMPLETELY thorough, here's all the related packages I
have installed:

libpam-modules 0.76-7
libpam-runtime 0.76-7
libpam0g   0.76-7
libpam-pwdfile 0.6-2
exim-tls   3.35-3

That's about all I can think to check. :) Good luck.

-Alex

>   account requiredpam_permit.so
>   authrequiredpam_pwdfile.so pwdfile /etc/exim/passwd
> 
> i'm trying a skeleton /etc/exim/passwd until something starts
> working, anyhow -- then i'll customize from there.
> 
> > of course, you'll need to replace /etc/exim/passwd with the
> > path to your actual password file. Also double check to make
> > sure you made the passwd file and make sure you've got the
> > same username/password combo in there that you're trying to
> > log in with. I used the script that Derrick posted and it
> > worked great for me. (not counting the fact that it's in
> > python and not perl, but I guess I can't win 'em all... :)
> 
> and i made it "chmod 600" and "chown mail.mail" as well.
> 
> > Then just do an "exim -bh 127.0.0.1" and then:
> > 
> > EHLO hereiam
> > AUTH BASIC 
> > 
> > And it SHOULD work. (Should being the key term. If it doesn't,
> > just post the error message and we'll go from there.) Good
> > luck. :)
> 
> and here it comes--
> 
>   # exim -bh 192.168.1.2
> 
>    SMTP testing session as if from host 192.168.1.2
>    Not for real!
> 
>   >>> host in host_lookup? yes (*)
>   >>> looking up host name for 192.168.1.2
>   >>> IP address lookup yielded duo
>   >>> Alias duo.lan
>   >>> host in host_reject? no (option unset)
>   >>> host in host_reject_recipients? no (option unset)
>   >>> host in auth_hosts? no (option unset)
>   >>> host in sender_unqualified_hosts? no (option unset)
>   >>> host in receiver_unqualified_hosts? no (option unset)
>   >>> host in helo_verify? no (option unset)
>   >>> host in helo_accept_junk_hosts? no (option unset)
> 
> [no mention of "host_auth_accept_relay = *" ?]
> 
>   220 server ESMTP Exim 3.35 #1 Fri, 31 Jan 2003 06:23:44 -0600
>   ehlo herewego
>   250-server Hello duo [192.168.1.2]
>   250-SIZE
>   250-PIPELINING
>   250-AUTH BASIC
>   250 HELP
>   auth basic [base64-encoded-\0user\0passwd\0]
>   >>> plain authenticator:
>   >>>   $1 = 
>   >>>   $2 = [username-was-here]
>   >>>   $3 = [passwd-went-here]
>   >>> expanded string: no
>   535 Incorrect authentication data
>   LOG: Authentication failed for duo (herewego) [192.168.1.2]: 535 Incorrect 
>authentication data
> 
> (also tried \0user\0passwd without trailing \0, no good.) so
> it's still retching on me. and yet...
> 
>   # exim -be
>   > ${if pam{[username]:[bad-password]}{y}{nope}}
>   nope
>   > ${if pam{[username]:[right-password]}{y}{nope}}
>   y
> 
> so who the hell's in charge, that's what i want to know.
> apparently pam is working, but the config is rejecting it for
> some reason.
> 
> tres mucho oddness. the story of my day. and the documentation is
> prfect. sure it is.
> 
> > p.s. And once you're done with that you can start messing
> > around with TLS support. That was my 2nd project and today I
> > was able to, for the first time ever, send mail from my home
> > mail server while away from home using username/password
> > authentication over a secure connection. I was so proud. :)
> 
> you are *exactly* where *i* want to be. (i can tell the view is
> awesome!) let me guess -- you've also got the imap thing working.
> of course, adding md5 as well wouldn't hurt, but that'll be
> another nail in the coffin. (mine, perhaps.) i just need a few
> more breadcrumbs along the path...
> 
> -- 
> I use Debian/GNU Linux version 3.0;
> Linux server 2.4.20

Need RAID0 recommendations

2003-02-03 Thread Alex Malinovich
I've got two identical 45 GB drives, but unfortunately I can only use
one at the moment since I've got 3 other IDE devices already connected.
I'd like to get a good RAID board and just set them up as RAID0. Any
suggestions on a good (preferably not too expensive) board? I'm running
a constantly updated Sid system. TIA. :)

-Alex



signature.asc
Description: This is a digitally signed message part


Re: [OT] Re: shuttle disaster

2003-02-03 Thread Alex Malinovich
On Mon, 2003-02-03 at 21:46, Pigeon wrote:

> Alchemy is an interesting example... Of course, alchemy itself is
> possible, because people used to do it. They were called alchemists.
> The fact that they never achieved their fabled goals is because the
> discipline they were following was mostly a pile of mystical bollocks
> with very little scientific method. Now, we know that it is possible
> to turn lead into gold, but it is not currently practical to do it on
> more than the minutest scale. To extend one's lifespan is not

Actually, an interesting point of note is the fact that alchemists
sought to transmute LEAD into gold, and not something like helium into
gold. So obviously, intentionally or not, they had some basic knowledge
of atomic mass. (Probably a rudimentary one based on the observations of
physical mass, but an understanding none the less.) That, in turn,
rather dismisses the point of this being "mystical rhetoric" and,
instead, brings it into the realm of scientific pursuits.

-Alex



signature.asc
Description: This is a digitally signed message part


Re: shuttle disaster

2003-02-09 Thread Alex Malinovich
On Sun, 2003-02-09 at 14:11, Pigeon wrote:

> > And apparently Delaware's department of transportation is either
> > stupid or insane or both...
> > http://www.state.de.us/research/register/september2000/signing and 
>marking.revised---V-1-12.gif

You know, I was perfectly content ignoring this thread for a while now,
but now I just HAVE to join in. Judging by the URL, I'm guessing that
this was a PROPOSED sign idea and not an IMPLEMENTED one. That sign is
absolutely asinine. I can easily see John Q. Rural, having never seen a
roundabout before, running into cars while trying to make a left turn!
To think that this image even exists is giving me reason enough to never
visit Delaware! :)

-Alex



signature.asc
Description: This is a digitally signed message part


Re: Applying kernel patches in make-kpkg

2003-02-09 Thread Alex Malinovich
On Sun, 2003-02-09 at 18:28, sean finney wrote:
> On Sun, Feb 09, 2003 at 06:39:11PM -0500, [EMAIL PROTECTED] wrote:
> > I have edited /etc/kernel-pkg.conf and added the lines
> > "patch_the_kernel=yes" and "config_target=menuconfig".
> 
> i could be way off, but this is what i have in my kernel-pkg.conf:
> 
> patch_the_kernel := YES
> 
> perhaps it's either case sensitive or requires the static assignment?
> i don't have a config_target set, but imagine it would work the same
> if that's your problem.

Personally, I just use the environment variable approach each time I
compile:

Thief:/usr/src# PATCH_THE_KERNEL=YES make-kpkg --revision=Thief.20
kernel_image

A good way to test if a kernel patch is working is to try applying it
manually. I don't remember the directory off the top of my head, but
it's something along the lines of /usr/src/patches/patch-name/patch.
Look around your src tree to find it. There was a problem a few weeks
ago with the LPP not applying to the new 2.4.20 packages that I
discovered by trying to apply it directly. With make-kpkg, you can never
be sure that the problem lies specifically in the patching process. Good
luck.

-Alex



signature.asc
Description: This is a digitally signed message part


Re: mutt: maildirs that contain folders ???

2003-02-11 Thread Alex Malinovich
On Tue, 2003-02-11 at 02:47, Rob Weir wrote:
> On Mon, Feb 10, 2003 at 04:22:28PM -0600, Michael D. Schleif wrote:
--snip--
> > For example, if I do these:
> > 
> > maildirmake Maildir ~/mail
> > maildirmake -f Drafts ~/mail/Maildir
--snip--
> > but, mutt does *not* show me the Drafts folder when I do: c|?
--snip--
> Um, I'm fairly sure that mutt doesn't support dirs inside maildirs...No
> doubt the mutt-users list would know for sure...

Well, your Maildir setup is correct. I'm using courier for IMAP access
with Maildirs, and that's almost identical to what I'm using. (I'm just
using ~/Maildir instead of ~/mail/Maildir.) I've got a number of
subfolders that all show up fine _OVER IMAP_. Whether mutt knows how to
parse such a setup directly or not is a different issue however. That's
something that I'm not sure about. A somewhat overkill solution, but one
none the less, would be to run an IMAP server locally and then have mutt
access the mail via IMAP instead of directly parsing the Maildir. That
is of course assuming that it's not a configuration issue and that mutt,
in fact, can not parse the folder structure properly.

-Alex



signature.asc
Description: This is a digitally signed message part


Re: Machines with Debian preinstalled?

2003-02-12 Thread Alex Malinovich
On Wed, 2003-02-12 at 17:28, A.J. Rossini wrote:
> martin f krafft <[EMAIL PROTECTED]> writes:
> 
> 
> > also sprach A.J. Rossini <[EMAIL PROTECTED]> [2003.02.12.2306 +0100]:
> >> (yes, I can do it myself; done that about 20+ times, at this point,
> >> and have FAI running at home BUT, I'd really like to save time at this
> >> point...).
> >
> > I can install Debian from CD in 11 Minutes, with the fastest net
> > connection I have available (~ 4mbps) in 17. I doubt you can really
> > save that much time buying it online, figuring out what's installed
> > and amending your system to fit your needs.
> 
> I realize that -- and FAI makes it even easier, in some respects.  But
> it really is a matter of economy.  If there is a good supplier, it
> will save time, especially for the scale I'm thinking about.  It's
> also really annoying to buy stuff I don't need (whether Windows or
> RedHat or SuSE support, for example...).
> 
> And while grey boxes are an option, there are time issues associated
> with that as well, sigh...
> 
> (I really have thought through the alternatives, honest, down to
> employing SystemImager, for example).

If you're really that desperate for preinstalled Debian boxes, just let
me know how many you need and when you need them and I'll put them
together myself. Just don't expect a "dealer" warranty on them. :)

-Alex



signature.asc
Description: This is a digitally signed message part


Re: The myth of aptitude simplicity

2003-02-16 Thread Alex Malinovich
On Sat, 2003-02-15 at 22:05, Paul Johnson wrote:
> On Sat, Feb 15, 2003 at 02:29:39PM -0800, Brian Nelson wrote:
> > I think you'd be much better off forgoing apt-get and using an
> > interactive package tool instead such as aptitude.  Proper use of such a
> > tool will make it much easier to keep your package system in stable
> > state.
> 
> Why does everybody keep saying this when it's false?  Aptitude and
> apt-get are getting thier information from the same place and making
> the same decisions.  Both tell you quite specifically what is going on
> before it asks you to commit to it.  Nobody has yet demonstrated on
> the list anything that you can do in aptitude easier or faster than
> you can with some combination of apt-file, apt-cache and apt-get.
> 
> "But aptitude's a front end to apt!"  No, apt is a front end to dpkg,
> and aptitude is a replacement to dselect when using apt as a source.

Personally, I generally stick to apt-get and apt-cache for most of my
maintenance work. But I'll never give up dselect. Aptitude makes no
sense to me whatsoever. dselect just makes everything really simple.
Though, from what I understand, I'm more likely to get odd, unbelieving,
cross-eyed glances than "Me too's!" for that. :)

But for just installing or finding a single package, I really don't see
the point in starting up any frontend when I can just do "apt-cache
search searchstring" & "apt-get install package".

On a completely unrelated note, Baloo, I don't know if this is your
doing or Evolution's, but your signature was automatically taken out
when I hit reply. The only thing that was shown was the message. If it
was your doing, how do you do it? :)

-Alex



signature.asc
Description: This is a digitally signed message part


Re: The myth of aptitude simplicity

2003-02-16 Thread Alex Malinovich
On Sun, 2003-02-16 at 08:37, Michael P. Soulier wrote:
> On 16/02/03 Alex Malinovich did speaketh:
> 
> > Personally, I generally stick to apt-get and apt-cache for most of my
> > maintenance work. But I'll never give up dselect. Aptitude makes no
> > sense to me whatsoever. dselect just makes everything really simple.
> > Though, from what I understand, I'm more likely to get odd, unbelieving,
> > cross-eyed glances than "Me too's!" for that. :)
> 
> I'm afraid of dselect. Every time I try to use it, it insists on
> installing a bunch of crap that I didn't ask for. 

Actually, this is primarily the reason that I like dselect. That list of
"crap" is all of the recommends and suggests that are present in the
package. A few years ago, I would have said this to be unnecessary, but
with the Debian repository having how many thousands of packages now,
there's really no way to know about all of the cool new things available
all the time. I think the rationale behind it is that if, for example,
you're installing cdrecord, you'd probably also want a front end for it.
apt-get will just install it and then go away. dselect (and I'd imagine
aptitude as well, to give it its fair credit :) will show you xcdroast
because it's suggested by cdrecord.

Generally speaking, if you just want to install a single package with no
fuss, or if you want to upgrade all of your packages with no fuss, you
use apt-get. (I'd also strongly suggest taking a look at apt-listchanges
for seeing what's new with stuff.) If you want to see what all the new
available stuff is, then you go with a frontend like dselect or
aptitude. Personally, I find aptitude very counter-intuitive, but then
again, this could be due to how I expect things to work in dselect. (I
felt the same way about dselect when I first started using it. :)

-- 
Alex



signature.asc
Description: This is a digitally signed message part


Re: ICQ behind router/firewall

2003-02-16 Thread Alex Malinovich
On Sun, 2003-02-16 at 13:34, Scruloose wrote:
> GnomeICU will send and receive messages, initiate/accept chat mode, and
> other people can see my status, but everybody always looks offline to me
> (except 2 users, whose statuses update fine.  No clue why they're special).
> 
> GAIM just loses a huge percentage (50%?, 75%?) of my outgoing messages.  
--snip--
> Needless to say, I'm using GnomeICU, 'cause it's limping along better than
> the competition.  But how do I fix this?  Is there some port I need to
> forward for the "so-and-so is online" packets to get in?  Is there a client
> for Linux that's as smart as the windo~1 ones (to work behind a firewall
> without port forwarding)?

Assuming that your firewall closes off whatever port it is that ICQ uses
(5190 if memory serves... though it usually doesn't. ;), the only way
that I could see Trillian working properly would be if it switched to
some port that it knew would be open (like 80 for example) but that
would be very very odd. (And very difficult to implement from the server
side I'd think.)

What I'm therefore guessing is going on, is something on your desktop
machine. I use gaim all the time behind my NAT/firewall setup with no
problems whatsoever. Do all of your other programs work ok? Any network
issues? Just to test gaim's networking code, you may want to download
gaim for win32 and try it under XP and see if it works.
(http://gaim.sourceforge.net) That might be a good place to start to
rule out the possibility of a client-based problem. Good luck.

-- 
Alex



signature.asc
Description: This is a digitally signed message part


regexp problem

2003-09-07 Thread Alex Malinovich
I've got a slight problem with a regexp in one of my logcheck ignore
files. The lines that I want to get rid of are in the form of the
following:

Sep  7 17:21:48 Bigbrother dhcpd: DHCPREQUEST for 192.168.0.8 from
00:50:04:d2:e0:2c via eth1
Sep  7 17:21:48 Bigbrother dhcpd: DHCPACK on 192.168.0.8 to
00:50:04:d2:e0:2c via eth1

and

Sep  7 07:09:45 Bigbrother dhcpd: DHCPREQUEST for 192.168.0.125 from
00:0c:29:65:14:f5 (guts) via eth1
Sep  7 07:09:45 Bigbrother dhcpd: DHCPACK on 192.168.0.125 to
00:0c:29:65:14:f5
(guts) via eth1

The default setup got rid of the former lines just fine. That was:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhcpd(-2.2.x|): DHCPREQUEST for
[.0-9]+ (\([\.0-9]+\) |)from [:[:alnum:]]+ via [[:alnum:]]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhcpd(-2.2.x|): DHCPACK on [.0-9]+ to
[:[:al\num:]]+ via [[:alnum:]]+$


I modified it in order to get rid of the latter by adding
(\([._[:alnum:]-]+\)|) giving me:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhcpd(-2.2.x|): DHCPREQUEST for
[.0-9]+ (\([\.0-9]+\) |)from [:[:alnum:]]+ (\([._[:alnum:]-]+\)|) via
[[:alnum:]]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhcpd(-2.2.x|): DHCPACK on [.0-9]+ to
[:[:al\num:]]+ (\([._[:alnum:]-]+\)|) via [[:alnum:]]+$

Now the filter gets rid of the latter, but lets the former through! Is
there some glaring omission in my regexp that I haven't caught yet?
Possibly because of the double parenthesis? The outer set is for a
selection, the inner set is literal. Any suggestions are welcome.
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: ..mirror script: woody deb mirror for i386, how to exclude the rest?

2003-09-08 Thread Alex Malinovich
On Mon, 2003-09-08 at 11:20, Jacob Anawalt wrote:
> Monday, September 08, 2003 1:50 AM  "Arnt Karlsen" <[EMAIL PROTECTED]> wrote:
> 
> 
> > Hi,
> >
> > ..in my mirror I like main, non-US, non-free and contrib for
> > Woody/3.0r1.  So I try to script a mirror for i386 Woody,
> > should make a nice 4.2 GB mirror, how do I exclude the rest
> > of the about 80 GB?:

I've been using a collection of Perl scripts for a while now to maintain
my Sid mirror. It should be relatively trivial to convert it for Woody.
(Just look for instances of "sid" or "unstable" and change them to
"woody" or "stable".)

The scripts were written for my own personal use, so use them at your
own risk of course. I've been running them for almost two years now with
no problems though. Everything except for "parsesize.pl" will get called
by sidmirror, so you don't have to worry about when to use them. Run
sidmirror with -h or --help for usage info.

You can get all the scripts at:

http://www.the-love-shack.net/geek.html

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Howto set up SB live 5.1?

2003-09-08 Thread Alex Malinovich
On Mon, 2003-09-08 at 16:38, Baka Tamas wrote:
> Hi!
> 
> I've been a Mandrake user for 2 years, and now I'm experimenting with Debian. 
> I like it very much so far, only having trouble with sound and Nvidia.
> 
> So, my problem is:
> 
> I upgraded to sid, and I do have sound, but it is not working as I expected. 
> In mandrake I only had to unmute it and set up all the sliders in kmix to 
> utilize all six speakers (2front, 2rear, center+sub). I still have the kmix 
> settings but they do not work :-)
> 
> Right now the 2 front and 2 rear speakers work only, and the volume slider on 
> the speakers (its a philips thingy) have only minimal effect.
> 
> Any ideas howto set up the sound right?

Well, for starters, are you using the OSS drivers or the ALSA drivers?
That's going to make a big difference. In my experience, getting the OSS
drivers working with an SB live is very painless, but the ALSA drivers
work much better with much better control. If you're currently using
OSS, I'd strongly suggest switching to ALSA and then seeing what the
situation is like.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Howto set up SB live 5.1?

2003-09-09 Thread Alex Malinovich
On Tue, Sep 09, 2003 at 10:07:11AM +0200, Baka Tamas wrote:
> I tried installing the alsa stuff that I think is needed and was somewhat 
> successful :-)
> 
> Now I can choose the ALSA drivers in xmms and kde too, but an error message 
> comes up: error opening alsa device: No such device (same error with kde) The 
> system basically still uses oss.
> 
> Where can I set something like that?

For starters, make sure that the OSS emu10k1 module is no longer
loaded, and then make sure that the ALSA snd-emu10k1 module IS
loaded. If you still have trouble after that, you might also want to
take a look at the permissions of /dev/dsp. The audio group should
have rw permissions to it, and you should be part of the audio group.

p.s. Top-quoting (i.e. placing your reply at the top of a message,
rather than the bottom) is generally considered a Bad Thing(tm). Youre
reply should come after a properly snipped quote of the original
message to imply what it is you are replying to.
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


pgp0.pgp
Description: PGP signature


mutt tips

2003-09-09 Thread Alex Malinovich
I'm in the process of trying to switch to mutt for my primary mail
reader. While I'll probably continue to use Evolution during my GUI
times, I'm going to be doing an increasing amount of work away from my
desktop, so I need something that will work well over a standard SSH
connection.

So far, I've gotten mutt to play nice with my IMAP server,
I've set up mailing lists, and I've set up GPG support. There are
still a few things that I need to do however. 

I've been reading through the mutt manual and setting things as I run
across them, but I've still got quite a bit left to read and not much
time to read it, hence why I'm asking here.

1) How can I set the default folder for mutt to use at startup? I've
used "set folder="imap://..."" in my .muttrc, but this still requires
me to do a c, =,  when I start up mutt. I'd like my IMAP folder
to automatically load up as soon as I start up mutt.

2) Is there any way to have mutt pass options to emacs when invoking
my EDITOR? I'd like to automatically be in mail-mode with auto-fill
enabled whenever emacs is called from mutt. (if anyone has suggestions
for better modes to use, please do tell me) Is there a way of having
mutt tell this to emacs?

3) I've set up all of my debian mailing lists in my .muttrc using
'subscribed'. Replying to a list using L works great. What I'm looking
for now is some address book functionality. I'm pretty sure that I can
set up aliases for quickly addressing messages, but what about storing
extended info about contacts?

4) From looking at my messages on the waiting to be sent screen, it
doesn't look like my From: line is being filled in at all. I'm sure I
can set it up in my .muttrc to be whatever I want, but shouldn't it
default to something intelligent like: 

Real Name (per /etc/passwd) <[EMAIL PROTECTED]>

5) Any tips you might have for making life easier, especially in
regards to dealing with debian-user.

Thanks for any help.
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


pgp0.pgp
Description: PGP signature


Re: regexp problem

2003-09-09 Thread Alex Malinovich
On Mon, Sep 08, 2003 at 02:08:58PM +0100, Jason Chambers wrote:
--snip--
> > I modified it in order to get rid of the latter by adding
> > (\([._[:alnum:]-]+\)|) giving me:
> > 
> > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhcpd(-2.2.x|): DHCPREQUEST for
> > [.0-9]+ (\([\.0-9]+\) |)from [:[:alnum:]]+ (\([._[:alnum:]-]+\)|) via
> > [[:alnum:]]+$
> > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhcpd(-2.2.x|): DHCPACK on [.0-9]+ to
> > [:[:al\num:]]+ (\([._[:alnum:]-]+\)|) via [[:alnum:]]+$
> 
>  ^^^
> You need to move one of the spaces into the optional part, otherwise
> with no "(guts)" part the rule is looking for 2 consecutive spaces.

I knew it was bound to be a stupid mistake. :) Thanks! :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


pgp0.pgp
Description: PGP signature


Re: Howto set up SB live 5.1?

2003-09-09 Thread Alex Malinovich
Sorry, but I accidentally deleted your previous reply. As it wasn't on
list, I'm also taking the opportunity to put us back on-list with the
discussion.

If OSS is working but ALSA isn't, that's a problem. OSS should not be
working at all, except through the ALSA-provided OSS compatibility
support. If OSS is functioning independently, you need to unload the
kernel modules for OSS.

i.e. modprobe -r emu10k1

After that, you'll want to make sure that you have the appropriate ALSA
drivers loaded:

modprobe snd-emu10k1

If after this you still get a device not found error, you'll need to
check that you have ALSA set up correctly for whatever it is that you
happen to be using it for. As an example, in my ALSA plugin for XMMS, I
have the following:

Audio device: EMU10K1

Mixer card: 0

Mixer device PCM

If you don't want to use ALSA and would prefer to stick with OSS, you'll
need to wait for someone else to reply as I haven't used OSS in well
over a year now.
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Howto set up SB live 5.1?

2003-09-10 Thread Alex Malinovich
On Wed, 2003-09-10 at 02:33, Baka Tamas wrote:
> On Wednesday 10 September 2003 06.20, Alex Malinovich wrote:
--snip--
> > i.e. modprobe -r emu10k1
> >
> > After that, you'll want to make sure that you have the appropriate ALSA
> > drivers loaded:
> >
> > modprobe snd-emu10k1
--snip--
> Thanx, it worked. Now I have a newbie question: When I restarted the computer, 
> I had to redo this modprobe thing. How do I make it permanent. Also, I need a 
> config file for alsamixer as it has way too much settings to try them all out 
> (did that once, don't want to try again). The settings arte preferably for a 
> 5.1 speaker sytem.

The alsa configuration should handle this for you, but in case it
doesn't, you'll want to use "modconf". It's a curses-based GUI that lets
you load and unload modules and saves that information across reboots.

As for alsamixer, you'll have to manually set the best settings for your
particular setup. The good news is that, the next time you reboot those
settings will be saved so you should never need to do it again.

If you're using gnome, you may want to take a look at gnome-alsamixer
for changing volume levels. It's basically the same thing as alsamixer,
except done in GTK so it looks much nicer.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


'intelligent' mail filtering

2003-09-11 Thread Alex Malinovich
I've been MEANING to look into getting some sort of spam filter set up
on my mail server for quite a while now, but I've never quite gotten
around to it. Now I'm getting around to it. :)

I've heard of filters that can "learn" what is and isn't spam by having
you feed it anything you consider spam. What are people's experiences
with them? Are the useful/reliable? Any problems with false
negatives/positives?

Assuming that it is a useful way of dealing with spam, what's the best
way to implement it? I'm currently using exim as my MTA and courier-imap
(with a Maildir) to store and access the mail. What else would be needed
in order to implement the filter?
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: 'intelligent' mail filtering

2003-09-14 Thread Alex Malinovich
On Thu, 2003-09-11 at 15:59, Pigeon wrote:
--snip--
> The filter. dman has a useful exim config hack that makes exim use the
> filter as a transport; this has been referred to on the list a few
> times recently. His example uses spamassassin, which can do Bayesian
> filtering as well as its other stuff.

Ok, I've decided to go with spamassassin as my mail filter. And just to
make sure that I don't have any lack of problems in the process, I
decided to simultaneously migrate to exim4 as well. :)

Now, here's a slight problem I've run across. Having read up on using
spamassassin with exim, I've seen LOTS and LOTS of mentions of sa-exim.
But from what I gather sa-exim is primarily used to reject spam while
the SMTP session is still open. This is actually NOT what I want. I want
to still receive spam, just have it go into a spam-only folder so I can
look through it occasionally and make sure that I don't have any real
mail there.

Now here's my current status:

I understand that using spamc/d is a good way to speed things up. Speed
is good, so I'd like to follow this approach.

I understand that using local_scan is also a good way to speed things up
by only looking at any given message once.

Now the problem being, how do I get local_scan to play nicely with
spamc/d? Or is this even necessary?

I'm currently using:

||/ Name   VersionDescription
+++-==-==-
ii  spamassassin   2.55-4 Perl-based spam filter using text
analysis
ii  exim4-daemon-h 4.22-4 Exim (v4) with extended features,
including

(That's exim4-daemon-heavy.)

The instructions I've found in
/usr/share/doc/exim4-daemon-heavy/README.local_scan-perl and
localscan-install.html haven't really helped much as I'm still confused
about the whole local_scan + spamc/d issue.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: This is a digitally signed message part


Re: Q: Oracle vs Debian?

2003-09-15 Thread Alex Malinovich
On Mon, Sep 15, 2003 at 12:50:56PM +0200, Ra?l Wild-Spain wrote:
> Hi!
> 
> Did someone installed Oracle and/or IAS server on Debian ? on a production 
> environment?
> 
> I read that Oracle only certifies on RH Advanced Server (IAS). What's your 
> experience? and advice?

I did a writeup of the process a few months ago specifically for
installing Oracle 9i on Sid. Things have gotten a lot simpler since
then since libc has been upgraded in Sid. You can find it at:

http://www.the-love-shack.net/oracle-on-sid.shtml

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: Digital signature


Re: OT: RH and Debian brothers now?

2003-09-23 Thread Alex Malinovich
On Tue, Sep 23, 2003 at 03:55:47PM -0400, Alfredo Valles wrote:
> Hi all.
> 
> Seems to me that for the first time debian is going to have real competition 
> in its own field.
> Red Hat announced that they will join with fedora community and produce the 
> Red Hat Linux Project. So they will have almost the same model of development 
> that debian.
> Isn't that amazing for a company?

I would be a lot more amazed if they finally came out and admitted
that they're not always doing good things for the community and that
perhaps they should work WITH a project that's already in place, such
as, oh... say... DEBIAN! :)

As much as I like RH for advancing GNU/Linux in general, I think some
of their business decisions aren't the greatest. Not to mention some
of their compatibility issues. Does anyone remember gcc 2.96?

Rather than trying to do what Debian has been doing for years, I'd
much rather see them JOIN with Debian to further promote
community-supported distros.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: Digital signature


Re: Sudden increase in size of Debian?

2003-09-25 Thread Alex Malinovich
On Wed, Sep 24, 2003 at 05:33:17PM -0600, Jacob Anawalt wrote:
> 
> Kevin McKinley said:
> > On Wed, 17 Sep 2003 00:21:55 -0600
> > Jacob Anawalt <[EMAIL PROTECTED]> wrote:
> >
> >> Now you have me interested. Do you already have a script to mirror only
> >> stable and unstable with rsync? I think I would try only mirroring
> >> stable with such a script, but I thought it would take having a program
> >> parse things like the Packages files for each release and
> >> main/contrib/non-free sub folder and  that you were after.
--snip--
> Ok, I'm only slightly less lazy in this area today. Here's a half-baked
> idea of what I thought it would require.
> 
> 1) Run rsync for just the dists/* files and links that you want, but
> specifically getting all the Packages files for the targets you want but
> at least dists/woody/main/binary-i386/Packages* if you're after i386.
> 
> 2) Call a script that does this - only make yours better ;)
> 
> Modify the package reading script to read the Packages file for all
> release, target and arch you are interested in, writing the output into
> rsync_packages.txt. Use whatever language you like. Here's some Perl in
> your eye.

I've had a script that does this very thing for quite a while
now. I've mentioned it to a few people on here before, but I've never
officially "released" it so I don't really know if anyone but myself
uses it. I run it as a nightly cron job to update my sid mirror (which
is what it was initially written for) and it's been working with no
problems for almost 2 years now.

It downloads Packages.gz for sid (it's easy to change this), reads
through it, and populates an array with the paths and filenames for
all the included debs. It then searches your current mirror for which
files need to be updated, and flags the old versions of those files
for deletion.

The old files are then deleted (if you run it interactively it'll
prompt you first) and then starts an rsync for any packages that it
doesn't have.

It's written in perl though it calls a few system commands (namely
'find' and 'rsync'). If you're interested, you can get it at:

http://www.the-love-shack.net/geek.html

The actual script is sidmirror.pl, but you'll also need to get the
other related files to handle cleaning up old files, etc.

It's not extremely well documented, but the variables at the top of
file are pretty clear so you can set it up to do more or less what you
want. If you need any help with it, or if you decide to use it, please
do let me know. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837


signature.asc
Description: Digital signature


  1   2   3   4   5   6   7   >