Re: [Ilugc] How to get client machine ip address from server

2010-02-08 Thread subhojit ojha
On Mon, Feb 8, 2010 at 11:27 AM, Bharathi Subramanian 
sbhara...@midascomm.com wrote:

 On 10:52am, subhojit ojha wrote:

  1) How to find the client machine ip hardware address which doesn't
  have any OS installed from server.

 Sorry everybody,  by mistakenly I typed ip word, actually the question is

How to find the client machine hardware address(MAC address) which doesn't
have any OS installed from server.

sorry for wrong typing, please suggest some answer
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to get client machine ip address from server

2010-02-08 Thread Mohan Sundaram
On Mon, Feb 8, 2010 at 3:45 PM, subhojit ojha subhojit.o...@gmail.com wrote:
 On Mon, Feb 8, 2010 at 11:27 AM, Bharathi Subramanian 
 sbhara...@midascomm.com wrote:

 On 10:52am, subhojit ojha wrote:

  1) How to find the client machine ip hardware address which doesn't
  have any OS installed from server.

 Sorry everybody,  by mistakenly I typed ip word, actually the question is

 How to find the client machine hardware address(MAC address) which doesn't
 have any OS installed from server.

Easiest method is one that was pointed out earlier - boot with a
liveCD. Once booted up, ifconfig should show the MAC address (assuming
the card is common enough for drivers to be loaded from the image).
Some OS needs to be running to check it out under normal
circumstances.

The other option is to try a network boot and check request on the
server side for MAC address. This needs far more knowhow than the
first.

-- Mohan Sundaram
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to get client machine ip address from server

2010-02-08 Thread Satish Eerpini
 How to find the client machine hardware address(MAC address) which doesn't
 have any OS installed from server.

If I am understanding the question right, then you want to know the ip
from a server machine to which the machine without an OS is
connected as a client. As someone above has already pointed out, how
can that machine without an OS possibly connect to a server ?

And also , I am not sure if this is possible , but can someone point
out if a machine can use a networking stack for simple communication
without having to load an entire OS kernel ( no not even a modified
kernel, just a networking software stack ). ? And if it is possible,
are their any software stacks already available which do this ?

Cheers
Satish
-- 
VIT Lug, Vellore
http://tuxitter.blogspot.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to get client machine ip address from server

2010-02-08 Thread Raman.P

--- On Mon, 8/2/10, Mohan Sundaram mohan@gmail.com wrote:

 The other option is to try a network boot and check request
 on the
 server side for MAC address. This needs far more knowhow
 than the
 first.
It is not necessary to check server. It will be displayed while searching. 
However it will be for a short duration. So best way is
a.Goto bios. Enable pxe boot.
b.In Boot device priority set only pxe boot. disable all others.
c. disable booting from other devices.
Now the system will endlessly wait for dhcp reply showing the MAC address.

This is the technic I follow for intalling new thinclients.

Raman.P
blog:http://ramanchennai.wordpress.com/



  Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! 
http://downloads.yahoo.com/in/internetexplorer/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to get client machine ip address from server

2010-02-08 Thread Raman.P

--- On Mon, 8/2/10, Satish Eerpini eerp...@gmail.com wrote:
 If I am understanding the question right, then you want to
 know the ip
 from a server machine to which the machine without an OS
 is
 connected as a client. As someone above has already pointed
 out, how
 can that machine without an OS possibly connect to a
 server ?
 
 And also , I am not sure if this is possible , but can
 someone point
 out if a machine can use a networking stack for simple
 communication
 without having to load an entire OS kernel ( no not even a
 modified
 kernel, just a networking software stack ). ? And if it is
 possible,
 are their any software stacks already available which do
 this ?
A client can take IP address, communicate with server without OS. This is what 
pxe/ether boot does. pxe/etherboot does following
a.send dhcp request
b.obtain ip address,gate way, next-server address etc.
c.fetch kernel from next-server using tftp.
d.execute the kernel

I don't think people consider pxe/etherboot as OS.

Raman.P
blog:http://ramanchennai.wordpress.com/



  Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! 
http://downloads.yahoo.com/in/internetexplorer/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Saravanan S
Hi all,
  Can any suggest a open-source Linux / some OS project that has a
good documentation on compiling every integral part of it and getting the
same fully functional iso image/ stuff that is readily available otherwise.
Most of such projects lack documentation especially on compiling everything
from source. Few are deliberately placing the src contents scattered, that
further adds to the complexity.
Is there any such really Open-Source Project on this regard?


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] OAOD (APTonCD)

2010-02-08 Thread Dhastha Gheer
Application: APTonCD

What it is:

APTonCD is an application that backs up all of your packages
downloaded from apt-get or aptitude onto a CD or a DVD. This is
perfect if you ever lose an internet connection or if you want to
quickly install new operating systems without having to remember a
long list of packages you needed to install.

Features:

YOu can also add .deb packages manually with the add package feature,
or by dragging them in from Nautilus.
Ability to create a meta-package with all of the packages you have
installed. This makes it easy to trick out a new Ubuntu installation
with a single command. This might be a good way to replace Automatix
with your own custom solution.

To know more about:

http://aptoncd.sourceforge.net/

To install:

sudo apt-get install aptoncd
-- 
 நன்றி ,

 தஸ்தகீர்.அ

 Kanchi Linux User Group Rocks !

 http://kanchilug.wordpress.com

 My Works on Linux

 http://dowithlinux.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Raja Subramanian
On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com wrote:
          Can any suggest a open-source Linux / some OS project that has a
 good documentation on compiling every integral part of it and getting the
 same fully functional iso image/ stuff that is readily available otherwise.

www.gentoo.org

- Raja
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Mohan Sundaram
On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com wrote:
 Hi all,
          Can any suggest a open-source Linux / some OS project that has a
 good documentation on compiling every integral part of it and getting the
 same fully functional iso image/ stuff that is readily available otherwise.
 Most of such projects lack documentation especially on compiling everything
 from source. Few are deliberately placing the src contents scattered, that
 further adds to the complexity.
 Is there any such really Open-Source Project on this regard?

Have you tried Linux From Scratch? LFS may not help you with src
locations though.

-- Mohan Sundaram
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread benjamin
lfs?

benjamin
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Rajagopal Swaminathan
Greetings,

On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com wrote:
 Hi all,
          Can any suggest a open-source Linux / some OS project that has a
 good documentation on compiling every integral part of it and getting the
 same fully functional iso image/ stuff that is readily available otherwise.
 Most of such projects lack documentation especially on compiling everything
 from source. Few are deliberately placing the src contents scattered, that
 further adds to the complexity.
 Is there any such really Open-Source Project on this regard?


http://www.google.co.in/search?q=making+a+custom+distroie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a

That said, I had come across one such project where you select the
packages you want and the distro is built. I will post it when I am
able rummage thru my huge bunch of bookmarks.

rpath is somewhat like that i believe.

http://www.rpath.org/ui/

HTH

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Rajagopal Swaminathan
Greetings,


On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com wrote:
 Hi all,
 Is there any such really Open-Source Project on this regard?

Ah!, There you have it

http://en.opensuse.org/Build_Service

It also features services that enable compilation and packaging for
the other Linux distributions, like Fedora, Debian, Ubuntu, and many
more.

Have fun and leave the building process and dependency resolution to
the moster machines sitting in large datacenters of Big companies :)

Say thanks and a smiley if you found what you are looking for.. ;)

HTH

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Rajagopal Swaminathan
Greetings,


On Mon, Feb 8, 2010 at 4:35 PM, Rajagopal Swaminathan
raju.rajs...@gmail.com wrote:
 Greetings,


 On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com wrote:
 Is there any such really Open-Source Project on this regard?


and if you are willing to shell out some money, have a go at

http://susestudio.com/

 Have fun and leave the building process and dependency resolution to
 the moster machines sitting in large datacenters of Big companies :)

 Say thanks and a smiley if you found what you are looking for.. ;)


and you got an answer with 30 mins... mindit :)

aah the wonderpower of community...

HTH

Cheers!

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Saravanan S
On Mon, Feb 8, 2010 at 4:35 PM, Rajagopal Swaminathan 
raju.rajs...@gmail.com wrote:

 Greetings,


 On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com
 wrote:
  Hi all,
  Is there any such really Open-Source Project on this regard?

 Ah!, There you have it

 http://en.opensuse.org/Build_Service

 It also features services that enable compilation and packaging for
 the other Linux distributions, like Fedora, Debian, Ubuntu, and many
 more.

 Have fun and leave the building process and dependency resolution to
 the moster machines sitting in large datacenters of Big companies :)

 Say thanks and a smiley if you found what you are looking for.. ;)


Sweet! Thanks for your effort. ;)

But, Kindly note that I am not talking about re-mastering alone, But some
thing well beyond re-mastering.
Mm, Not necessarily a distro Project, also any such open-source project that
provide good documentation on compilation's steps with appropriate
parameters, etc.

Have any one tried compiling popular open source projects from source like
Firefox, etc.


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Saravanan S
On Mon, Feb 8, 2010 at 4:19 PM, benjamin benjamin...@gmail.com wrote:

 lfs?

 LFS -- Linux From Scratch


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread benjamin
On Mon, Feb 8, 2010 at 4:47 PM, Saravanan S dearsarava...@gmail.com wrote:
 On Mon, Feb 8, 2010 at 4:19 PM, benjamin benjamin...@gmail.com wrote:

 lfs?

 LFS -- Linux From Scratch

Thanks. It  was my answer  to you to be read as  how about lfs?.
Mohan's reply came just as I hit send.

-- 
benjamin rualthanzauva
http://friendfeed.com/rualthan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Rajagopal Swaminathan
Greetings,

On Mon, Feb 8, 2010 at 4:43 PM, Saravanan S dearsarava...@gmail.com wrote:
 On Mon, Feb 8, 2010 at 4:35 PM, Rajagopal Swaminathan 
 raju.rajs...@gmail.com wrote:

 Greetings,


 On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com
 wrote:
  Hi all,
  Is there any such really Open-Source Project on this regard?
 Sweet! Thanks for your effort. ;)

 But, Kindly note that I am not talking about re-mastering alone, But some
 thing well beyond re-mastering.
 Mm, Not necessarily a distro Project, also any such open-source project that
 provide good documentation on compilation's steps with appropriate
 parameters, etc.

 Have any one tried compiling popular open source projects from source like
 Firefox, etc.


I thought .spec file was for that purpose...

Have you gone thru the susestudio video tour?

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] How to hide port number in apache2 ?

2010-02-08 Thread Dinesh Kumar Rajagopal
Hai ilugc,

   In httpd 2.2.11, we need to hide port number 445 in url. Is it
possible ?

regrades,
R Dinesh Kumar
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread S. Senthil Anand
Hello,

 Mm, Not necessarily a distro Project, also any such open-source project
 that
 provide good documentation on compilation's steps with appropriate
 parameters, etc.
 Have any one tried compiling popular open source projects from source like
 Firefox, etc.

Not a hard job. Dependencies can be a pain.

You can also try pkgsrc which is NetBSD's answer for cross platform OS
agnostic package building. You can find all the configuration flags of an
application in the corresponding pkgsrc makefiles. I have personally used
it in various Linux distros, FreeBSD, NetBSD, OpenBSD and DragonflyBSD at
various times mainly to benchmark stuff.

Regards,
Senthil




___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to hide port number in apache2 ?

2010-02-08 Thread Srikanth Lakshmanan
On Mon, Feb 8, 2010 at 4:55 PM, Dinesh Kumar Rajagopal dinesha...@gmail.com
 wrote:

 Hai ilugc,

   In httpd 2.2.11, we need to hide port number 445 in url. Is it
 possible ?


Check out mod_proxy http://httpd.apache.org/docs/2.0/mod/mod_proxy.html

-- 
Regards
Srikanth.L
http://j.mp/SrikanthL
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to hide port number in apache2 ?

2010-02-08 Thread Dinesh Kumar Rajagopal
Yes i have forwarded the request from 443 to 445 but it can't ssl
certificate

 NameVirtualHost *:445

virtualhost *:445
ServerAdmin webmas...@test
ServerName  *
RewriteEngine on
SSLEngine On
SSLCertificateFile
/usr/local/apache2/conf/ssl.crt/server_2protect.crt
SSLCertificateKeyFile
/usr/local/apache2/conf/ssl.key/server_2protect.key
   /virtualhost

virtualhost *:443
ServerAdmin webmas...@test
ServerName  *
DocumentRoot /var/www/html
SSLProxyEngine on
RewriteEngine on
ProxyPass / https://2protectyourself.nightly.voiceicon.com:445/
ProxyPassReverse / https://2protectyourself.nightly.voiceicon.com:445/
   /virtualhost


On 8 February 2010 17:22, Srikanth Lakshmanan logic.li...@gmail.com wrote:

 On Mon, Feb 8, 2010 at 4:55 PM, Dinesh Kumar Rajagopal 
 dinesha...@gmail.com
  wrote:

  Hai ilugc,
 
In httpd 2.2.11, we need to hide port number 445 in url. Is it
  possible ?
 

 Check out mod_proxy http://httpd.apache.org/docs/2.0/mod/mod_proxy.html

 --
 Regards
 Srikanth.L
 http://j.mp/SrikanthL
 ___
 ILUGC Mailing List:
 http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to hide port number in apache2 ?

2010-02-08 Thread Dinesh Kumar Rajagopal
Sorry it can't find ssl certificate.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


RE: [Ilugc] kernel build option - ramdisk

2010-02-08 Thread Suresh Kumar Subramanian
Hi,

The initrd image usually contains some drivers that are not built-in
the kernel, and required to access hardware when the kernel boots.
But, one can also use the initrd image as a filesystem image (root
filesystem directories from busybox, for example) that can be booted
with the kernel to give the end user a shell prompt to work with --
like the use of a LiveCD/DVD running entirely on RAM that has both
kernel and initrd filesystem image.

Thanks for clarification. Still I have some couple of question.
1) So initrd is first file which executes first in the boot process (if 
present) . Am I correct?
2) There are so many variances in the kernel image file (vmlinuz, bzImage, 
zImage, etc). What is the difference? How do we build each?

I may be stupid, But just want to clarify initrd is the ramdisk correct?

Thanks.
Suresh




___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Saravanan S
On Mon, Feb 8, 2010 at 5:03 PM, S. Senthil Anand senth...@au-kbc.orgwrote:

 Hello,

  Mm, Not necessarily a distro Project, also any such open-source project
  that
  provide good documentation on compilation's steps with appropriate
  parameters, etc.
  Have any one tried compiling popular open source projects from source
 like
  Firefox, etc.

 Not a hard job. Dependencies can be a pain.

 You can also try pkgsrc which is NetBSD's answer for cross platform OS
 agnostic package building. You can find all the configuration flags of an
 application in the corresponding pkgsrc makefiles. I have personally used
 it in various Linux distros, FreeBSD, NetBSD, OpenBSD and DragonflyBSD at
 various times mainly to benchmark stuff.


Gd info Senthil, but similar issue i came across few days back about
dependencies.


Is pkgsrc such tool??, to find all the dependency library files/ bin files /
files that are required for the application that has its contents inside a
directory?

To be simple, is there any such ldd command for all files/ sub-directories
of a directory specified, not just for libraries but also for all
dependencies ???

Or how to make an application *absolutely* portable in Linux environment ???


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Connecting to projector in HCL Laptop

2010-02-08 Thread Joe Steeve
Bharathi Subramanian sbhara...@midascomm.com writes:
 Try with grandr (GUI frontend for XRandR).

This is new :)

'xrandr --auto' has always worked for me.

-- 
.o. I'm a Free man. I use Free Software.
..o
ooo http://www.joesteeve.org/


pgpg9K3qilVA9.pgp
Description: PGP signature
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread S. Senthil Anand
 On Mon, Feb 8, 2010 at 5:03 PM, S. Senthil Anand

 Is pkgsrc such tool??, to find all the dependency library files/ bin files
 /
 files that are required for the application that has its contents inside a
 directory?


You get a application directory with a Makefile and a few patches. The
makefile clearly says what are the other packages which are needed to
build the software and then to run the software [these need not be
identical eg. to build C++ programs you need g++ but to run it you need
libstdc++ and not g++.] Each of those packages will have their own
Makefile etc. When you run make install, make will take care of building
all the required dependencies recursively by downloading the source code
and building them in the required order. FreeBSD and OpenBSD ports, and
Gentoo's portage which is inspired by FreeBSD ports works similarly.

If you want to simply view dependencies, go to http://pkgsrc.se and see if
the software you want is there. You will get the complete dependency
information for a package in pkgsrc under all supported platforms.

 To be simple, is there any such ldd command for all files/ sub-directories
 of a directory specified, not just for libraries but also for all
 dependencies ???

I am not aware of a single tool like ldd to display all the dependencies
recursively. You can probably write a tool to walk through the dependency
graph of a package for the various package managers you are interested in.
For me the dependencies tab in synaptic is good enough.

 Or how to make an application *absolutely* portable in Linux environment
 ???

For source portability, pkgsrc or portage will take care of the stuff. For
binary portability within a same architecture ie. i686 (betwwen
distributions of the same architecture) , you need to statically compile
your program + dependencies eg. Opera. Binary compatibilty between
architectures ie. i686 and arm for example, is not feasible unless you go
for something like MacOS's universal binaries which is not used anywhere
in Linux land.

Regards,
Senthil


___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] kernel build option - ramdisk

2010-02-08 Thread Shakthi Kannan
Hi,

--- On Mon, Feb 8, 2010 at 2:26 PM, Suresh Kumar Subramanian
sureshkuma...@carc.co.in wrote:
| So initrd is first file which executes first in the boot process (if
present) . Am I correct?
\--

'File that executes'? The initrd is loaded onto RAM, and its starting
location is passed to the kernel, so it will treat is as any other
block device, and use its contents.

---
| 2) There are so many variances in the kernel image file (vmlinuz,
bzImage, zImage, etc).
| What is the difference?
\--

I would assume they use different compression algorithms.

---
| How do we build each?
\--

The Makefile that builds the kernel has specific targets to build
these images. For example (x86):

  http://lxr.linux.no/#linux+v2.6.32/arch/x86/Makefile

So, just doing 'make bzImage' (default) would build the bzImage.

---
| I may be stupid,
\--

You are not. You are just ignorant, and feel free to ask questions. It
also helps to do some homework before you ask such questions using a
search engine (Google, for example), as you will find answers to such
questions online.

---
| But just want to clarify initrd is the ramdisk correct?
\--

Yes.

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Saravanan S
Hi Senthil,

On Mon, Feb 8, 2010 at 6:56 PM, S. Senthil Anand senth...@au-kbc.orgwrote:

  On Mon, Feb 8, 2010 at 5:03 PM, S. Senthil Anand

  Is pkgsrc such tool??, to find all the dependency library files/ bin
 files
  /
  files that are required for the application that has its contents inside
 a
  directory?
 

 You get a application directory with a Makefile and a few patches. The
 makefile clearly says what are the other packages which are needed to
 build the software and then to run the software [these need not be
 identical eg. to build C++ programs you need g++ but to run it you need
 libstdc++ and not g++.] Each of those packages will have their own
 Makefile etc. When you run make install, make will take care of building
 all the required dependencies recursively by downloading the source code
 and building them in the required order. FreeBSD and OpenBSD ports, and
 Gentoo's portage which is inspired by FreeBSD ports works similarly.

 If you want to simply view dependencies, go to http://pkgsrc.se and see if
 the software you want is there. You will get the complete dependency
 information for a package in pkgsrc under all supported platforms.

  To be simple, is there any such ldd command for all files/
 sub-directories
  of a directory specified, not just for libraries but also for all
  dependencies ???

 I am not aware of a single tool like ldd to display all the dependencies
 recursively. You can probably write a tool to walk through the dependency
 graph of a package for the various package managers you are interested in.
 For me the dependencies tab in synaptic is good enough.

  Or how to make an application *absolutely* portable in Linux environment
  ???

 For source portability, pkgsrc or portage will take care of the stuff. For
 binary portability within a same architecture ie. i686 (betwwen
 distributions of the same architecture) , you need to statically compile
 your program + dependencies eg. Opera. Binary compatibilty between
 architectures ie. i686 and arm for example, is not feasible unless you go
 for something like MacOS's universal binaries which is not used anywhere
 in Linux land.


Thanks for the eye-opening guidelines. Credits to your impressive
cognizance. :)
BTW, about ldd,

ldd - list  dynamic  dependencies  of  executable  files  or shared objects

http://wwwcgi.rdg.ac.uk:8081/cgi-bin/cgiwrap/wsi14/poplog/man/1/ldd


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] It's not an rpm file | command not found while installing rpm in RHEL-5.X

2010-02-08 Thread guitar vasu
Dear Luggies,
I'm unable to install an rpm file in RHEL-5.X, kindly do let me know how to
overcome with the below difficulties.


[r...@dg60 tmp] # rpm -ivh yum-3.2.8-1.rpm
bash: it's not an rpm file


when i tried to install the same using rpm build command, it shows like...

===
 [r...@dg606 tmp]# rpmbuild --rebuild yum-3.2.8-1.src.rpm
bash: rpmbuild: command not found

Warm Regards
vasu


-- 

உடல் மண்ணுக்கு, என் உயிர் தமிழுக்கு!
~~
பச்சை தமிழன்,
இரா. க. வாசுதேவன் .
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] It's not an rpm file | command not found while installing rpm in RHEL-5.X

2010-02-08 Thread Saravanan S
On Mon, Feb 8, 2010 at 8:19 PM, guitar vasu wrote:

 [r...@dg60 tmp] # rpm -ivh yum-3.2.8-1.rpm
 bash: it's not an rpm file


Simple, its not an RPM file. May be corrupted.

 [r...@dg606 tmp]# rpmbuild --rebuild yum-3.2.8-1.src.rpm
 bash: rpmbuild: command not found


You must install the rpm-build package:
yum install rpm-build


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545

http://in.linkedin.com/in/saravanansundaramoorthy
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] It's not an rpm file | command not found while installing rpm in RHEL-5.X

2010-02-08 Thread Mehul Ved
On Mon, Feb 8, 2010 at 8:19 PM, guitar vasu guitarv...@gmail.com wrote:
 Dear Luggies,
 I'm unable to install an rpm file in RHEL-5.X, kindly do let me know how to
 overcome with the below difficulties.

 
 [r...@dg60 tmp] # rpm -ivh yum-3.2.8-1.rpm
 bash: it's not an rpm file
 

Did you just rename yum-3.2.8-1.src.rpm to yum-3.2.8-1.rpm? What does
the following command return
file yum-3.2.8-1.rpm

 when i tried to install the same using rpm build command, it shows like...

 ===
  [r...@dg606 tmp]# rpmbuild --rebuild yum-3.2.8-1.src.rpm
 bash: rpmbuild: command not found
 ===

http://www.linuxquestions.org/questions/showthread.php?p=3081635#post3081635
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Need to Learn ply or pycparser

2010-02-08 Thread Balachandar
Hi guys,
As a part of my project i need to parse a c source code into tokens.I 
need 
to process the tokens to identify some predefined patterns.I searched in google 
and got some suggestions about pycparser and ply.But I am puzzled how to work 
with ply or pycparser.Please help me guys ..How can i get a kickstart in this..

___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Ubuntu Perspectives: Signs of Change

2010-02-08 Thread narendra sisodiya
-- a must read article by Roy --
UBUNTU is an important part of the GNU/Linux family and we defend it
at every chance, always giving it the benefit of the doubt. Some
readers pressure us to change the tune, which would be hard and
counter-productive. I have personally used Ubuntu at some capacity
since its very first release (which I was using at work).

In the interest of presenting
perspectihttp://boycottnovell.com/2010/02/08/analysis-canonical-2010/ves
of other people and showing Canonical where it can improve, this post
accumulates mostly criticisms of the company’s latest moves.
more at http://boycottnovell.com/2010/02/08/analysis-canonical-2010/
-- 
┌─┐
│Narendra Sisodiya ( नरेन्द्र सिसोदिया )
│Society for Knowledge Commons
│Web : http://narendra.techfandu.org
└─┘
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Serial Communication - Mark/Space parity problem

2010-02-08 Thread M.Ganesh

Hi All,

I am trying to use python  pyserial on Ubuntu 9.10 to communicate with 
a serial device. I need to be able to set the parity bit Mark/Space for 
this particular device. I understand linux/posix compliant OSs don't 
natively support this. I googled and found this 
[http://www.lothosoft.ch/thomas/libmip/markspaceparity.php] link and 
implemented that in my code. With this I am able to send only one byte 
with my desired parity and the port somehow goes back to 'No parity' 
after one byte.


I am able to do that with python in Windows

Can somebody suggest me a solution or point me to more resources

Thanks in advance

--
Regards Ganesh
PULSARS

___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Need to Learn ply or pycparser

2010-02-08 Thread Rajagopal Swaminathan
Greetings,

On Mon, Feb 8, 2010 at 10:51 PM, Balachandar balachandarli...@gmail.com wrote:
 Hi guys,
    As a part of my project i need to parse a c source code into tokens.I 
 need
 to process the tokens to identify some predefined patterns.I searched in 
 google
 and got some suggestions about pycparser and ply.But I am puzzled how to work
 with ply or pycparser.Please help me guys ..How can i get a kickstart in 
 this..



Bison, Lex?

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] help me...

2010-02-08 Thread Anitha ani
hello , i,m anitha ,my  final year project is tagging:social
filtering for personalized bookmarks i'm doin tat in java/j2ee , and
i'm accesin datas from delicious server which is a bookmarkin site.. i
need to do filterin in tat.. is there any open source  fitering tool
available..can anybody help me 
















...anitha
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] [UbuntuWomen] International Women's Day -- Competition!

2010-02-08 Thread Shrinivasan T
Hi,

Ubuntu Women is running an essay competition on how women get into ubuntu linux.

Any female can send article.

Read further here.

http://www.geekosophical.net/?p=423

https://lists.ubuntu.com/archives/ubuntu-women/2010-January/002406.html


-- 
Regards,
T.Shrinivasan


My experiences with Linux are here
http://goinggnu.wordpress.com

For Free and Open Source Jobs
http://fossjobs.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] help me...

2010-02-08 Thread Vamsee Kanakala

Anitha ani wrote:

hello , i,m anitha ,my  final year project is tagging:social
filtering for personalized bookmarks i'm doin tat in java/j2ee , and
i'm accesin datas from delicious server which is a bookmarkin site.. i
need to do filterin in tat.. is there any open source  fitering tool
available..can anybody help me 
  


Sorry if this is going to come off as rude, but you really need to get 
rid of that sms-speak when mailing a technical forum. Some of us are 
crusty old fellows here, so we might not be clued into your teen lingo.


Next, you can probably tell us what exactly you want to filter from 
the data retrieved. If it's simple, you might not need a separate 
filtering tool, you could write it yourself.


Vamsee.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] help me...

2010-02-08 Thread Asokan Pichai
On Tue, Feb 9, 2010 at 8:26 AM, Vamsee Kanakala vkanak...@gmail.com wrote:
 Anitha ani wrote:

 hello , i,m anitha ,my  final year project is tagging:social
 filtering for personalized bookmarks i'm doin tat in java/j2ee , and
 i'm accesin datas from delicious server which is a bookmarkin site.. i
 need to do filterin in tat.. is there any open source  fitering tool
 available..can anybody help me 


 Sorry if this is going to come off as rude, but you really need to get rid
 of that sms-speak when mailing a technical forum.

+1

 Some of us are crusty old
 fellows here, so we might not be clued into your teen lingo.

+10

-- 
Asokan Pichai
*---*
We will find a way. Or, make one. (Hannibal)
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] How to communicate from windows host to Linux Guest via QEMU

2010-02-08 Thread Saravanan S
Hi all,
   How to communicate between windows host and Linux Guest that runs
inside QEMU. i.e. {{ QEMU runs Linux }} on Windows. platform.


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] help me...

2010-02-08 Thread sivakumar bharadhwaj
*Respected All*,

I may be wrong to react to this mail - in the format (not for the content -
since I am not a software programmer), if so please forgive me.

Madam Anita could have written in this group - with a little more attention
to english.  I dont think that she will prepare a CV to a MNC or Infosys
etc, with such indifference to the presentation.

I could easily believe that she knows the language well to write to this
group / forum in a more disciplined way.

I could easily accept and welcome those - who sincerely try to write to this
group with the best use of the english which they knew.

I am sorry, but could not control myself to put my anger in this. It is
because that I really respect this group.

If this is not permitted, i request the moderator to cut this mail from me.

with regards
sivakumar
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] help me...

2010-02-08 Thread Roshan Mathews
On Tue, Feb 9, 2010 at 09:45, sivakumar bharadhwaj calms...@gmail.com wrote:
 I could easily accept and welcome those - who sincerely try to write to this
 group with the best use of the english which they knew.

 I am sorry, but could not control myself to put my anger in this. It is
 because that I really respect this group.

Vamsee asked her, rather politely, to use regular English instead of
sms-speak so that people might actually read her message and maybe
help her out.  He also asked for clarifications which might help
answer her questions.  Why should that make you angry?  Is it wrong to
ask people to be careful about language while mailing the group?  He
was trying to help, unlike you.

Chill out, there's no need to get angry about two people trying to
have a technical conversation.  :)

 If this is not permitted, i request the moderator to cut this mail from me.

How?  This is an unmoderated group, your mail has already gone out to
all subscribers.

Now, with my mail, we've hijacked this thread, which is rather unfortunate.

Anitha, you should reply to Vamsee's mail, since filtering is too
vague to understand what you're saying.

Roshan Mathews
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Talks

2010-02-08 Thread Ravi Jaya
On Mon, Feb 8, 2010 at 1:33 PM, Asokan Pichai paso...@gmail.com wrote:

 I can speak about the FOSSEE project may be 30 mts?

People, can avoid top posting in the list.



-- 
Ravi Jaya

Mobile: +91 97909 16181
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Need your suggestion regarding website running in Debian 5.0

2010-02-08 Thread Zico
Hi, i need to use three services from one server. First one is DSpace,
Second one is KOHA and third one is some contents of a website which is
linked with KOHA. Now, the problem is: I put every contents of my website in
/var/www/ of that server. But, when i tries to access the index.html page
of this website, KOHA tries to access that and that website`s page don`t
come and KOHA shows error.

Say:

I entered: http://dspace.abc.edu/ -- it comes ok
I entered: http://koha.abc.edu/ -- it comes ok

But,

If i entered: http://koha.abc.edu/about_library.html -- it don`t find the
about_library.html of /var/www/about_library.html... instead it finds
http://koha.abc.edu/homepage.html ... this homepage.html is the default
page of KOHA server which is installed in /usr/local/koha/config/

Can you suggest me anything?

-- 
Best,
Zico
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Command to get the inode information

2010-02-08 Thread rajkumar vbalakrishnasamy
All,
 I am doing project in Linux file security for that we need to get
the entire  inode information and hide it.So  how get the entire inode
information  and is there any command to get the entire inode
information.Thanking you.

Regards,
B.Rajkumar
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Command to get the inode information

2010-02-08 Thread Saravanan S
On Tue, Feb 9, 2010 at 6:15 AM, rajkumar vbalakrishnasamy 
rajkumar.l...@gmail.com wrote:

 All,
 I am doing project in Linux file security for that we need to get
 the entire  inode information and hide it.So  how get the entire inode
 information  and is there any command to get the entire inode
 information.Thanking you.

 http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Guess you are aware of  ls -i

or try

stat filename

and

inode usage is available via df with -i switch
which lists inode information :)

HTH :)

Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545

http://in.linkedin.com/in/saravanansundaramoorthy
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] block the particular site in squid

2010-02-08 Thread kannan kesavan
hi guys
how to block the particular sites in squid proxy server on centos 5.3?
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] block the particular site in squid

2010-02-08 Thread steve

On 02/09/2010 11:55 AM, kannan kesavan wrote:

how to block the particular sites in squid proxy server on centos 5.3?

You can start by using google.

cheers,
- steve
--
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] block the particular site in squid

2010-02-08 Thread Mehul Ved
On Tue, Feb 9, 2010 at 12:08 PM, steve st...@lonetwin.net wrote:
 On 02/09/2010 11:55 AM, kannan kesavan wrote:

 how to block the particular sites in squid proxy server on centos 5.3?

 You can start by using google.

Maybe he wants to block google ;-)

This may help him
http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] block the particular site in squid

2010-02-08 Thread Saravanan S
All you need is to update/add a Access control list entry (ACL) pertaining
to the Squid Configuration.


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545

http://in.linkedin.com/in/saravanansundaramoorthy
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to communicate from windows host to Linux Guest via QEMU

2010-02-08 Thread steve

On 02/09/2010 09:21 AM, Saravanan S wrote:

Hi all,
How to communicate between windows host and Linux Guest that runs
inside QEMU. i.e. {{ QEMU runs Linux }} on Windows. platform.

Surprisingly enough the answer for this is quite similar to the answer to 
another question asked today on this list. Search for the post with the subject 
block the particular site in squid and be enlightened.


cheers,
- steve
--
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to communicate from windows host to Linux Guest via QEMU

2010-02-08 Thread Saravanan S
On Tue, Feb 9, 2010 at 12:15 PM, steve st...@lonetwin.net wrote:

 On 02/09/2010 09:21 AM, Saravanan S wrote:

 Hi all,
How to communicate between windows host and Linux Guest that
 runs
 inside QEMU. i.e. {{ QEMU runs Linux }} on Windows. platform.

  Surprisingly enough the answer for this is quite similar to the answer to
 another question asked today on this list. Search for the post with the
 subject block the particular site in squid and be enlightened.


Thanks, i did and couldn't get the required solution, I want to communicate
data in plain text from the host OS to guest OS and vice versa via QEMU .


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to get client machine ip address from server

2010-02-08 Thread subhojit ojha
 A client can take IP address, communicate with server without OS. This is
 what pxe/ether boot does. pxe/etherboot does following
 a.send dhcp request
 b.obtain ip address,gate way, next-server address etc.
 c.fetch kernel from next-server using tftp.
 d.execute the kernel

 I don't think people consider pxe/etherboot as OS.


I think it may be the solution, actually what the interviewer has asked is,
suppose in my network we have some systems which doesn't have OS installed
but are connected to the server machine, from server machine how can he find
the hardware address of the client machine which doesn't have any OS
installed. I hope the PXE will be the solution what u have suggested, but in
server side what command I need to run to get the hardware address of these
client machine without going to the client side.
Please suggest also some good links for PXE.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Talks

2010-02-08 Thread subhojit ojha
 Hi All,

 ILUGC monthly meet is scheduled on Sat Feb 13th 3PM at IITM. Anybody
 willing to give a talk in this meet, Plz mail to the list or to me.


I need to know whether any body is going to give talk regarding Xen or KVM.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Talks

2010-02-08 Thread Kenneth Gonsalves
On Tuesday 09 Feb 2010 12:46:24 pm subhojit ojha wrote:
  Hi All,
 
  ILUGC monthly meet is scheduled on Sat Feb 13th 3PM at IITM. Anybody
  willing to give a talk in this meet, Plz mail to the list or to me.
 
 I need to know whether any body is going to give talk regarding Xen or KVM.
 

why don't you do so? ok, maybe you are not an expert, but you must know 
something about them - so share your knowledge, and maybe  some expert will 
jump up to help you out. The LUG is meant for new people to get up and talk.
-- 
regards
kg
http://lawgon.livejournal.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to get client machine ip address from server

2010-02-08 Thread Shrinivasan T
Hi,

 but in
 server side what command I need to run to get the hardware address of these
 client machine without going to the client side.

It is not possible.

If there is no OS in client side, you wont boot it.
It is like you want to know a number of a mobile phone
which is switched off and there is no sim card.

Not all the questions asked in the interview are valid or have hansers.
No also the correct answer.

-- 
Regards,
T.Shrinivasan


My experiences with Linux are here
http://goinggnu.wordpress.com

For Free and Open Source Jobs
http://fossjobs.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to get client machine ip address from server

2010-02-08 Thread Raman.P

--- On Tue, 9/2/10, subhojit ojha subhojit.o...@gmail.com wrote:

 I think it may be the solution, actually what the
 interviewer has asked is,
 suppose in my network we have some systems which doesn't
 have OS installed
 but are connected to the server machine, from server
 machine how can he find
 the hardware address of the client machine which doesn't
 have any OS
 installed. I hope the PXE will be the solution what u have
 suggested, but in
 server side what command I need to run to get the hardware
 address of these
 client machine without going to the client side.
 Please suggest also some good links for PXE.
Here 'connected' is too vague.Is it just physical connection or something like 
tftp?. Possible ways
a.Have arp tools like arpwatch. 
b.If the clients send request then dhcp log will have mac address
c.Better may be what ettercap does. Ettercap (and many more) is tool
  for packetsniffing. It sends ARP ping or some such technique to get all mac 
address.
However, how to link a particular mac with a machine should be very difficult 
unless you have only one machine. 

For pxe look at etherboot project pages.

Raman.P
blog:http://ramanchennai.wordpress.com/




  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to get client machine ip address from server

2010-02-08 Thread Raman.P


--- On Tue, 9/2/10, Shrinivasan T tshriniva...@gmail.com wrote:

 From: Shrinivasan T tshriniva...@gmail.com
 Subject: Re: [Ilugc] How to get client machine ip address from server
 To: ILUG-C ilugc@ae.iitm.ac.in
 Date: Tuesday, 9 February, 2010, 12:56 PM
 Hi,
 
  but in
  server side what command I need to run to get the
 hardware address of these
  client machine without going to the client side.
 
 It is not possible.


Yes it is possible. Etherboot/pxe does it. See discussions before.
 
 If there is no OS in client side, you wont boot it.
 It is like you want to know a number of a mobile phone
 which is switched off and there is no sim card.
 
 Not all the questions asked in the interview are valid or
 have hansers.
 No also the correct answer.

Always it better to say don't know than knowingly giving wrong answer.
 

Raman.P
blog:http://ramanchennai.wordpress.com/



  Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! 
http://downloads.yahoo.com/in/internetexplorer/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc