battery-graph gives errors

2004-11-19 Thread Kamaraju Kusumanchi
Hi
I installed the latest battery-stats package available in sid. When I
run the battery-graph command I get the following errors. Is it a
known bug? Is there any workaround? I would appreciate if you can
point me in the right direction.


$battery-graph

gnuplot> set ylabel "%Full" 0.00,0.00  ""
   ^
 "/usr/lib/battery-stats/graph-setup", line 36: warning:
deprecated syntax - please use 'font' keyword

gnuplot> plot "-" using ($1 - 946702800):2 smooth unique axis x1y1
title "Battery %" with lines linewidth 3
   ^
 line 0: no data point found in specified file


I am running debian sid (and is upto date as of today).

thanks in advance
raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups-beta.google.com/group/flumech


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



Re: ssh w/o password?

2004-11-20 Thread Kamaraju Kusumanchi
On Sat, 20 Nov 2004 11:20:55 -0500, Marc Shapiro <[EMAIL PROTECTED]> wrote:
> I have a two machine network at home and I want to replace ftp and
> telnet with ssh for security reasons.  I am under the impression that it
> is possible to set things up so that I do not have to login with my
> password, but I have not been able to do so.
> 

There is an excellent mini-howto available on the web. Please take a look at it.

http://www.cs.umd.edu/~arun/misc/ssh.html

hth & hand
raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups-beta.google.com/group/flumech


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



Re: intel compiler not finding (system) header files

2004-11-22 Thread Kamaraju Kusumanchi
On Mon, 22 Nov 2004 16:55:49 +, michael
<[EMAIL PROTECTED]> wrote:
> Folks, on my Debian dual-Xeon box, I have tried to install the Intel
> C/C++ compiler (ifc). I have followed Intel's instructions in "Platform

ifc is intel fortran compiler. icc is the intel c/c++ compiler

> 
> However, when I try to compile code that has usual C++ headers in (eg
> "#include ") it fails to find them.
> 
> I presume it's not looking in the default system libraries...
> 

Did you set up the environment variables properly? I have the
following lines in my .bashrc for icc

# added the following lines for icc to work
if [ -f /opt/intel_cc_80/bin/iccvars.sh ]; then
source /opt/intel_cc_80/bin/iccvars.sh
fi

the iccvars.sh takes care of the necessary environment variables.
Ofcourse, the actual path for this file differs depending your
INSTALLDIR.

> Ideas?

let us know if that works out for you.

raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech


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



Re: intel compiler not finding (system) header files

2004-11-22 Thread Kamaraju Kusumanchi
> yes I did all this! it's the C++ that seems to be causing problems when
> looking for header files (eg I compiled up all of mpich without problem)


Ok. How about -cxxlib-icc option then?

$cat sizes.cpp
#include 

using namespace std;

int main() {
  cout << sizeof(char) << "\n";
  cout << sizeof(int) << "\n";
  cout << sizeof(float) << "\n";
  cout << sizeof(double) << "\n";
}

$icc -I /opt/intel_cc_80/include/c++/ -cxxlib-icc sizes.cpp

$./a.out
1
4
4
8

Dont know if it works for you. But worth giving a try.

raju


-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups-beta.google.com/group/flumech


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



Re: any successful stories of freenx on debian

2004-11-23 Thread Kamaraju Kusumanchi
On Wed, 24 Nov 2004 03:37:16 +0100, Fabian Franz <[EMAIL PROTECTED]> wrote:
> >But when I run nxclient, a window comes up with no information what so
> >ever. All I can do in this popped up window is to press the OK button.
> >I am not sure what is wrong with it.
> 
> FreeNX does not ship any nxclient for now.
> 
> So you have to download either nxclient from nomachine.com or grab the sources
> of kNX from the KDE CVS.
> 

Thanks. I tried it again and it worked perfectly.

> >I tried downloading the nxclient directly from www.nomachine.com. But
> >that site is not accessible through mozilla-firefox because of some
> >cookie problems which I was not able to solve.
> 
> Can't reproduce. I could download from http://www.nomachine.com/download.php
> without problems (FF 1.0).
> 

I guess something is wrong with my configuration. I tried it from
another machine and yes, the website is working fine.

thanks again
raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups-beta.google.com/group/flumech


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



Re: is repartitioning and reformatting the only alternative?

2004-11-25 Thread Kamaraju Kusumanchi
On Thu, 25 Nov 2004 10:33:51 -0500, Christophe Broult
<[EMAIL PROTECTED]> wrote:
> 
> Hi All,
> 
> Suddenly, last Saturday, I could no longer access the main partition
> of my year old external Maxtor 5000XT, a 250 GB drive because of some
> read errors on some sectors (see at the end of the message). I called
> the Maxtor support and the only suggestion beside saying that Linux is
> not supported for this drive was to ask me to repartition and reformat
> the drive. Their opinion is that the drive is fine but there are some
> logical errors.

I am sorry I dont have an answer for your question. I have a maxtor
200 GB usb drive. The drive stops working if I try to copy large files
(say 150 mb) in linux partition. It works fine if I copy just small
files. I cant even mount other partitions of the usb drive when this
happens. The only option is to reboot the computer.

It has no problems in windows xp (large or small files). I am not sure
whether this is the usb drive problem or debian's problem. God knows
what's happening.

Anyway, just thought I will vent my frustration with maxtor drives under linux.

bye
raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/


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



maxtor harddrive firewire usb (was Re: is repartitioning and reformatting the only alternative?)

2004-11-25 Thread Kamaraju Kusumanchi
On Thu, 25 Nov 2004 15:09:20 -0500, Christophe Broult <[EMAIL PROTECTED]> wrote:
> Kamaraju Kusumanchi <[EMAIL PROTECTED]> (Thu, 25 Nov 2004 13:39:37 -0500) 
> writes:
> > I am sorry I dont have an answer for your question. I have a maxtor
> > 200 GB usb drive. The drive stops working if I try to copy large files
> > (say 150 mb) in linux partition. It works fine if I copy just small
> > files. I cant even mount other partitions of the usb drive when this
> > happens. The only option is to reboot the computer.
> 
> I had similar problems until I switched to using Firewire and the drive had
> been working well until last Saturday. Though from time to time I could see
> some problems while reading some of the files...

How did you do that? Do I need any special capability
(hardware/software)? The hard drive I was talking about comes with a
usb connector attached to it. How can I connect it to the firewire
port? Do I need to buy some hardware (like usb to firewire connector)?
I have a firewire port but never used it though.

I tried googling around but could not find the answer.

thanks
raju



-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups-beta.google.com/group/flumech


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



Re: .ini files in bash?

2004-11-28 Thread Kamaraju Kusumanchi
On Mon, 29 Nov 2004 09:24:29 +0200, David Baron <[EMAIL PROTECTED]> wrote:
> How might one save and restore setting of variables in a bash script to and
> from a file in one's home (or sub-) directory?
> 

The file name is .bashrc

For more information install bash-doc package and read the bash documentation.

hth
raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups-beta.google.com/group/flumech


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



Re: login into a particular directory using ssh

2004-12-05 Thread Kamaraju Kusumanchi
On Sun, 05 Dec 2004 17:18:54 -0500, David Mandelberg
<[EMAIL PROTECTED]> wrote:
> ssh [EMAIL PROTECTED] "sh -c 'cd dirname; exec somecommand'"
> 
> somecommand is the command you want to run after cd'ing. E.g. if you
> want to run bash in / as joe at shell.example.net:
> 
> ssh [EMAIL PROTECTED] "sh -c 'cd /; exec bash'"
> 

I tried this. It is not working. The machine seems to be hanging. Is
there any typo there?

raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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



Re: login into a particular directory using ssh

2004-12-05 Thread Kamaraju Kusumanchi
On Sun, 5 Dec 2004 23:28:07 +0100, Maurits van Rees <[EMAIL PROTECTED]> wrote:
> On Sun, Dec 05, 2004 at 05:18:54PM -0500, David Mandelberg wrote:
> > ssh [EMAIL PROTECTED] "sh -c 'cd dirname; exec somecommand'"
> >
> > somecommand is the command you want to run after cd'ing. E.g. if you
> > want to run bash in / as joe at shell.example.net:
> >
> > ssh [EMAIL PROTECTED] "sh -c 'cd /; exec bash'"
> 
> Alternatively, if you *always* want to start in that directory, you
> can edit the .bash_profile or similar on the remote machine. Just add
> `cd '.
> 

No, I want this to happen only when I ssh. If i edit the bash_profile,
then everytime I open a window/shell, it gets executed. That is not
what I want.

raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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



Re: login into a particular directory using ssh

2004-12-05 Thread Kamaraju Kusumanchi
On Sun, 05 Dec 2004 18:48:19 -0500, David Mandelberg
<[EMAIL PROTECTED]> wrote:
> Miquel van Smoorenburg wrote:
> >   ssh -t [EMAIL PROTECTED] 'cd / && exec /bin/bash'
> 
> That works, but because this is a login shell, and the remote machine
> may differentiate between login and non-login shells, this is better:
> 
> ssh -t [EMAIL PROTECTED] 'cd / && exec /bin/bash --login -i'
> 
> Also don't forget the exec because otherwise you'd be running an extra
> shell or the single quotes before cd and after -i.
> 

This does work perfectly. I am wondering if there is a clever trick to
do the following.

In the above examples we are specifying the destination directory. But
can this directory be obtained from the original machine?

For example, can I do something like

bash$export DYNAMIC=$(basename $PWD)
bash$ssh -t [EMAIL PROTECTED] 'cd $DYNAMIC && exec /bin/bash --login -i'

which dynamically determines the current directory on the ssh client
and puts me into that directory on the shell.example.net? Needless to
say, I tried the above example and it does not work.

thanks for all the replies
raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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



Re: login into a particular directory using ssh

2004-12-06 Thread Kamaraju Kusumanchi
> If your home directory has a different path on the two machines, try this:
> 
>   DYNAMIC=${PWD#$HOME/}
>   ssh -t [EMAIL PROTECTED] "cd $DYNAMIC ; exec /bin/bash --login -i"
> 
> This should plunk you in the corresponding directory on the remote host,
> whether you're in $HOME/foo or /usr/bin.  You don't need to export DYNAMIC.
> 
> 
> Sam
> 

thank you very much. That was exactly what I am after. You really are
a mind reader, arent you :-)

bye
raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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



Re: Suggestions for DVD/CD writing software?

2004-12-06 Thread Kamaraju Kusumanchi
On Mon, 6 Dec 2004 16:26:01 -0600, Jeremy Turner <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 06, 2004 at 02:40:38PM -0600, Rodney Gordon II wrote:
> > On Mon, 2004-12-06 at 15:05 -0500, Ben Bettin wrote:
> > > What would you all suggest?
> >
> > K3b, though not GTK/Gnome, is perhaps the best burning program for linux
> > there is. Take a look!
> 
> I second this app.  It also has the ability to disc-to-disc copy, as
> well as music CDs.  I haven't tried it on a DVD burner, but I would
> guess that it includes this capability as well.
> 
> Jeremy

k3b. I third that :-) I use it on a dvd -rw burner to burn both cds
and dvds (data, music, iso images etc). Very intuitive and very easy
to use.

raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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



showimg filenames are not displayed fully

2004-12-07 Thread Kamaraju Kusumanchi
Using debian sid, latest showimg, kde versions.

In the left panel of window where the file names are displayed, the
names of the files are not displayed fully.

For example if the actual filename is
hp_scanDS_361815215438.jpg
I see it as
hp_s...
which makes it very tough to distinguish it from other files. Is this
a feature or bug? Can I make it display the whole file name without
the dots?

thanks for any suggestions
raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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



cannot ssh into my own machine

2004-12-07 Thread Kamaraju Kusumanchi
Running debian sid.

Let's say my machine's external IP is 69.212.23.215 and internel IP is
192.168.0.101. I am connected to the internet through DI-514 router. I
do port forwarding to get ssh functionality.


>From this machine (192.168.0.101), I can do
ssh 192.168.0.101 -l username

I cannot do
ssh 69.212.23.215 -l username

But from outside world, I can do
ssh 69.212.23.215 -l username

Why am I not able to ssh into my own machine using the external IP
address? Is this a limitation of Debian or the defect in the router or
a configuration hiccup?


I checked in google for a while and could not find anything. The
problem seems so strange. I would appreciate if you can help me out.

thanks for any suggestions
raju


-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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



Re: ftp question

2004-12-07 Thread Kamaraju Kusumanchi
On Fri, 3 Dec 2004 11:34:34 -0500 (EST), [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> How do you transfer an entire directory using ftp?  The directory that I'm
> trying to transfer has a lot of "subdirectories" in it.  These directories
> also have several types of files in them... ie.. text, video, wav, mp3,
> etc.
> 
> Thanks everyone... :)

I personally use rsync over ssh. The exact command I use looks as follows

rsync -e ssh -avz path/of/the/file [EMAIL PROTECTED]:path/of/the/file

I find this much useful over scp, sftp, gftp, ftp, konqueror (vertical
split and using sftp protocol). But I suggest you to try each and pick
whichever suits you best.

raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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



login into a particular directory using ssh

2004-12-05 Thread Kamaraju Kusumanchi
I am trying to ssh from A to B. I want to login into a particular
directory on B instead of $HOME. How can I do this?

I tried 
ssh [EMAIL PROTECTED] cd dirname

but that is not working. Any other ideas?

thanks
raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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


Re: knoppix HD-install problem

2004-12-14 Thread Kamaraju Kusumanchi
On Tue, 14 Dec 2004 16:30:38 +0100, belahcene <[EMAIL PROTECTED]> wrote:
> Hi,
> I've just download   the last knoppix (3.7), I tried to use the same way
> as with 3.6
> to install it on HD. But it failed at reboot with following errors:
> 

Short answer :- Ask in the knoppix mailing lists.

Long answer :- Read the FAQ posted on
http://www.people.cornell.edu/pages/kk288/debian_choosing_distribution.html
In particular, third and fourth questions are what I am referring to.



-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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


Re: knoppix HD-install problem

2004-12-14 Thread Kamaraju Kusumanchi
On Tue, 14 Dec 2004 17:48:18 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>  
> Kamaraju Kusumanchi <[EMAIL PROTECTED]> wrote on 14.12.2004 17:19:35:
> 
>  
> But imho that is not true. the only differences between knoppix and debian
> are: 
> 1. knoppix has the better hardware recognition. 
> 2. knoppix has just many more packages installed than debian 
> But after all, they are the same. I can make a system, total the same as it
> was a knoppix - system. 
>  

Agreed. But the usual trend is that 
1) people try knoppix live cd
2) get impressed by it and install it on the hard drive
3) then after sometime they realize that knoppix is not as stable as
debian and so they want to shift to debian.
4) the shifting process (from knoppix to debian) is not very clean
unless you know what you are doing or installing debian unstable.
5) The problem, I think is that knoppix mixes stable/testing/unstable
packages and puts them on to one CD. But debian is not very tolerant
to mixing these distributions. Hence all the problems.

> By the way, why didn´t you think about a solution or a hint isntead of
> flaming him for using another distro.

Sorry belahcene. I agree that just flaming without a solution is bad.

> I thought, that the debian users are more tolerant than some others, but as
> we know now, that´s just not the truth for all of us! 

They are in fact very tolerant. But remember there are many debian
based distributions out there. For example knoppix, ubuntu, libranet
to name a few. We do not get any questions about ubuntu and stuff on
this list. But there are many questions relating to knoppix -> debian
conversion.

So I just wanted to emphasize that knoppix is not debian but is debian
based. I dont know howmany agree with this opinion. But if more people
feel that we can allow knoppix related questions in debian-user, I can
change the FAQ. Afterall, the idea of FAQ is to help the end-user and
not to blame him for ignorance.

> I know, I am not more tolerant, than some others, but I am fed up with those
> boring "this is not the correct forum, list, ..." and RTFM. I just try to
> help if I can and I am so glad, if someone can help me too, if I have
> problems... 

I am not sure I agree with the above statement. While RTFM is a bit
impolite, I do think asking knoppix-related questions on a debian
mailing list is a bad idea. I am not saying that  there are no knoppix
experts on this list. But answering knoppix questions will not help
debian users or debian in any way.


-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


OT - store only the latest version of some files

2004-12-19 Thread Kamaraju Kusumanchi
Hi,
   I am wondering if cvs has capability to do this. If not please tell
me what the right tool is.

   We are using debian sid. I have a project which we need to maintain
the source code by a version control system. The project also deals
with some data files (around 20 or so text files each 100MB).

   The data files can be substantially different between succesive
versions. So we do not want to store the data file as diffs (as it
consumes a lot of space). Moreover, The data files can be generated
once you the source code is available. But generating the data files
takes up a long time.

   So the solution we came up with is "to store only the latest
version of the data files and remove any older versions". I am
wondering if cvs is capable of doing this namely "to store the source
code with version control and to store only the latest version of the
data files"?

   We are not particular on using cvs for version control. So if there
is other version control program capable of achieving the above, we
will be glad to shift.

thanks in advance
raju



-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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



Re: Novice Questions

2004-12-20 Thread Kamaraju Kusumanchi
> 
> 4) Lastly, I hope you will not mind me mentioning Knoppix but I have seen
> impressive screen shots of it while there are very few available for Debian.
> Knoppix however appears to be merely an introductory vehicle for Linux so my
> thinking is that I may as well skip it and instead go straight to the full
> capabilities of Debian even though it will likely involve considerable
> research before I can fully utilize it. Any thoughts for a novice about to
> venture into Debian? 

Yes. I would suggest to directly install Debian without bothering
about knoppix. Knoppix is useful for seeing if a particular works with
linux or not. Knoppix has very good hardware detection capabilities.
But for long term usage, debian is the way to go.

You might be aware of this already. But I will mention it anyway. The
most easiest way to install debian is to download the net install
image (aroung 150 mb) and install a base system using that. Then
afterwards you can choose and install any additional packages at your
will.

The net install images can be found at http://www.debian.org/CD/netinst/

hth
raju
-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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



Re: Need help with XF86 config

2004-12-20 Thread Kamaraju Kusumanchi
On Mon, 20 Dec 2004 12:35:47 -0600, Andrew Konosky
<[EMAIL PROTECTED]> wrote:
> what command do I run to reconfigure
> the graphics setup?
>
dpkg-reconfigure xserver-xfree86
might be what you are looking for.

You can also source /etc/bash_completion and then press tab after
entering the command midway.

#source /etc/bash_completion
#dpkg-reconfigure xserver-x

will give you
#dpkg-reconfigure xserver-xfree86

enjoy
raju
-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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



Re: nVidia Video Drivers Need Reinstalled After Reboot

2004-12-20 Thread Kamaraju Kusumanchi
> That problem has been solved.  As per someone else's suggestion in this
> thread,  a simple modprobe nvidia installed the drivers without having
> to run the nVidia installer.  After that, I added nvidia to
> /etc/modules, and now the drivers load automatically.
> 
> So that is one task down, a buttload more to go.  Next on the list is
> getting the TV Tuner working properly, and then getting the on-board
> 3Com NIC working so I can access the rest of my network here at home.
> 

thanks for sharing the solution. I have the same problem and enabling
the nvidia module in modconf menu solves it. Excellent indeed!

raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech/


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



Re: help me create a boot up disk for my computer

2005-05-03 Thread Kamaraju Kusumanchi
s l wrote:
hello

  Ok here is what's going on I just got this used computer 
from a friend ( he's not very good with computers) and I forgot to get 
the bootup disk from him. long story short he doesn't
 have it and I need to create one, but since the 3 1/2 inch floppy drive 
has not installed i had to install it and now it needs to boot up. the 
computer has Windows Millium or NT loaded on it. your help would be 
greatly appeciated. 
Please ask questions related to debian. If you have questions regarding 
windows, you should ask in the windows forum/mailing list. Dont waste 
our bandwidth.

raju
--
http://www.people.cornell.edu/pages/kk288/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Removing what a meta-package provided

2005-05-07 Thread Kamaraju Kusumanchi
The non-automatic thus potentially difficult question is "what is part of
KDE?" Surely kdelibs. What about Qt? And libc6? (just to name three of
KDE's dependencies and to show that the answer is *not* fully deducible
from the dependency graph). So the maintainer will have to take some
subjective decisions, but my guess is that it will not be difficult to draw
the line in most cases, if not all.
Sorry for the long email. Is there anyone else "worried" by this issue?
If you have not included the last line, I probably would not have 
responded. I have been 'hit' by this meta package problem before and I 
think your idea is excellent. I hope Debian adopts it (with any changes 
if needed).

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



makefile not taking aliases into account

2005-05-08 Thread Kamaraju Kusumanchi
Hi
   Using Debian sid. I have an alias in my .bashrc say something like
alias x="y"
This command is executing fine on a bash shell (ie I can use x). But 
when I use x in a makefile, it is not getting expanded to y. Is this a 
future? How can I overcome this limitation?

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



Re: makefile not taking aliases into account

2005-05-08 Thread Kamaraju Kusumanchi
Michael Marsh wrote:
On 5/8/05, Kamaraju Kusumanchi <[EMAIL PROTECTED]> wrote:
Hi
   Using Debian sid. I have an alias in my .bashrc say something like
alias x="y"
This command is executing fine on a bash shell (ie I can use x). But
when I use x in a makefile, it is not getting expanded to y. Is this a
future? How can I overcome this limitation?

Unless you've told it otherwise, make isn't using bash, it's using sh.
 While sh is probably a symlink to bash, when invoked as "sh" it
doesn't read your .bashrc (nor the system default).  You can change
this behavior with the SHELL variable in your makefile:
SHELL := /bin/bash
Thanks. I will try that.
In general, though, it's better to set everything that you need in the
makefile, since relying on your aliases makes your makefile highly
non-portable.  I usually do something like (using your example):
X := y
and then using $(X) instead of the alias x in commands.
Actually for me the reason for sourcing the .bashrc is for portability! 
This is my situation. Consider two machines A and B. I use gfortran 
compiler on these machines with the same makefile. I have latest 
gcc-snapshot on machine A and a bit older gcc-snapshot on machine B. The 
latest gcc-snapshot package names the gfortran executable as 
gfortran-20050507-1 while the older gcc-snapshot calls it gfortran. This 
makes the makefile non-portable (as it relies on compiler set to 
gfortran) across A and B. So I decided to put an alias for gfortran in 
the .bashrc of machine A, so that gfortran will in turn call 
gfortran-20050507-1. Is there any other portable solution way for this 
situation?

Thanks for the reply again.
raju
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: something unclear with sed for me

2005-05-11 Thread Kamaraju Kusumanchi
Andras Lorincz wrote:
I want to replaces all multiple spaces with one space. My first
attempt was this:
sed -e 's/\ */\ /g'
This replaced all multiple spaces with one but as a side effect, sed
inserted a space between all characters. Playing a little I tried
this:
sed -e 's/[\ ]\ */\ /g'
and this works. The fact is that I don't understand why the first one
doesn't work. Can someone explain me that?
I dont know about sed. But you can do this with the tr command.
tr -s ' '   is what you are after. For more details see man tr.
raju
--
Graduate student
MAE, Cornell University
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apt-file update gives errors

2005-05-11 Thread Kamaraju Kusumanchi
$sudo apt-file update
String found where operator expected at (eval 2) line 1, near "*404' > 
/dev/null || (curl -z "/" -R -o "/" 
"/dists//Contents-.gz" && chmod 644 "/")'"
(Missing operator before ' > /dev/null || (curl -z 
"/" -R -o "/" 
"/dists//Contents-.gz" && chmod 644 "/")'?)
W: Don't know how to handle http: Bad file descriptor
W: Don't know how to handle ftp
W: Don't know how to handle http
W: Don't know how to handle ftp
cp: cannot stat 
`//var/cache/apt-build/repository/dists/apt-build/Contents-i386.gz': No 
such file or directory
You have new mail in /var/mail/rajulocal

Using Debian sid. Anyone have an idea of what is going on? Can others 
reproduce it or am I alone? Should I file a bug report on apt-file?

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



Re: group web software

2005-05-13 Thread Kamaraju Kusumanchi
Nate Kroll wrote:
This is by no means a debian based question, but the software would be 
on a debian box and everyone on this list seems very knowledgable, so 
this seems like a great place to start.

I'm looking for some web application that will allow the creation and 
management of community groups.  Something like Google Groups or Yahoo 
Groups.  I'd like a webapp that will allow me to register and create a 
group that others can join and the group members would be able to use a 
common message board and perhaps a gallery.  It would be awesome if 
there was little administration (since that would be my job).

Is there any reason you are not preferring google groups? I think they 
are pretty decent for your purpose.

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



How to report spam (was Re: how do you protect from spammers in Debian lists?)

2005-05-13 Thread Kamaraju Kusumanchi

Report spam instead.  Just hitting delete does nothing to solve the 
problem.

Could you explain how you would do that?
Is it a lengthy process or just hitting a key or forwarding the spam 
email to another address?

How can I be sure that reporting spam indeed works?
Is there any authority who monitors this list?
thanks
raju
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: laptop and different networks

2005-05-13 Thread Kamaraju Kusumanchi
Daniel Déchelotte wrote:
Hi,
H. S. a écrit :
| I am supposed to configure a laptop so that is can be connected to a
| CAT5 cable on either a home LAN or a university LAN. [...]
| What options do I have to solve this problem (ifplugd, guessnet, etc)?
This is exactly what this review[1] attempts to cover.
If you have troubles or solutions not list there, I would be glad to update
the page.
[1] http://yo.dan.free.fr/profils-reseau.phtml.en
Excellent article. I learned a lot. If you are interested here is a typo.
In guessnet section,
Good, its only inconvenient is that it handle one interface at a time.
should actually be written as
Good, its only inconvenience is that it handles one interface at a time.
  ^^  ^
Also A typical laptop user would be interested mainly in wireless 
configuration. So I think the interfaces file in your appendix should 
also contain a stanza related to ath0 (wireless interface).

raju


Re: How to see memory usage?

2005-05-18 Thread Kamaraju Kusumanchi
Ibrahim Mubarak wrote:
--- John Plate <[EMAIL PROTECTED]> wrote:
Hi
How can I see the memory usage for each running process?

Try 'top'.
While there is nothing wrong with top. I sometimes find that 
gnome-system-monitor is very good for this purpose. With top I cannot 
see all the processess (but there might be a way to do it) but with 
gnome-system-monitor you can see all the processes and their memory usage.

hth
raju
--
Kamaraju Kusumanchi
Graduate Student
Cornell University
Ithaca, NY, USA
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



not able to edit telugu in yudit

2005-05-18 Thread Kamaraju Kusumanchi
This is a long shot as there as not many users who use debian and are 
interested in Linux. But I am posting it anyway hoping that someone has 
a solution for this.

I have installed ttf-telugu-fonts and yudit packages in Debian Sid.
$dpkg -l ttf-telugu-fonts yudit
ii  ttf-telugu-fonts  0.4.4 
Free TrueType fonts for the Telugu language
ii  yudit 2.7.6-1 
Unicode text editor

I tried to edit telugu in the following way
$yudit
chose kmap setup  field. In the popup I have chosen the telugu kmap. But 
when I start editing all I see are some square boxes with random letter 
in them. Something like

--
|0 c |
|6 6 |
--
Anyidea how to make telugu fonts work in yudit? Should I file a bug 
report against yudit?

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



not able to edit telugu in yudit

2005-05-18 Thread Kamaraju Kusumanchi
This is a long shot as there as not many users who use debian and are 
interested in telugu fonts. But I am posting it anyway hoping that 
someone has a solution for this.

I have installed ttf-telugu-fonts and yudit packages in Debian Sid.
$dpkg -l ttf-telugu-fonts yudit
ii  ttf-telugu-fonts  0.4.4 
Free TrueType fonts for the Telugu language
ii  yudit 2.7.6-1 
Unicode text editor

I tried to edit telugu in the following way
$yudit
chose kmap setup  field. In the popup I have chosen the telugu kmap. But 
when I start editing all I see are some square boxes with random letter 
in them. Something like

--
|0 c |
|6 6 |
--
Anyidea how to make telugu fonts work in yudit? Should I file a bug 
report against yudit?

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



Re: help in sarge testing->stable

2005-05-18 Thread Kamaraju Kusumanchi
Alberto Bert wrote:
Hi,
I'm running sarge, but I would like to keep using the testing distribution,
also after the release. Do you think there will be any kind of
problem in the transition between sarge and the new testing? I mean,
should I just upgrade my system and everything should work, or there are
some important changes I have to deal with?
sorry if the question was stupid.
thanks
Alberto

The question is very common and there is nothing stupid about it. May I 
point you to the FAQ I have written in the past and hosted at

http://www.people.cornell.edu/pages/kk288/debian_choosing_distribution.html
In particular you might be interested in
Q13 - What happens when a new release is made?
Q15 - I am currently tracking testing (sarge). What happens when a 
release is made? Will I still be tracking testing or will my machine be 
running the new stable distribution?

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



Re: not able to edit telugu in yudit

2005-05-19 Thread Kamaraju Kusumanchi
Sven Arvidsson wrote:
Kevin Mark wrote:
this is a comment, not an answer. Those boxes are an indication that
there is a missing or unrecognized unicode font, or a misconfigured
application font preference. One of the things I would love to see is an
application where you could input the 0c66 and output what font would be
needed, possibly what debian package would be needed. This should be for
any of the non-latin fonts in Debian. There was a recent tibetan font
added to Debian, but exactly how would I know that it is correctly
installed , what application I can use it with and how to configure that
application.

Maybe not exactly what you wanted, but GNOME has a good character map
(package gucharmap) where you can search for say "0c66" and see
information about that character. It wont tell you what font package
to install, but often it gives you enough info to search for it with
apt-cache search. 

In gucharmap I searched for 0c66 and this is what I got in the character 
details.

U+0C66 TELUGU DIGIT ZERO
General Character Properties
Unicode category: Number, Decimal Digit
Various Useful Representations
UTF-8: 0xE0 0xB1 0xA6
Octal escaped UTF-8: \340\261\246
Decimal entity reference: ౦
The telugu characters in gucharmap are displayed properly. Does this 
mean that all the necessary fonts are installed? I dont know what other 
packages to install as I have already installed ttf-telugu-fonts package.

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



Re: not able to edit telugu in yudit

2005-05-19 Thread Kamaraju Kusumanchi
The telugu characters in gucharmap are displayed properly. Does this 
mean that all the necessary fonts are installed? I dont know what other 
packages to install as I have already installed ttf-telugu-fonts package.

It seems you need to configure yudit manually:
   Configuration
   1. Please copy the Pothana2000.ttf to the ~/.yudit/fonts.
   2. Edit the file ~/.yudit/yudit.properties . Make an entry
   "Pothana2000.ttf" at the end the
   of the "yudit.font.TrueType" entry prefixed with a "," separator.
From: http://hserus.net/~cck/telugu-yudit.html
Thanks for the replies Kevin and Sven. It is working now.
This way I managed to write in Telugu (quite beautiful characters).
I am glad you like it. Many of my friends also told the same.
raju
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mailing lists for the BTS

2005-05-20 Thread Kamaraju Kusumanchi
Michelle Konzack wrote:
Am 2005-05-20 04:35:50, schrieb Andreas Ehn:
Hi,
When a bug is filed in the Debian Bug Tracking System (BTS), a mailing
list is created (@bugs.debian.org). AFAIK, the submitter and
the maintainer of the package, for which the bug was filed, are on
this list.
Is there a way for a third party interested in the status of the bug
to join the mailing list? I know there is a web archive of these
lists, but a push method would be preferable to pull.

Not for the BUG, but for the whole Source-Package.
and you can find the necessary info for that in the following link
http://www.debian.org/doc/developers-reference/ch-resources.en.html#s-pkg-tracking-system
raju
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: /etc/modules comment is wrong

2005-05-21 Thread Kamaraju Kusumanchi

David Jardine wrote:

I've never had the courage to file a bug and wouldn't know where to 
start, but I'm sure someone else on the list can explain.





Hey,

   It is really easy to file a bug report. Just install reportbug 
package and it will do all the 'dirty' work. You need to have an active 
connection to the internet. You need not have a mail server running 
etc., if that is what you are worried about. reportbug is just great.


raju


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




Re: wireless pcmcia works/doesn't work

2005-05-22 Thread Kamaraju Kusumanchi

Ryan Nowakowski wrote:

On Sat, May 21, 2005 at 05:11:42PM -0700, Rodney D. Myers wrote:


Now when I try to add the wireless info below, I cannot connect;

wireless-essid blahblahblah
wireless-key 1234567890

I cannot get connected. I've double checked the essid & wifi key (I
have them printed out so I'm entering them correctly).

Any pointers, and/or online docs?

Thanks



I've got "wireless_key" with an underscore in my interfaces file instead
of "wireless-key" with a dash.

- Ryan


I do not think that -, _ is the source of the problem. For example see

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=309805

http://sourceforge.net/mailarchive/message.php?msg_id=11806360

raju


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




Re: How to change Sarge from testing to stable

2005-05-23 Thread Kamaraju Kusumanchi

Bee Jay wrote:
When Sarge becomes stable since I am running Sarge do I just change my 
sources from testing to stable? I find Sarge does what I need it to do 
and no longer have to have the latest thing.


Thanks your time




FAQ.

The short answer is change your sources to sarge.

For more detailed explanation look at Q 15 in

http://www.people.cornell.edu/pages/kk288/debian_choosing_distribution.html

titled

I am currently tracking testing (sarge). What happens when a release is 
made? Will I still be tracking testing or will my machine be running the 
new stable distribution?


hth
raju


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




my messages to linux.debian.user take 40 minutes to show up

2005-05-23 Thread Kamaraju Kusumanchi

Hi
   The problem is like this. If I post a message to linux.debian.user 
then it takes about 0.5-1 hour to show up in the news group. The 
behaviour is same even if I use gmane. But if I am using the mailing 
list the messages show up immediately. I know this because I have 
experimented with two email addresses to dig down the problem.


Does anyone experience a similar problem?

I contacted the tech support of my news server provider and they say 
that it is not their problem but is due to the fact that l.d.u is a 
moderated group. I would like to know how far this is true? If it is 
infact the reason, is there anyway to overcome this problem? I really 
like the newsgroups interface than mailing list interface and would like 
to use it had it not been for this message delaying problem. Any ideas 
are welcome.


thanks in advance
raju

Below is the conversation between the tech support and me.


At 14:15 -0400 2005-05-23, Kamaraju Kusumanchi wrote:

>>Hi
>>  I use xxx.xxx.xxx as my news server. I am concerned about the fact 
that, whenever I post a message to linux.debian.user newsgroup, it takes 
about 0.5 to 1 hour for the messages to show up on the list. I am 
wondering if this is a problem with configuration on the server's side 
or with the linux.debian.user newsgroup itself?

>>
>>For example I posted a message
>>
>>http://groups-beta.google.com/group/linux.debian.user/browse_thread/thread/26452d1ca7864777/0ceea4d02212d88d#0ceea4d02212d88d
>>
>>through xxx.xxx.xxx on 13:10. But the message showed up in the 
newsgroup at 13:50 (i.e. after about 40 minutes).

>>
>>Hope you would be able to rectify the problem.
>>
>>thanks
>>raju

reply I got

> Hi Raju

>Thanks for the details of the problem.  It made it much easier to figure
>it out.

>The news group  linux.debian.user is a MODERATED group.
>That means when you post to our server, our server e-mails
>the posting to the moderator who then posts the message to
>their news server if they accept it.  The message then flows
>back to us via the normal news traffic.

>I think the moderation accounts for the delay.


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




Re: my messages to linux.debian.user take 40 minutes to show up

2005-05-24 Thread Kamaraju Kusumanchi

Adam Funk wrote:

Robert Vangel wrote:

It usually takes about an hour for my posts to appear.

I had to subscribe to the mailing list in order to be able to post to the
newsgroup.  Does that restriction not apply to posting directly to the
mailing list?  If not, that would explain the spam.




I did not completely understand your last paragraph.

For me, I can post to newsgroups irrespective of whether I am subscribed 
to the mailing list or not. If posted through news groups, Posts take 
about 1 hour to show up irrespective of whether I am subscribed to the 
mailing list or not.


OTOH, I can post to mailing list irrespective of whether I am subscribed 
to news groups or not. Messages posted through mailing list show up 
almost immediately irrespective of whether I am subscribed to news group.


raju


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




Re: sarge 3.1 kernel

2005-05-26 Thread kamaraju kusumanchi

noc-ops wrote:


Hi,

I was under the impression that the latest "testing" install came w/ 
2.6 kernel by default. In installing i386 the kernel still shows as 2.4?


Am I missing something?

Also, which kernel-image (2.6.?) should I upgrade to?


Any insight will be appreciated.


regards,
/virendra



apt-cache search kernel-image | grep "2\.6"

gives the list of 2.6 kernel packages available for a distribution. Pick 
one and then do


apt-get install your_package_name

reboot and choose the appropriate kernel, then you should be all set.

raju


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




Re: root compromise on debian woody

2005-05-26 Thread kamaraju kusumanchi

Selva Nair wrote:


Hi all,

  One of my machines running debian woody (up to date with all
security updates)
was broken into yesterday. The attacker gained a normal user access possibly by 
cracking a weak password and then managed to get a root shell, install a 
rootkit etc...


  Looking through evidence left behind (bash_history etc..) I have
figured out that
the privilege escalation was achived using an executable  that the
attacker downloaded
from the net. I have verified that this binary is indeed capable of
giving root shell to any user
and it works on two test systems I tried -- one woody and one redhat 7.2. 
 

Could you please give the link to this binary? I run couple of debian 
machines and am quite intimidated by your email. I want to cross check 
what you have been proposing. If the problem is reproducible, then I 
guess the security team would be happy to give us a security-update.


raju


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




Re: root compromise on debian woody

2005-05-26 Thread kamaraju kusumanchi

Selva Nair wrote:


Hi michael, raju:

On 5/26/05, michael <[EMAIL PROTECTED]> wrote:
 


On Thu, 2005-05-26 at 17:16 -0400, kamaraju kusumanchi wrote:
   


Selva Nair wrote:
 



 


 Looking through evidence left behind (bash_history etc..) I have
figured out that
the privilege escalation was achived using an executable  that the
attacker downloaded
   


from the net. I have verified that this binary is indeed capable of
 


giving root shell to any user
and it works on two test systems I tried -- one woody and one redhat 7.2.
   


oh please send me a binary that promises to compromise my system

   



Sure you can have it! I didn't want to post graphic details nor the binary to
the list as I only have the binary and no clue.  


You can download the thingy from http://www.geocities.com/eas2lv/temp/
-- download
knl.uuencoded.html to disk and uudecode it to get the binary named knl.

I have no idea what all it does other than  opening a root shell, so be careful 
not to try it on any critical systems.  strace did not show any potentially 
damaging system calls, but YMMV. 


Please do let me know anything that you find.

Thanks,

Selva
 

Thanks for sending the file.   I tried it on sid and it is not giving 
any root access for an ordinary user. Guess it is a problem with woody 
or a particular kernel version then.


$ uname -a
Linux deluxe 2.6.9-1-686 #1 Thu Nov 25 03:48:29 EST 2004 i686 GNU/Linux
$ ./knl
[-] Unable to determine kernel address: Operation not supported



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




Re: "Upgrading" to sarge when it goes stable?

2005-05-30 Thread kamaraju kusumanchi

Charles Read wrote:


Hey everybody!

I currently run sarge (debian testing that is) on a few important 
servers, how should I handle sarge going from testing to stable?  Is 
it like at an instant all the testing repositories will be labeled 
stable and from that moment forward everybody with woody has sarge, 
and likewise everybody with sarge then having sid?  Any help?


THX!


Charles Read



see Q15 on

http://www.people.cornell.edu/pages/kk288/debian_choosing_distribution.html

raju


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




texinfo incompatibility with old versions

2005-06-01 Thread kamaraju kusumanchi
When I tried to make documentation for gnuplotfortran package there were 
some errors from texi2pdf command. I reported the bug in sourceforge and 
the maintainer is unable to reproduce the problem.


Can someone reproduce the following bug (better still offer a solution) 
with gnuplotfortran package.


https://sourceforge.net/tracker/index.php?func=detail&aid=1212240&group_id=107705&atid=648697

Apparently, this problem occurs only with newer versions of texi2pdf 
(part of texinfo package) and I am wondering if it is infact a bug with 
newer texinfo.


thanks
raju


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




Re: Will Sid go nuts?

2005-06-02 Thread kamaraju kusumanchi



I'm a Debian noob and don't understand...
Won't , Sarge become Stable, Sid become Testing, whatever ("etch"??) 
become

unstable?

Also, this thread is in regard to Sid.. What happens to Sid if not become
testing?

JR



A more detailed explanation of what happens when a release is made is 
available at



http://www.people.cornell.edu/pages/kk288/debian_choosing_distribution.html

In particular Q 13, 15 might be of interest to you.

raju


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




cannot install forecast fox

2005-06-06 Thread kamaraju kusumanchi

forecast fox can be found at
http://forecastfox.mozdev.org/installation.html

I cannot install the above plugin to mozilla-firefox when 
mozilla-tabextensions is installed. But if mozilla-tabextensions is 
removed, then I can install it.


If mozilla-tabextensions is installed and if I click on the install link 
on version 0.7.9.2 then nothing happens (It should actually give the pop 
up window to install software etc.,). Can someone reproduce this 
problem? I could file a bug report if others can reproduce it.


raju


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




Re: cannot install forecast fox

2005-06-06 Thread kamaraju kusumanchi

kamaraju kusumanchi wrote:


forecast fox can be found at
http://forecastfox.mozdev.org/installation.html

I cannot install the above plugin to mozilla-firefox when 
mozilla-tabextensions is installed. But if mozilla-tabextensions is 
removed, then I can install it.


If mozilla-tabextensions is installed and if I click on the install 
link on version 0.7.9.2 then nothing happens (It should actually give 
the pop up window to install software etc.,). Can someone reproduce 
this problem? I could file a bug report if others can reproduce it.


raju



forgot to say that, I am using sid.

raju


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




removing gcc-snapshot leaves files behind

2005-06-07 Thread kamaraju kusumanchi

Hi
  On sid, recently I installed and removed the gcc-snapshot package. 
But even after removing with 'apt-get remove --purge gcc-snapshot', it 
leaves the following files hanging around.


/usr/local/bin/gcc-snapshot
/usr/local/bin/g++-snapshot
/usr/local/bin/gfortran-snapshot


Should not these files also be deleted once the original package has 
been purged? Is it safe to delete them manually?


thanks
raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/


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




Re: removing gcc-snapshot leaves files behind

2005-06-07 Thread kamaraju kusumanchi

Roberto C. Sanchez wrote:


On Tue, Jun 07, 2005 at 09:39:11PM -0400, kamaraju kusumanchi wrote:
 


Hi
  On sid, recently I installed and removed the gcc-snapshot package. But even 
after removing with 'apt-get remove --purge gcc-snapshot', it leaves the 
following files hanging around.


/usr/local/bin/gcc-snapshot
/usr/local/bin/g++-snapshot
/usr/local/bin/gfortran-snapshot


Should not these files also be deleted once the original package has been 
purged? Is it safe to delete them manually?


   


No and Yes.  Debian policy dictates that packages can place files into
/usr/local (though it is discouraged) unless they collide with something
already there.  However, packages are prohibited from removing anytnig
from /usr/local.

-Roberto

 


thanks for the quick reply. I removed the *-snapshot files myself.

raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/


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




Re: Swap usage

2005-06-08 Thread kamaraju kusumanchi

theal wrote:

It grows to almost a gig. I have a program I suspect is the problem, 
but it would be nice to be able to verify without restart this very 
mission critical program.
 
Tony 
 


Do you have doodle or doodled installed on your system? I found that it 
eats up all the memory and consumes swap space too (I had 1gig memory). 
Once I removed that package everything is fine and no swap is used.


just a wild guess
raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/


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




Re: Eliminating upgrade confusion

2005-06-09 Thread kamaraju kusumanchi

David Jardine wrote:

The enormous confusion arising from the release of sarge seems 
to have arisen from the use of the words "stable" and "testing". 


Somebody who was running stable didn't want woody to be replaced
by sarge without his being asked.  Somebody running testing didn't 
want to move from sarge to etch automatically.  (Sid seems to be 
the only stable one.)


Wouldn't things work more smoothly if "stable" and "testing" were 
not allowed in /etc/apt/sources.list or anywhere else except as 
purely informative descriptions? 

 

I agree that for a newbie this can be quite confusing. I myself got 
confused with it in the beginning. But being a newbie is not an excuse 
to not read the FAQ and other documentation out there. There are tons of 
documentation out there.


The Debian release naming conventions are quite clearly explained in

http://www.debian.org/doc/FAQ/

Please take a look at section 5.

Further, I tried to put some additional FAQs and their answers at
http://www.people.cornell.edu/pages/kk288/debian_choosing_distribution.html

Nothing is easy in Linux in the beginning. But the learning pays off in 
the long run.


just my 2 cents
raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/


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




mplayer is unable to play some wmv files

2005-06-11 Thread kamaraju kusumanchi
Usually, I can play .wmv files with mplayer. But it is not able to play 
certain wmv files, for reasons that I am unaware of. The image looks 
garbled up when I run mplayer. I have tried aviplay, xine, mplayer, 
kplayer and none of them work. I have already installed w32codecs. I am 
using Sid.


Can someone tell me what I am doing wrong? The file is pretty big (0.5 
gig) and proprietary, so I cannot host it on a public server. Has anyone 
experienced a similar problem? Any ideas/suggestions are most welcome.



$file cm.wmv
cm.wmv: Microsoft ASF

$mplayer cm.wmv
MPlayer 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE2 supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE



73 audio & 180 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startupscripts.

Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing cm.wmv.
ASF file format detected.
VIDEO: [WMV3] 320x240 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
name:
author:
copyright:
comments:
==
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg))
==
vo: X11 running at 1440x900 with depth 24 and 32 bpp (":0.0" => local 
display)

==
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:230400 align:1
StreamCount r=0x0 1 1
Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU ▒
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2)
VDec: using BGRA as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 320x240 => 320x240 BGRA
SwScaler: using unscaled BGRA -> BGRA special converter
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)
==
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
alsa-init: 1 soundcard found, using: default
alsa: 44100 Hz/2 channels/4 bpf/60208 bytes buffer/Signed 16 bit Little 
Endian

AO: [alsa] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 95%
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 95%
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 80%
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 16%
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 48%
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 46%
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 37%
alsa-space: xrun of at least 0.070 msecs. resetting stream?,?% 0 0 48%
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0 48%
alsa-uninit: pcm closed 3.813 ct: 0.038 11/ 11 ??% ??% ??,?% 0 0 48%

Exiting... (Quit)


thanks in advance
raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/


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




Re: knoppix -> sarge possible?

2005-06-11 Thread kamaraju kusumanchi

Fernando Cacciola wrote:


Hi people,

Is it possible to "upgrade" my Knoppix 3.8.1 (on CD) to sarge without 
a clean install?


TIA

Fernando Cacciola


It is possible to do so. But in the end you will end up spending more 
time  by taking this route. Unless you have a solid reason as to, why 
you are preferring knoppix->sarge to net installer + sarge, it is NOT 
advised to install knoppix first and then upgrading to sarge etc.,


--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/


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




Re: mplayer is unable to play some wmv files

2005-06-13 Thread kamaraju kusumanchi

Robert Storey wrote:


On Sat, Jun 11, 2005 at 06:42:04PM -0400, kamaraju kusumanchi wrote:
   


Usually, I can play .wmv files with mplayer. But it is not able to play
certain wmv files, for reasons that I am unaware of. The image looks
garbled up when I run mplayer. I have tried aviplay, xine, mplayer,
kplayer and none of them work. I have already installed w32codecs. I am
using Sid.

Can someone tell me what I am doing wrong? The file is pretty big (0.5
gig) and proprietary, so I cannot host it on a public server. Has anyone
experienced a similar problem? Any ideas/suggestions are most welcome.
 



Did you install the codecs in their directory BEFORE or AFTER you compiled 
Mplayer? It's necessary to install them before. If you didn't do that, you'll 
have to recompile.


cheers,
Robert
 

I installed mplayer, codecs from Christian Marillat's website. Following 
your suggestion, I removed w32codecs, mplayer-586 etc., and then 
installed them in the following order (one after another) - w32codecs, 
mplayer-586, mplayer-fonts. It did not solve the problem.


raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/


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




Re: Laptop Lockup

2005-06-19 Thread kamaraju kusumanchi

x wrote:


Hey everybody... I've got Sarge loaded on my laptop, and it's working
great.  Here's my problem:

1. When I unplug the power cord, the laptop freezes up.  Plugging it
back in doesn't help.  How do I fix this?
 

Help us to help you. Please provide all the relevant details before 
posting a question.


What laptop is it? Which Company? make? model?

Did it happen just for sarge or was the problem there before?

Does it happen if you run X or does it happen when you are running 
console alone?


raju


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




Re: Firefox / Profile

2005-06-20 Thread kamaraju kusumanchi

Patrick Rutkowski wrote:


On Monday 20 June 2005 07:35 pm, x wrote:
 


here:http://kb.mozillazine.org/Mozilla_Suite_:_Issues_:_Profile_in_Use,
but I was unable to locate the "lock" file in order to delete it.
   



updatedb && locate parent.lock
 


I am not sure about the parent.lock part of the above command.

Look for a file called lock in the firefox configuration directory. For 
me, it is ~/.mozilla/firefox/xwsf90q4.default/lock@


YMMV
raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/


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




Re: How come packages dont have a homepage field?

2005-06-20 Thread kamaraju kusumanchi

Stefhen Hovland wrote:


I dont know if this has been asked before, but one thing I notice which
is missing from .deb's is a field for a package's homepage URL. This was a nice
thing with gentoo ebuilds, in that there was a homepage field for each package,
so it was nice and easy for me to cut and paste to firefox and check out the
homepage of a package I was interested in. I know most will say just google for
the answer and you will probably find the project's homepage pretty quickly, but
this still very handy, plus I could be sure I was going to the correct project
homepage.

Does anyone know why this is missing from Debian? I am sure about 99% of
packages out there have a homepage, and if there are any that don't I am sure
they will have a generic entry on freshmeat.net/packagename which
could be listed.

Sure most of the packages will end up being packagename.sourceforge.net, but
this would still be helpful.

Any thoughts?

Stefhen


 


I like the idea. I have been waiting for something like this for ages.

raju


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




[OT] splitting files based on keyword

2005-06-21 Thread kamaraju kusumanchi

I have a large text file (humongous.txt) with the following structure


date 1-1-2005
line1
line2
date 1-2-2005
line3
line4
date 1-3-2005
line5
line6
line7
line8
.

Is there any tool which will split the above file and give me three 
smaller files  1-1-2005.txt, 1-2-2005.txt, 1-3-2005.txt etc., where


1-1-2005.txt will be

date 1-1-2005
line1
line2

1-2-2005.txt will be

date 1-2-2005
line3
line4

1-3-2005.txt will be
line5
line6
line7
line8


There is absolutely no correlation between the date and the number of 
lines that it might contain. I just chose 3 dates, But in my file there 
are about 1000 such sections and I do not want to do it manually. I am 
wondering if there is any tool out there which does the above job.


I can do it with c or fortran but that does not appear to be elegant.

I looked at split, csplit. But they dont seem to do this. Googling did 
not help much. Any other ideas?


raju



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




Re: [OT] splitting files based on keyword

2005-06-22 Thread kamaraju kusumanchi

Kevin Mark wrote:


On Tue, Jun 21, 2005 at 09:57:07PM -0400, kamaraju kusumanchi wrote:
 


I have a large text file (humongous.txt) with the following structure


date 1-1-2005
line1
line2
date 1-2-2005
line3
line4
date 1-3-2005
line5
line6
line7
line8
.

Is there any tool which will split the above file and give me three 
smaller files  1-1-2005.txt, 1-2-2005.txt, 1-3-2005.txt etc., where


1-1-2005.txt will be

date 1-1-2005
line1
line2

1-2-2005.txt will be
   


Hi raj,
perl would be faster than bash, but here is a bash script.
---
SOURCE=$1
F=""
cat $1 | while read line; do
   TEST=$(echo $line | grep ".*-.*-.*")
   if [ "$TEST" ]; then
   echo $line
   F=$(echo $line|awk '{print $2.".txt"}')
   else
   if [ -e "$F" ]; then
   echo "$line" >> $F
   else
   echo "$line" > $F
   fi
   fi
done

Cheers,
kev
 



Thanks for the code Kevin. It does the job. Thanks for other ideas too. 
I will try to learn a scripting language soon...


raju


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




Re: possibility of debian "cannabilizing" other Linux distributions in 5-10 years time

2005-06-26 Thread kamaraju kusumanchi

Dominik Margraf wrote:


Also, the possible release of Etch in Q4 of 2006 (Do you think this
timeframe is likely?) will coincide with the release of the M*Shit
Longhorn and how much share of the Windows market can be snatched by
Linux?
 

My personal opinion is that, as long as vendors ship their computers 
with preinsalled Microsoft products, there will be users using them. The 
sooner the vendors distribute pre-installed desktops/laptops, sooner 
will be the cannibalization you are talking about. Actually, some 
laptops are shipped with Debian installed. But their fraction is tiny.



In 10-15 years time, Do you think that Debian will dominate the
desktop and the server market to the extent that most desktops/laptops
sold in department stores will be preinstalled with Debian (just like
today's M*Shit Windows)?
 

I think it is the other way around. If the big companies like Dell, 
Sony, Toshiba etc., distribute preinstalled Linux systems, then the 
change will occur soon.


raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/


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




Re: newbie can't install 3.1

2005-06-26 Thread kamaraju kusumanchi

Dylan Evans wrote:

I don't know much, and figured the best way to learn linux is by 
having it.  Unfortunately, the installation looked like it only half 
succeeded.  The gui won't work, and it won't auto-config my network 
card (I'm often on a big lan, and windows works).  Of that I am 
certain, and other things might not work either.  I'm seeing a lot of 
"blabbedy blah failed to load" or similar in the boot-up process.  
Unfortunately, I can't take screenshots to troubleshoot, because I 
have to reboot to run windows, the OS where I can get on the internet, 
and therefore any possible support.  Any help would be most 
appreciated.  I'm sorry if I'm asking the wrong people, but I just 
haven't seen any newbie faqs or mailing lists.


Thanks
Dan


Hi Dylan
  You have not given us any info to help you. Just saying that it does 
not work, does not solve the problem. Please give us more info. The 
following would be a starting point.


1) From where did you download the installation files?

2) What method are you using to install - floppies/cd images/net 
installation image/usb/remote network ...?


3) What is your hardware? What is your network card? What is the 
configuration of the system? Is it a desktop or laptop?


We can start from there and figure out what the cause of problem really is!

raju


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




Re: Combining PDF documents

2004-10-15 Thread Kamaraju Kusumanchi
On Wed, 13 Oct 2004 23:12:29 +0200, Martin Dickopp
<[EMAIL PROTECTED]> wrote:
> Michael Satterwhite <[EMAIL PROTECTED]> writes:
> 
> > In Adobe Acrobat, there is the ability to combine PDF documents, inserting
> > document 2 at a given location within document one. Actually, all I really
> > need is to take a document and append it to another.
> >
> > Does anyone know of a Linux tool for this.
> 
> There's a tool "pdfjoin" (in the "pdfjam" package) for this purpose.
> I've never used it myself, but according to the documentation, it can
> do this.
> 

Try the pdftk (apt-gettable) package. It is very useful if you want to
do more than  joining two pdf files.

raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/


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



using scp to move files

2004-10-04 Thread Kamaraju Kusumanchi
Hi all
   Very simple question but I cannot find the answer in google
(possibly wrong keywords).

   I need to move some files from a server to client. I am planning to
use scp for this. Using scp, I can only copy the files. But I want to
move the files instead of copying them. Any ideas? The manual of scp
does not have any option for this.

Are there any other programs which achieve the same result?

thanks
raju


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



Re: using scp to move files

2004-10-04 Thread Kamaraju Kusumanchi
On Mon, 4 Oct 2004 12:13:25 -0700, Peter Hicks <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 04, 2004 at 03:41:43PM +, Kamaraju Kusumanchi wrote:
> >Hi all
> >   Very simple question but I cannot find the answer in google
> >(possibly wrong keywords).
> >
> >   I need to move some files from a server to client. I am planning to
> >use scp for this. Using scp, I can only copy the files. But I want to
> >move the files instead of copying them. Any ideas? The manual of scp
> >does not have any option for this.
> >
> >Are there any other programs which achieve the same result?
> 
> Try using rsync with the --delete-after flag. You can tunnel rsync over
> ssh using the -e flag. That should accomplish what you are trying to
> achieve, I believe.
> 
> man rsync just to make sure :-)

I read the manual page on rsync. The --delete-after deletes the files
on the receiving end. What I need is an option to delete on the
sender. Did I miss anything?

raju


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



usb hard drive fails to mount after rsync errors

2004-10-09 Thread Kamaraju Kusumanchi
Hi all
  I have a 200 GB extenal hard drive with USB interface. I have the
following entries in /etc/fstab

/dev/sda/media/usb0 autorw,user,noauto  0   0

/dev/sda5   /usbdrive/ent1autorw,users,noauto  0   2
/dev/sda7   /usbdrive/ent2autorw,users,noauto  0   2
/dev/sda1   /usbdrive/linux_backupautorw,users,noauto  0   2
/dev/sda6   /usbdrive/softwareautorw,users,noauto  0   2
/dev/sda2   /usbdrive/windows_backup  autorw,users,noauto  0   2

where sda1 is ext3 formatted.

When I boot the computer, I can mount a partition by

mount /dev/sda1

I was sending a large file from another machine to this partition, the
rsync transfer failed with the following message

$rsync -e ssh -avzp rajuhomebackup_040403.tgz
[EMAIL PROTECTED]:/usbdrive/linx_backup/home_backups/
building file list ... done
rajuhomebackup_040403.tgz
rsync: writefd_unbuffered failed to write 16385 bytes: phase
"unknown": Broken pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(515)

So, I went back my original machine and unmounted the /dev/sda1
partition. Now when I try to mount the partition again, I am getting
the following errors.

$mount /dev/sda1
mount: I could not determine the filesystem type, and none was specified

$sudo mount -t ext3 /dev/sda1 /usbdrive/linux_backup/
mount: /dev/sda1 is not a valid block device

But if I reboot the computer the usb drive can be mounted without any
problems. Now my questions are

1) Why is the rsync process giving errors?

2) Is the 200gb USB drive faulty? I can use it in windows and
everything works like a charm. But in linux I have this weird problem
of booting everytime I want to mount the partition

Using debian sid

$uname -a
Linux kusumanchi 2.6.8-1-386 #1 Mon Sep 13 23:29:55 EDT 2004 i686 GNU/Linux

cat /proc/bus/usb/devices
T:  Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 8
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.8-1-386 ehci_hcd
S:  Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
S:  SerialNumber=:00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.8-1-386 uhci_hcd
S:  Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4
S:  SerialNumber=:00:1d.3
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 93/900 us (10%), #Int=  1, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.8-1-386 uhci_hcd
S:  Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3
S:  SerialNumber=:00:1d.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=045e ProdID=0039 Rev= 3.00
S:  Manufacturer=Microsoft
S:  Product=Microsoft 5-Button Mouse with IntelliEye(TM)
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.8-1-386 uhci_hcd
S:  Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2
S:  SerialNumber=:00:1d.1
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.8-1-386 uhci_hcd
S:  Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1
S:  SerialNumber=:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms




$lsmod
Module  Size  Used by
uinput  6144  0
usbvideo   27524  0
videodev9856  1 usbvideo
usbserial  27240  0
mtouchusb

how to change font of desktop icons

2004-10-22 Thread Kamaraju Kusumanchi
Hi
   I am using KDE, debian sid update regularly. Can someone please
tell me how to change the size of the fonts used for kde-desktop
icons. I searched google and went around the kcontrol window but could
not find anything. Any hacks, suggestions would be very helpful.

I find that the fonts used by kde desktop icons to be too large and
distracting. So I would like to use a smaller sized font if possible.

thanks in advance
raju
-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/


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



faq on choosing a debian distribution - draft 1

2004-10-24 Thread Kamaraju Kusumanchi
Hi all
   I read this list regularly. I find that people who want to try
Debian for the first time are often confused about the fact the there
are three debian distributions and do not know which one to choose. As
usual, everyone wants to do the right thing the first time. I made
this small FAQ to help them and would like to seek your expert
opinions. This is just a rough draft and will post the updated version
next week after receiving suggestions from all of you.

My questions are
1) Is it worth to make such a document/HOWTO? Do you think it will be
useful/useless?
2) Obviously the set of questions is not a complete list. I would like
to receive suggestions about new questions. If you can attach both
question and corresponding answers that would be great.
3) Any other advice?


***
 choosing a debian distribution
***


1. How many Debian distributions are there?

Read http://www.debian.org/doc/manuals/debian-faq/ch-ftparchives.en.html#s-dists
. As it says, Debian comes in 3 distributions - stable, testing, unstable.

2. Which Debian distribution is better for me?

The answer is a bit complicated. It really depends on what you intend to do. The
best solution would be to ask a friend who runs debian. The following are
intended to supplement the information.

If you are worried about security and stability issues, install stable. period.
This is the most preferred way.

If you are a little bit daring, adventurous and do not mind having a system that
breaks once in a while then use unstable. Unstable is for experts who know what
they do. 

If you are unsure, stick with the stable distribution.
If you are new to Debian, install stable.


3. You asked me to install stable, but in stable so and so hardware is not
detected/working. What should I do?

Try to google around and see if someone else is able to get it working in
stable. Most of the hardware would work fine with stable. But if you have one of
those state-of-the-art cutting edge hardware, it might not work with stable. If
this is the case, you might want to install/upgrade to unstable.


4. Will there be different different versions of packages in different
distributions?

Yes. Unstable has the most recent (latest) versions. But the packages in
unstable are not well tested and might have bugs.

On the other hand, stable contains old versions of the package. But this
package is well tested and (99.99%) will not have any bugs.

For example, when I started writing this document the different versions of apt
package are as follows

stable   --- 0.5.4.0.1
testing  --- 0.5.27
unstable --- 0.6.25

5. If I were to decide to change to another deistribution, Can I do that?

It is a one way process. You can go from stable --> testing --> unstable.
But the reverse direction is not "possible". So better be sure if you are
plannning to install/upgrade to unstable.

6. Did anyone really ask these questions?

Oh yeah. Too many to list here. Read the debian-user mailing list archive and
you know what I am talking about.

7. I am still confused. What did you say I should install?

The safest bet would be stable distribution


-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/


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



any successful stories of freenx on debian

2004-10-25 Thread Kamaraju Kusumanchi
I am wondering if anyone is able to get freenx on debian sid? I
downloaded the deb packages from

deb http://www.kalyxo.org/debian/ experimental main

But when I run nxclient, a window comes up with no information what so
ever. All I can do in this popped up window is to press the OK button.
I am not sure what is wrong with it.

I tried downloading the nxclient directly from www.nomachine.com. But
that site is not accessible through mozilla-firefox because of some
cookie problems which I was not able to solve.

I understand that this is still an experimental software, but If there
is someone out there who got it working could you please throw some
light on my issue...

thanks
raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/


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



gvim crashes on alt-tab

2004-10-27 Thread Kamaraju Kusumanchi
Recently gvim (not vim) is crashing if I press alt-tab and switch to
another window. If I press the alt-tab, then the crash occurs most of
the time but not always.

I am not sure what I did wrong and could not track down the problem.
Google did not help me. So I am wondering if someone else had the
problem and solved it.

I am using debian sid, gvim 6.3.25.

I do not know what other info I need to provide as the bug is not
reproducible all the time.

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/


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



Re: Debian Commands

2004-10-29 Thread Kamaraju Kusumanchi
On Fri, 29 Oct 2004 13:56:34 +0100, mark <[EMAIL PROTECTED]> wrote:
> Is there a document or list anywhere of all the Debian specific
> commands, their parameters and what they do? I'm thinking of things like
> dpkg, update-modules, dpkg-reconfigure and all the rest. I am trying to
> learn the "Debian system" and a ready reference would be very helpful.
> 
> :)Fish

This is an awesome document. I always have it on my table. I hope you
will find it useful.

http://people.debian.org/~debacle/refcard/refcard-en-a4.pdf

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/


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



Re: Adobe Acrobat Reader

2004-11-06 Thread Kamaraju Kusumanchi
On Sat, 06 Nov 2004 18:45:15 +, Pedro M (Morphix User)
<[EMAIL PROTECTED]> wrote:
> I cannot install AAR following the instructions in
> 
> http://wiki.debian.net/index.cgi?Acrobat
> 
> Why I click in the script (*.sh )I recieve an error message.
> 
> I suggest include the tarbar in the Debian packages, in a similar way to
> the Macromedia Flash (this is important because I cannot print PDF files
> using the Acrobat Reader forks ).

Forgive me if I am missing something obvious but why cant you just
apt-get the acroread package?

For example in Debian unstable,

$apt-cache search acroread
pdfscreen - Make PDF documents which are printable and readable on screen too
acroread - Adobe Acrobat Reader: Portable Document Format file viewer
acroread-debian-files - Debian specific parts of Adobe Acrobat Reader
acroread-plugin - Adobe Acrobat(R) Reader plugin for mozilla / konqueror

AFAIK, The default binary package works very well and I have no idea
about the source package...

raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups-beta.google.com/group/flumech


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



Re: Adobe Acrobat Reader

2004-11-06 Thread Kamaraju Kusumanchi
On Sun, 7 Nov 2004 00:03:37 +0100, Alexander Schmehl
<[EMAIL PROTECTED]> wrote:
> * Kamaraju Kusumanchi <[EMAIL PROTECTED]> [041106 22:54]:
> 
> > Forgive me if I am missing something obvious but why cant you just
> > apt-get the acroread package?
> 
> Because it's not part of Debian, nor is it in the contrib or non-free
> section, since it's license doesn't allow it.
> 

Thanks for the info. I was not aware of it. I just happened to include
the ftp.nerim.net link in my apt sources and did not bother to check
whether it is official or unofficial.

raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups-beta.google.com/group/flumech


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



solved( Re: gvim crashes on alt-tab)

2004-11-10 Thread Kamaraju Kusumanchi
On Wed, 27 Oct 2004 16:41:17 +, Kamaraju Kusumanchi
<[EMAIL PROTECTED]> wrote:
> Recently gvim (not vim) is crashing if I press alt-tab and switch to
> another window. If I press the alt-tab, then the crash occurs most of
> the time but not always.

When I removed the vimspell plugin from ~/.vim directory, The
instability disappeared.

raju

-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups-beta.google.com/group/flumech


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



Re: SCP GUI

2004-11-17 Thread Kamaraju Kusumanchi
On Wed, 17 Nov 2004 13:04:21 +, Jon Dowland <[EMAIL PROTECTED]> wrote:
> On Tue, 16 Nov 2004 19:21:33 +0100, Christian Christmann
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > are there any SCP GUI clients for Sarge?
> 
> Slightly OT, but if possible suggest you use SFTP over SCP. See
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=144579
> 

I think this is worth mentioning. 

In konqueror ctrl-shift-L vertically splits the window. Then you can
use the sftp protocol to drag & drop the files. The behaviour is
almost close to that of winscp (found on windows machines). Also watch
out for links, files owned by root etc if you are moving the files
from machnine to machine.

good luck
raju


-- 
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups-beta.google.com/group/flumech


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



Re: which dhcp client should be used?

2004-06-28 Thread Kamaraju Kusumanchi
thanks all for the replies. Looks like dhcp-client is relatively easy to 
configure (compared to dhcp3-client) . I am able to get dhcp-client up 
and running. I will probably try pump during the weekend and get back to 
you.

thanks again
raju
Kamaraju Kusumanchi wrote:
I am interested in setting up my machine as a dhcp client. Doing 
apt-cache search for dhcp clients on unstable debian, I get

dhcp-client - DHCP Client
dhcp3-client - DHCP Client
dhcpcd - DHCP client for automatically configuring IPv4 networking
I would like to know which is the preferred one? What are the 
differences between these? Any documentation on these would be nice.

Apparently dhcp-client and dhcp3-client are not compatible with each 
other. Because when installing dhcp3-client, apt-get wants to remove 
dhcp-client.

regards
raju

--
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: current state of testing?

2004-06-29 Thread Kamaraju Kusumanchi
Micha Feigin wrote:
What is the current state of testing? how close is it to being stable
(apart from the installer), how much is it changing now, and what are
the states of gnome and apache2 there?
You might find these two links interesting.
http://www.debian.org/releases/testing/
http://bugs.debian.org/release-critical/
--
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: resolv.conf has been lost

2004-06-29 Thread Kamaraju Kusumanchi
cenapad wrote:
I've noticed that resolv.conf has been reseted each time I reset 
computer, that is, if I reboot ou shutdown the machine, i lost the 
content of resolv.conf, and, therefore, information about my DNS. 
Strange...


Are you using dhcp or static IPs? I ask because I had a similar 
experience with /etc/resolv.conf when using my laptop as a dhcp client. 
Actually my problem was a bit different in the sense, the file is still 
there but its contents would be erased. I never had a clue which program 
was doing it.

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



Re: Amazingly slow bootup on HP laptop and other problems

2004-07-01 Thread Kamaraju Kusumanchi
Sudarshana Koushik wrote:
Hi ppl, 
So here goesI installed debian/unstable on HPnx9110 and
almost everything works fine, except
1. The first line after lilo ('Loading Linux..') takes
ages. The dots appear one after the other so slowly, it
painful to watch it. The normal boot process appears to be
slower than other computers too considering this is 3.2GHz,
and other processes run fine and fast.
Try adding compact option to /etc/lilo.conf. Your lilo.conf should look 
something similar to

boot=/dev/hda3
root=/dev/hda3
compact
then run lilo at the command prompt as root.
hth
raju
--
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Occasional freezing / need help diagnosing

2004-07-13 Thread Kamaraju Kusumanchi
Scott Thompson wrote:
Occasionally Debian just locks up.  The same box has WinXP and SuSE 9.1 
and Debian Sid.  Each OS has its own hard drive.  I have not experienced 
any locking up with the other two OSs.  I've looked in the logs in 
/var/logs but can't find anything that seems significant. 

Can anyone give me some tips on troubleshooting something like this?   
I'm really trying to decide between SuSE and Debian.  I really like some 
things about Debian, but if I can't stop the freezing, I'll have no 
choice but to go back to SuSE.

Just a side thought. Is the lock up occuring when you are accessing the 
internet or local LAN? If that is the case, I would look into the 
network configuration.

hth
raju
--
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: google type of search for a desktop

2004-05-07 Thread Kamaraju Kusumanchi
Adam Aube wrote:

Kamaraju Kusumanchi wrote:

 

  I am wondering if there is a software which performs google's search
on (and only on) the files of a desktop running debian linux? I am aware
of utilities such as grep, find, locate etc, but prefer a google's
interface. For ex, I can seach for a string, and then click on the link
to access the file etc.,
   

Have you checked for a "Find" or "Search" feature in your desktop's file
management program?
Adam


I use KDE and konqueror is the file manager I use. I could not find any 
such functionality in konqueror. I can shift to some other file manager, 
if it serves the purpose.

thanks for the reply.
raju
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



kernel message logs - should I be worried?

2004-05-22 Thread Kamaraju Kusumanchi
I am using debian testing 2.6.5-1-686-smp kernel. In /var/log/kern.log, 
I see the following messages.

May 22 12:03:05 kusumanchi kernel: apm: BIOS version 1.2 Flags 0x03 
(Driver version 1.16ac)
May 22 12:03:05 kusumanchi kernel: apm: disabled - APM is not SMP safe.
May 22 12:03:05 kusumanchi kernel: 0: NVRM: AGPGART: unable to retrieve 
symbol table
May 22 12:07:39 kusumanchi kernel: apm: BIOS version 1.2 Flags 0x03 
(Driver version 1.16ac)
May 22 12:07:39 kusumanchi kernel: apm: disabled - APM is not SMP safe.
May 22 12:07:39 kusumanchi kernel: 0: NVRM: AGPGART: unable to retrieve 
symbol table
May 22 14:47:44 kusumanchi kernel: apm: BIOS version 1.2 Flags 0x03 
(Driver version 1.16ac)
May 22 14:47:44 kusumanchi kernel: apm: disabled - APM is not SMP safe.
May 22 14:47:45 kusumanchi kernel: 1: NVRM: AGPGART: unable to retrieve 
symbol table

Should I be worried? If so how can I get rid of them?
thanks
raju
--
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



cannot modprobe toshiba_acpi

2004-06-09 Thread Kamaraju Kusumanchi
Hi I have a toshiba satellite p25-s507. I am running Debian/testing. As 
root if I do

# modprobe toshiba_acpi
FATAL: Error inserting toshiba_acpi 
(/lib/modules/2.6.5-1-686-smp/kernel/drivers/acpi/toshiba_acpi.ko): No 
such device

Here is the system information
# ls -al /lib/modules/2.6.5-1-686-smp/kernel/drivers/acpi/toshiba_acpi.ko
-rw-r--r--1 root root 8527 2004-04-30 07:10 
/lib/modules/2.6.5-1-686-smp/kernel/drivers/acpi/toshiba_acpi.ko

# uname -a
Linux kusumanchi 2.6.5-1-686-smp #2 SMP Fri Apr 30 20:35:03 EST 2004 
i686 GNU/Linux

# acpi -V
 Battery 1: discharging, 75%, charging at zero rate - will never 
fully charge.
No support for device type: thermal
  AC Adapter 1: off-line

# cat /etc/default/acpid
# Specify options for acpid startup, Debian default is to enable the
# use of sockets at a non-default position
OPTIONS="-s /var/run/acpid.socket"
# Specify modules to load on acpid's startup
# MODULES may be uncommented to load "none", contain the string "all"
# to load all acpi related modules or simply a space seperated list
# of modules to be probed.
MODULES="battery ac processor button fan thermal"
/boot/config-2.6.5-1-686-smp looks as follows
#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_ASUS=m
CONFIG_ACPI_TOSHIBA=m
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
Can anyone help me as to why I am not able to load toshiba_acpi module? 
I searched the web but could not find anything. Any suggestion/pointers 
are most welcome.

thanks
raju
--
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT wordprocessing anyone?

2004-06-11 Thread Kamaraju Kusumanchi
richard lyons wrote:
Do folk here have recommendations about how to do wordprocessing?  I 
am looking for solutions that allow well formatted technical 
documents, with the possibility of using well-designed templates in a 
modern typographic style.  Interoperability and/or ease of import and 
export is important, as is handling of tables and inclusion of 
spreadsheets and graphics.
I am a newbie myself but I guess I could be of some help on this issue.
I did not like kile or lyx either. I use vim editor a lot and there is a 
package called vim-latexsuite available in debian. Together these two 
packages do amazing job. For me the amount of time to produce a latex 
document went down by atleast a factor of 3.

Another option to consider for small documents is texmacs. If you are an 
emacs expert this would be ultra-friendly. It has support for gnuplot, 
latex, maxima, octave etc. which makes it kinda IDE for producing latex 
documents. Also be aware that, texmacs file format is not .tex but you 
can export a .tex file at the end of the project.

hth & hand
raju
--
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to upgrade a debian system not connected to network

2004-06-13 Thread Kamaraju Kusumanchi
J.S.Sahambi wrote:
I have a two debian/unstable systems (let us name them PC-A and PC-B). 
Both have got different packages installed. PC-A is connected to 
internet with 2 MBps link and so there is no problem in upgrading it 
regularly.

PC-B is not connected to internet. So I whenever I need to upgrade the 
system I download the 5 CD's of sid form 
ftp://ftp.fsn.hu/pub/CDROM-Images/debian-unofficial/sid/ ,
burn then in RW-CDs and then upgrade the system.

I want to know is there any method by which I can download the packages 
requiring upgrade for the PC-B in PC-A (remember PC-A and PC-B have 
different list of installed packages!)?

If I can do that, I can copy the .deb files to  /var/cache/apt/archives 
of PC-B via a portable usb-dsik and execute apt-get upgrade.

Any help will be appriciated.
Thanks
JSS

Others may give a better answer. One easy way that comes to my mind is 
internet sharing. For example, you can buy a router and connet PC-A & 
PC-B to the router. The router connects to the outside world through the 
2mbps link. The LAN enables to share the files between the computers 
very easy.

Other method to share the internet is to set up one of the machines as a 
gateway and connect the other machine to the gateway.

For more details see http://www.aboutdebian.com/network.htm
I found it very useful and is one of my alltime favorites.
hth
raju
--
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



performing diff on parts of a file

2004-06-15 Thread Kamaraju Kusumanchi
I am looking for a program/script(?) which performs diff on parts of a 
file. Say I have a file of 100 lines. How to do diff on lines between 
20-30, and 50-60 without writing them into separate files. Which 
software should I learn for this? sed/awk/perl?

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



software suspend on 2.6.5-1-686-smp

2004-06-20 Thread Kamaraju Kusumanchi
Can someone help me how to get software suspend working on debian 
unstable machine? In particular I would like to try the hibernating 
feature. I am using default kernel-image and the 
/boot/config-2.6.5-1-686-smp has the following lines

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_SOFTWARE_SUSPEND=m
Now my question is what lines should I add to /etc/modules inorder to 
load this module? I tried running modconf, but could not find an entry 
relating swsusp. I was able to get acpi up and running though.

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



Re: intellimouse is crazy

2004-06-21 Thread Kamaraju Kusumanchi
[EMAIL PROTECTED] wrote:
Hi all...
I am geeting some troubles with a Intellimouse Ps2 in Debian Sarge 2.6.6.
Its completely crazy in graphical interface. I know i have to modify
/etc/XF86Config-4 (and I did it), but it doesnt work.
Any suggestion.
From now, thanks all.

You have to load the mousedev and psmouse modules into the kernel.Use 
modconf program (as root) to do this. Run modconf and go into 
/kernel/drivers/input and
/kernel/drivers/input/mouse and make appropriate changes. That should 
set everything.

raju
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



problems setting up hp color laserjet 4500N

2004-06-22 Thread Kamaraju Kusumanchi
Hi all
  I am having trouble setting up HP color laserjet 4500N from a debian 
unstable. The problem is that the page to be printed is shrinked to 1/4 
of the letter-sized paper. Something like


|  i   |   |
|  m   |   |
|  a   |   |
|  g   |   |
|  e   |   |
|---   |
|  |
|  |
|  |

I am using KDE control center to set up this. The steps I followed are
peripherals -> printers -> Add printer/class -> network printer (tcp) -> 
HP color laserjet series -> test

If I choose HP laser jet series instead of HP color laserjet series, the 
output is coming on a full page (without color).

How can I get color + correct sized output on a letter-sized paper for 
this printer?

thanks for any ideas
raju
--
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Lots of problems - help please

2004-06-23 Thread Kamaraju Kusumanchi
Daniel Klein wrote:
I love apt-get for the easiness of installing things, but do any of you 
have any idea what a headache it is to find out what a certain package 
is called? If there was a simple 'list everything that's installed' (and 
I'm sure there is, I just can't find it) command, that would help 
already. There's xf86config, xf86cfg, dpkg-reconfigure 
whateverIhavetotype here and the settings in KDE. This is a damn 
headache, and I'd be infinitely grateful if someone could help me with 
this.
Which version of debian? In unstable you can do
#apt-get install apt-cache apt-file
those two utilities are just wonderful and saves you helluva time. Once 
they are installed, everything is a breeze. for example

$apt-cache show gvim
netrik - text mode WWW browser with vi like keybindings
vimpart - embedded Vim text editor component for KDE
zope-externaleditor - Zope External Editor
zopeedit - Helper Application for Zope External Editor
and now to see what vimpart package is all about try
$apt-cache show vimpart
To use apt-file
#apt-file update
and then
$apt-file search vim
Perhaps you can do all this in stable and testing too. But I am just 
unaware of it.

hth
raju
--
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Lots of problems - help please

2004-06-23 Thread Kamaraju Kusumanchi
Kamaraju Kusumanchi wrote:
Daniel Klein wrote:
I love apt-get for the easiness of installing things, but do any of 
you have any idea what a headache it is to find out what a certain 
package is called? If there was a simple 'list everything that's 
installed' (and I'm sure there is, I just can't find it) command, that 
would help already. There's xf86config, xf86cfg, dpkg-reconfigure 
whateverIhavetotype here and the settings in KDE. This is a damn 
headache, and I'd be infinitely grateful if someone could help me with 
this.

Which version of debian? In unstable you can do
#apt-get install apt-cache apt-file
those two utilities are just wonderful and saves you helluva time. Once 
they are installed, everything is a breeze. for example

$apt-cache show gvim
sorry that should be
apt-cache search gvim
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



which dhcp client should be used?

2004-06-27 Thread Kamaraju Kusumanchi
I am interested in setting up my machine as a dhcp client. Doing 
apt-cache search for dhcp clients on unstable debian, I get

dhcp-client - DHCP Client
dhcp3-client - DHCP Client
dhcpcd - DHCP client for automatically configuring IPv4 networking
I would like to know which is the preferred one? What are the 
differences between these? Any documentation on these would be nice.

Apparently dhcp-client and dhcp3-client are not compatible with each 
other. Because when installing dhcp3-client, apt-get wants to remove 
dhcp-client.

regards
raju
--
Home page: http://www.people.cornell.edu/pages/kk288/index.html
Fluid's group: http://groups.yahoo.com/group/flumech/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Installing/Updating debian on a machine with no internet access

2004-08-22 Thread Kamaraju Kusumanchi
Welcome to the wonderful land of Debian :-)

> Firstly, is there any way to build a list of packages installed on my
> machine at home which includes the source from which the package was
> installed?

There definitely is.  Others may have better solution. My way is

on the 'source' machine do
dpkg --get-selections | grep -e install -e hold | grep -v deinstall > pkgs

and on the 'destination' machine do
dpkg --set-selections < pkgs
apt-get dselect-upgrade

kamaraju


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



gnumeric or oocalc

2004-09-06 Thread Kamaraju Kusumanchi
Hi all
   My intention is not to start a flamewar but to get opinions on
which spreadsheet software is better? While having choice is better, I
would prefer to start with one and stick to it if possible. In
particular I am looking for

1) things which can be done in one but cant be done in another?

2) Which is better compatible with microsoft excel?

3) which requires more memory, speed, other performance aspects?

4) which is being actively developed and has good documentation?

5) Any better spreadsheet programs out there which I have not looked at?

6) Enable some sort of scripting along with gui?

thanks for the answers
raju


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



Re: gnumeric or oocalc

2004-09-07 Thread Kamaraju Kusumanchi
On Tue, 7 Sep 2004 00:59:48 +0100, Richard Lyons <[EMAIL PROTECTED]> wrote:
> On Monday 06 September 2004 21:43, Paul Gear wrote:
> [...]
> >
> > I have another criteria which you may or may not find relevant: is it
> > cross-platform.  This is a critical issue to me, because i need to be
> > able to recommend the tool to the end users i support, and most of them
> > still use Windows or Mac.  Therefore, if there is a cross-platform
> > solution that works (i.e. OpenOffice.org), i recommend it.  I do the
> > same with browsers and email (Mozilla/Firefox/Thunderbird).
> 
> But gnumeric can read and write excel format files, so less of a problem...
> 
> --
> richard

Thanks for  all the opinions. They have been very useful.
Cross-platform performance is important to me in a different sense.
Let's say my clients are excel-only-users and I am a debian-user. We
will be exchanging data periodically with changes committed to the
file at each time (client will add some data and I will additional
data as time progresses).

Looks like the best way to achieve this is to export the data from
gnumeric into excel spreadsheet and pass it on. Thanks a lot for all
the feedback.

Another thing I noticed with gnumeric, oocalc is that oocalc seems to
have more keyboard shortcuts than gnumeric. For example, there are
commands like Alt+arrow to change the column width, height and
Alt+Shift+arrow to optimize width/height of a column in oocalc. I was
not able to find equivalent commands in gnumeric. But this is a minor
advantage I guess...

Apologies if I break the threads. I am using gmail to read the mailing
list and it is a bit clumsy with "the conversation view" as opposed to
"the thread view".

regards
raju


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



k3b is not writing multisession dvds

2004-09-08 Thread Kamaraju Kusumanchi
Hi all,
   Not exactly a debian issue, but since I am using sid, I thought I
will check up here if someone else had the same problem and solved it.

I am using k3b on sid which is upto date with apt-get. The dvds can be
written with no multissession. But when the multisession is enabled,
there is an error

Your writer (TOSHIBA DVD-ROM SD-R6112) does not support Incremental
Streaming with DVD-RW media. Multisession will not be possible.
Continue anyway?

But as you can see in
http://shopping.yahoo.com/p:Toshiba%20SD%20R6112%20DVD%20Burner:1991365927:page=details
the dvd writer is capable of writing multisession dvds. Where am I going wrong?

Are there any better softwares other than k3b which can burn
multisession dvds on this dvd burner?

thanks in advance
raju


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



  1   2   3   4   5   6   7   8   9   10   >