Re: [ilugd] Multiple installable distributions on a USB

2012-12-10 Thread Raj Mathur (राज माथुर)
On Tuesday 11 Dec 2012, Balwinder S Dheeman wrote:
> On 12/10/2012 09:15 PM, Raj Mathur (राज माथुर) wrote:
> > On Monday 10 Dec 2012, Balwinder S Dheeman wrote:
> >> On 12/10/2012 12:29 PM, Raj Mathur (राज माथुर) wrote:
> >>> The subject more or less says it all :)
> >> 
> >> I use grub2 for booting off of a USB/SD-Card and the following are
> >> a few of the relevant entries what I have in /boot/grub/grub.cfg
> > 
> > Thanks, that's helpful, but still a tad too much work.  I've found
> > enough Winduhs tools for doing this, am surprised there's nothing
> > equivalent for Linux.
> 
> [bsd@mon ~]$ aptitude show grub-rescue-pc
> Homepage: http://www.gnu.org/software/grub/

Nono, I meant stuff like on:

http://www.pendriveapps.com/software/live-usb/ .  Yumi, for instance, is 
almost exact;y what I need apart from the platform it runs on, as is 
MultiBoot.

*Sigh* back to the drawing board.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Multiple installable distributions on a USB

2012-12-10 Thread Raj Mathur (राज माथुर)
On Monday 10 Dec 2012, Balwinder S Dheeman wrote:
> On 12/10/2012 12:29 PM, Raj Mathur (राज माथुर) wrote:
> > The subject more or less says it all :)
> 
> I use grub2 for booting off of a USB/SD-Card and the following are a
> few of the relevant entries what I have in /boot/grub/grub.cfg

Thanks, that's helpful, but still a tad too much work.  I've found 
enough Winduhs tools for doing this, am surprised there's nothing 
equivalent for Linux.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Multiple installable distributions on a USB

2012-12-09 Thread Raj Mathur (राज माथुर)
The subject more or less says it all :)

I want to be able to take a, say, 16GB USB pendrive and put multiple 
distribution install ISOs onto it.  Is there a utility that will do 
this, create a nice boot menu that allows you to select the distribution 
of your choice, and then run the installer of that distribution?

Ideally it would also let you load live images, so you can have ready-
made forensics, recovery, etc. tools available on the same USB.

unetbootin and similar tools are installers, nowhere near what I need.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Database Management My Sql

2012-11-07 Thread Raj Mathur (राज माथुर)
On Wednesday 07 Nov 2012, Raakesh kumar wrote:
> Dear All,
> I am working on a project which is live for some gaming purpose. My
> problem is, one of my table size has gone beyond my imagination and
> it records nearly 1 lack per day which is making database searching
> very slow. We have allocated a separate server for database.
> Can anyone suggest me how to get rid of this. One simple solution
> that comes into my mind is to use hadoop but any experienced help on
> this?

If it's an option, switch to an RDBMS that was designed for enterprise-
class deployment from day 1, i.e. an RDBMS that doesn't have "My" in the 
name.

Yeah, I know this is going to start another flame war but WTH, Delhi's 
getting colder by the day.  I'm planning to install a few old computers 
around slum clusters, at least the heat generated on the list will keep 
them warm at nights!

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [Commercial] Seriously talented dev-ops engineer to run the whole stack

2012-11-07 Thread Raj Mathur (राज माथुर)
On Wednesday 07 Nov 2012, Balwinder S Dheeman wrote:
> [snip]
> Please do check:
> 
> 
> It is not a fork of Asterisk like the OpenPBX.org which eventually
> turned into FreeSWICH; whereas the FreeSWITCH again is a completely
> re-written alternative.
> 
> I do not intend to initiate a war; but am talking about FLOSS
> (Free/Libre Open Source) alternatives; forget to mention the
> FreeSWITCH in my earlier post, indeed.
> 
> IMHO, All these, the Asterisk, the FreeSWITCH and the Yate fulfill
> difference design goals, but almost same functionality while one of
> these might be more suitable for a particular scenario and, or
> environment.

I deploy Asterisk for the same reason that I still use Sendmail as the 
MTA for those clients who need large mailers:

- It's been around for donkey's years -- the technology is tried and 
tested

- Flaws are (mostly) known and workarounds public

- Huge developer community

- Availability of III-party extensions to do almost anything you need 
from the system

- Vibrant and responsive community so problem-solving, patches, etc. are 
easily available

Sure, there are better (subjectively speaking) alternatives around, but 
then, If It Ain't Broken, Don't Fix It.  Sendmail's been working for me 
for over 20 years, Asterisk for nearly 10, so I happily stand in the Way 
of Progress and continue using antediluvian packages.  Also, the desire 
to use something just because it's new and shiny just isn't there 
anymore... hey, my desktop is Debian!

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Nominate your free software heroes

2012-10-31 Thread Raj Mathur (राज माथुर)
http://www.fsf.org/blogs/community/nominate%2dyour%2dfree%2dsoftware%2dheroes

The nomination window for the 15th annual Free Software Awards is open. 
Now is your chance to show some love for your favorite free software 
hero or an inspiring project that uses free software or free software 
principles to benefit humanity.

Don't delay, nominations are due on November 15th. To nominate an 
individual for the Award for the Advancement of Free Software or a 
project for the Award for Projects of Social Benefit, send your 
nomination along with a description of the project or individual to 
award-nominati...@gnu.org.

The free software movement is powered by dedicated individuals and has 
fostered many incredible projects that are making a difference in the 
world with the help of free software tools and principles. You can read 
more about the awards and past winners in our official announcement.

What are you waiting for; take a few minutes to give props to people and 
projects that inspire you. Your nominations will be reviewed by our 
awards committee and the winners will be announced at LibrePlanet 2013.
Award for the Advancement of Free Software

The Free Software Foundation Award for the Advancement of Free Software 
is presented annually by FSF president Richard Stallman to an individual 
who has made a great contribution to the progress and development of 
free software, through activities that accord with the spirit of free 
software.

Award for Projects of Social Benefit

Nominations are also open for the 2012 Award for Projects of Social 
Benefit.

This award is presented to the project or team responsible for applying 
free software, or the ideas of the free software movement, in a project 
that intentionally and significantly benefits society in other aspects 
of life.

We look to recognize projects or teams that encourage collaboration to 
accomplish social tasks. A long-term commitment to one's project (or the 
potential for a long-term commitment) is crucial to this end.

This award stresses the use of free software in the service of humanity. 
We have deliberately chosen this broad criterion so that many different 
areas of activity can be considered. However, one area that is not 
included is that of free software itself. Projects with a primary goal 
of promoting or advancing free software are not eligible for this award 
(we honor those projects with our annual Award for the Advancement of 
Free Software).

We will consider any project or team that uses free software or its 
philosophy to address a goal important to society. To qualify, a project 
must use free software, produce free documentation, or use the idea of 
free software as defined in the Free Software Definition. Work done 
commercially is eligible, but we will give this award to the project or 
team that best utilizes resources for society's greater benefit.

Nomination Requirements

In the case of both awards, previous winners are not eligible for 
nomination, but renomination of other previous nominees is encouraged. 
Only individuals are eligible for nomination for the Advancement of Free 
Software Award, and only projects can be nominated for the Social 
Benefit Award.

Award recipients will be chosen by a committee of previous winners and 
FSF president Richard Stallman.

Please send your nominations to award-nominati...@gnu.org, on or before 
Thursday, November 15th, 2012. Please submit nominations in the 
following format:

In the email message subject line, either put the name of the person you 
are nominating for the Award for Advancement of Free Software, or put 
the name of the project for the Award for Projects of Social Benefit.

Please include, in the body of your message, an explanation (40 lines or 
less) of the work done and why you think it is especially important to 
the advancement of free software or how it benefits society, 
respectively.

Please state, in the body of your message, where to find the materials 
(e.g., software, manuals, or writing) which your nomination is based on.

Information about the previous awards can be found at 
http://www.fsf.org/awards. Winners will be announced at an awards 
ceremony at the LibrePlanet conference tentatively scheduled for March 
2013, in Boston, Massachusetts.

-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Private IP in Public Network

2012-10-09 Thread Raj Mathur (राज माथुर)
On Tuesday 09 Oct 2012, Nirmalya Lahiri wrote:
> Hi everyone,
>  today I have discover a critical network infrastructure which is
> almost impossible. I believe very few people have seen this before.
> 
>  The story is  in my office we have leased internet connection
> with static IP from TATA Communication Ltd. In my local network I
> have configured network ip (192.168.7.0). So all the PC in my local
> network has the IP of the range 192.168.7.1 to 192.168.7.253.
> 
>  For a experimental purpose yesterday I have ping to 192.168.2.10...
> It should not return reply. But unfortunately I got reply from a
> host. After investigation I have found that the host is outside of
> my local network. Please look into the tracepath report from my
> local PC to that unknown host.
> 
> nirmalya@nirmalya-desktop:~$ tracepath  192.168.2.10
>  1:  nirmalya-desktop.local (192.168.7.103) 0.141ms
> pmtu 1500 1:  192.168.7.51 (192.168.7.51)  
>  0.706ms 1:  192.168.7.51 (192.168.7.51)  
>  0.700ms 2:  115.115.147.137 (115.115.147.137)  
>  150.228ms 3:  121.240.2.54 (121.240.2.54)
>  188.099ms asymm  6 4:  121.240.2.57 (121.240.2.57)
>  175.322ms asymm  6 5:  172.25.81.133 (172.25.81.133)  
>  176.625ms asymm  6 6:  172.29.253.34
> (172.29.253.34)208.708ms asymm  8 7:
>  172.31.16.193 (172.31.16.193)186.462ms
> asymm  8 8:  172.31.35.138 (172.31.35.138)  
>  206.554ms asymm 10 9:  172.31.8.134 (172.31.8.134)
>  226.454ms asymm 10 10:  172.25.82.62 (172.25.82.62)
>  206.389ms asymm  9 11:  192.168.2.10 (192.168.2.10)
>  217.967ms reached Resume: pmtu 1500 hops 11
> back 247
> 
> 
> In this report 192.168.7.103 is my personal PC, 192.168.7.51 is
> internal IP of router, 115.115.147.137 is gateway IP of our leased
> internet connection.

Have seen this issue with other providers also.  They use RCF1918 IPs in 
their internal network infrastructure.  However, they don't protect that 
infrastructure adequately from external access.

Not really an issue, unless the service provider believes that internal 
IPs are making that portion of the infrastructure secure, and become 
lax.  Or if they start advertising those IPs on the 'net!

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Invitation to connect on LinkedIn

2012-09-28 Thread Raj Mathur (राज माथुर)
On Friday 28 Sep 2012, LukramDebendro Singh via LinkedIn wrote:
> LukramDebendro Singh requested to add you as a connection on
> LinkedIn:

Added:
http://wiki.linux%2ddelhi.org/cgi%2dbin/twiki/view/Main/DoNotTrustMeWithYourPersonalData

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] ExpEyes experiment design contest for students

2012-09-27 Thread Raj Mathur (राज माथुर)
On Thursday 27 Sep 2012, Pramode C.E wrote:
> Please check out:
> 
> http://recursive-labs.com/contest/expeyes/
> 
> This is a good opportunity for students to contribute to an
> innovative open hardware (and Free Software based) project from
> India!

You know, this sounds like a really cool initiative.  I don't remember 
anything about physics, but the samples shown on the web look 
interesting.  I wouldn't mind owning one of those things.  As long as I 
didn't have to lug the laptop around from one part of the house to the 
other measuring voltages and currents, of course :)

I was only able to find one (non-definitive) link on the 'net about its 
hardware licence, though -- any place that is documented?

All the best with the contest, and do give us the highlights once it's 
completed.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] A Gnome Text Editor Joke

2012-09-19 Thread Raj Mathur (राज माथुर)
On Wednesday 19 Sep 2012, Anupam Jain wrote:
> On Wed, Sep 19, 2012 at 1:08 PM, Raj Mathur (राज माथुर)
> 
>  wrote:
> > On Wednesday 19 Sep 2012, Anupam Jain wrote:
> >> Gedit?
> > 
> > Remind me to murder you the next time we meet.  Must... stop...
> > these... atrocities...
> 
> Really? I thought the joke was notepad at all.. Awk-ward...
> 
> Seriously though, I kate your point. Vi are above these childish
> puns. Trust me if you are annoyed, emacs two of us.
> 
> Enough sed.

Isn't there something in the Geneva Convention that protects innocent 
people from this form of mass comedicide?  Writing to the UN Humour 
Rights Commission to investigate this case and requesting immediate 
action in bringing the guilty to book.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] A Gnome Text Editor Joke

2012-09-19 Thread Raj Mathur (राज माथुर)
On Wednesday 19 Sep 2012, Anupam Jain wrote:
> Gedit?

Remind me to murder you the next time we meet.  Must... stop... these... 
atrocities...

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] ILUG-D activity in last 7 days

2012-08-31 Thread Raj Mathur (राज माथुर)
On Saturday 01 Sep 2012, Arun Khan wrote:
> Please help with understanding this report.
> 
> On Fri, Aug 31, 2012 at 8:10 AM,   wrote:
> > Fri 31-Aug-2012: ILUG-D activity in last 7 days:
> > =
> > New/recent events: 0   Total events: 83
> > =
> 
> Where on the Web site / Wiki / or the mailing list?
> 
> > New Discussion forum postings: 0   Total postings: 1143
> > =
> 
> Is this stat for the mailing list?  If so, there are posting made
> within the last 7 days but this reports says 0.

This is for the web site http://lilnux-delhi.org/ , which is more or 
less defunct now.

If anyone has ideas and the energy to restore it, please speak up.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Xen/VirtualBox/Intel IOMMU HOWTO

2012-08-20 Thread Raj Mathur (राज माथुर)
On Monday 20 Aug 2012, Vikas Rawal wrote:
> > Covered are:
> > 
> > - Basic Xen setup
> > - Compiling and installing a custom kernel for the i915 GPU Hung
> > issue - Extracting a disk image from a VirtualBox VDI
> > - Creating and running a Xen DomU with the image
> 
> Very well explained. Thanks.
> 
> I was wondering if you would recommend a desktop user of VirtualBox
> to migrate to Xen instead? VirtualBox does take a lot of resources
> (in particular, RAM). Do you think Xen would be a better choice?

If you're happy with the way VirtualBox is managing your VM(s), why 
switch?  Xen isn't exactly the easiest of technologies to get right.  On 
the other hand, if you're willing to put in the effort, I believe Xen is 
worth it.

I haven't done any benchmarks, but subjectively speaking Xen seems much, 
much faster than VirtualBox.  Much cleaner too -- once the hypervisor 
starts, there're no user-level processes hanging around for 
vistualisation assistance.  Each machine is independent, stand-alone and 
can be individually managed.

I guess it finally boils down to whether you're a GUI or command-line 
fan.  I happen to be the latter, so the Xen paradigm suits me better.  
Performance-wise, both claim to give near-bare-metal performance.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Xen/VirtualBox/Intel IOMMU HOWTO

2012-08-20 Thread Raj Mathur (राज माथुर)
On Monday 20 Aug 2012, Balwinder S Dheeman wrote:
> On 08/20/2012 01:37 PM, Raj Mathur (राज माथुर) wrote:
> > Treated myself to some new hardware as advance
> > Eid/Diwali/Christmas/New Year gift, and was trying to install Xen
> > and get virtual machines running on that.  The path was long and
> > arduous, and is still not complete, but some of my experiences on
> > the way are documented in:
> > 
> > http://wiki.kandalaya.org/cgi%2dbin/twiki/view/Main/DebianXenMigrat
> > eVirtualBox
> > 
> > Covered are:
> > 
> > - Basic Xen setup
> > - Compiling and installing a custom kernel for the i915 GPU Hung
> > issue - Extracting a disk image from a VirtualBox VDI
> > - Creating and running a Xen DomU with the image
> > 
> > It's mostly technical and expects the reader to have decent Linux
> > sysadmin and basic Xen knowledge.
> > 
> > Feedback, bouquets and brickbats (in moderation :) appreciated.
> 
> You had already been a good howto/document writer and this one is yet
> another milestone on your journey towards the leadership.

I'm blushing!

> I may be wrong, but I think:
> 
>  1. We must edit the /etc/fstab in VM image before we boot into it,
> the kernel and, or initrd scripts won't be able to find the root
> partition.

You're partially correct: the kernel (which is in the Dom0) is passed 
the "root=" parameter by Xen, so the correct disk gets mounted as root.  
Other -- non-root -- partitions, like you said, won't get mounted.  If 
you can manage with just root mounted, then the HOWTO is fine.  If not 
(e.g. /usr along with /usr/bin/vi is on a different partition) then, as 
you said, you need to change fstab before trying to boot the system.

> 2. It's better we either use UUIDs or LABELs in the
> /etc/fstab; applicable to all installations/distos.

You're right, UUIDs are much better than explicit partition names.  It's 
just... I hate them, because I like to know which partitions are mounted 
where by looking at mount(8) output, and UUIDs really get in the way.  
Purely a personal thing, and not a recommendation for anyone else!

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Xen/VirtualBox/Intel IOMMU HOWTO

2012-08-20 Thread Raj Mathur (राज माथुर)
Hi,

Treated myself to some new hardware as advance Eid/Diwali/Christmas/New 
Year gift, and was trying to install Xen and get virtual machines 
running on that.  The path was long and arduous, and is still not 
complete, but some of my experiences on the way are documented in:

http://wiki.kandalaya.org/cgi%2dbin/twiki/view/Main/DebianXenMigrateVirtualBox

Covered are:

- Basic Xen setup
- Compiling and installing a custom kernel for the i915 GPU Hung issue
- Extracting a disk image from a VirtualBox VDI
- Creating and running a Xen DomU with the image

It's mostly technical and expects the reader to have decent Linux 
sysadmin and basic Xen knowledge.

Feedback, bouquets and brickbats (in moderation :) appreciated.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Ubuntu sudo command problem

2012-08-10 Thread Raj Mathur (राज माथुर)
On Saturday 11 Aug 2012, Raakesh kumar wrote:
> I have reinstalled ubuntu again as going in recovery mode and doing
> those changes didn't work for me.
> @Balwinder Sir, I know i had made a mistake by doing so. But i was
> just doing a kind of experiment but without properly surfing about
> that...
> 
> Okay.. just to ask, Can you please tell me what actually happened to
> my system when i changed the permission of /etc directory? Why my
> system done into an inconsistent state? While as much theory i have
> read during my engineering about OSs, i hadn't done anything
> special/severe in that..

There are files and directories in /etc that need specific permissions.  
Hell, there are files and directories everywhere that need those 
permissions.  Off the top of my head, a few /etc-related permissions:

Sub-directories: 0755 or similar.  If you don't have those on (e.g.) 
pam.d, apache2, your servers won't work -- the files inside those 
directories will not be accessible.

Files: passwd needs at least 444, because it has to be world readable.  
shadow needs to be 600 or similar, because it /shouldn't/ be world-
readable; however, I don't know if any app enforces /etc/shadow 
permissions.

Scripts and executables: At the very least, scripts in /etc/init.d need 
to be 755 or equivalent.  If they aren't, your system will probably die 
a horrible death when trying to boot.

Special files like the one you found: sudo will fail if sudoers is world 
readable, because it's paranoid about security.

So you can have two types of problems related to file permissions:

1. Truncated permissions on the file (directory), because of which the 
system is unable to use the file for its intended purpose.

2. Extra permissions on a file, because of which an application that 
uses the file determines that it is insecure and refuses to use it.

You saw the effect of the latter; if you'd continued you'd probably have 
seen the effects of the former too.

/me shakes his head... Nautilus se sara /etc ka permission change kar 
diya... what will these kids think of next?

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Ubuntu sudo command problem

2012-08-10 Thread Raj Mathur (राज माथुर)
On Friday 10 Aug 2012, Mahesh T. Pai wrote:
> Raju Mathur said on Fri, Aug 10, 2012 at 09:02:00AM +0530,:
>  > 2. Boot into root.  I won't tell you how, there are enough
>  > pointers on
> 
> Will moving #5 above this help?

Sure, my principles are for sale, but only if the bid amount is 
appropriate!  Trivial compensations like "half your kingdom and your 
daughter's hand in marriage" won't do the trick for this one.

> Would rephrase as get into rescue mode, and (re)mount / with rw
> permissions. That is, assuming Ubuntu boot loader has a rescue
> option, which I believe it ought to have.

Do machines install with rescue by default?  I'd have thought you need 
some install CD -- most distributions' install CDs seem to have a rescue 
mode option.

Booting into root is faster if you know what you're doing.  If you 
don't, rescue sounds like a better option.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Ubuntu sudo command problem

2012-08-09 Thread Raj Mathur (राज माथुर)
On Friday 10 Aug 2012, Raakesh kumar wrote:
> Today i changed the permission of my /etc directory and it's sub
> directories and files using  "sudo nautilus". And now my everything
> including servers and all have stopped working. When i type sudo
> anywhere to use it shows an error as -
> 
> sudo: /etc/sudoers is mode 0446, should be 0440
> sudo: no valid sudoers sources found, quitting
> sudo: unable to initialize policy plugin
> 
> Can somebody help me to get my system back as it was earlier.. Or is
> there any way to restore my system back?

1. Get a list of permissions of critical files in /etc/ from the 'net, a 
friend's machine, wherever.

2. Boot into root.  I won't tell you how, there are enough pointers on 
the 'net.

3. Apply the correct permissions to your own /etc files.

4. Reboot.

5. Pay me.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Qmail Help

2012-08-01 Thread Raj Mathur (राज माथुर)
On Wednesday 01 Aug 2012, Vijay Thakur wrote:
> Hello All Friends,
> 
> I have configure Qmail server by following the steps from :
> http://www.qmailtoaster.com in my Centos 5.6 Server.
> All is working fine in LAN as per the given steps at Qmail Toaster.
> Now I want to access my mail server globally like all other
> E-mail Services e.g. Yahoo, Gmail etc. I have a registered domain.
> 
> Kindly guide that what things need to change in the server to access
> it in a fancy way like mail.abc.com (webmail) or globally in
> outlook,thunderbird, evolution etc..

Install a POP3/IMAP server on your mail server.  Ensure it is accessible 
from the 'net.  Install a webmail package somewhere and point it to your 
IMAP server.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Reliance Data Card on Centos 6‏

2012-07-23 Thread Raj Mathur (राज माथुर)
On Tuesday 24 Jul 2012, dhyanendra chauhan wrote:
> Please find the help guide of   Reliance Data Card on Centos 6‏
> http://www.linuxquestions.org/questions/linux-newbie-8/zte-ac2627-usb
> -modem-not-working-in-fedora-9-a-795499/ yum install tcl

Looks good.  However, one small issue:

> Baud=115200

That will just kill whatever speed you could get from the modem.  I 
typically set baud to 3686400 or higher.  Even the old Reliance ZTE 
dongle I'm using handles that.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Network install disk image

2012-07-23 Thread Raj Mathur (राज माथुर)
On Monday 23 Jul 2012, Balwinder S Dheeman wrote:
> On 07/23/2012 10:22 AM, Raj Mathur (राज माथुर) wrote:
> > Can you suggest a utility or web page instructions for installing a
> > pre- built Linux disk image over the network?
> > 
> > We have a bare machine with PXE and a server with a Linux disk
> > image. Need the flow to get this image onto the bare machine's
> > disk.
> 
> Please read
> <http://anu.homelinux.net/pub/FreeBSD/tftpboot/README.txt>, though
> you may find it a little bit FreeBSD specific, but the logic is same
> for Linux ISO images.
> 
> I also keep mounted Debian-Live, GRML, LinuxMint and Ubuntu ISO
> images:

Thanks Balwinder (incidentally, do your initials drive you to affinity 
with a particular flavour of Unix? :)

I'm looking more at an installable image, for which there have been 
numerous suggestions, both on- and off-list.  Also now waiting for 
Ashish'  tour-de-force.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Network install disk image

2012-07-22 Thread Raj Mathur (राज माथुर)
On Monday 23 Jul 2012, Ashish SHUKLA wrote:
> On Mon, 23 Jul 2012 10:22:43 +0530, "Raj Mathur (राज माथुर)"  said:
> > Can you suggest a utility or web page instructions for installing a
> > pre- built Linux disk image over the network?
> > 
> > We have a bare machine with PXE and a server with a Linux disk
> > image. Need the flow to get this image onto the bare machine's
> > disk.
> 
> I don't know of anything already available with such functionality
> but it would be cool to build one:
> 
> 1. On PXE server side, setup a webserver with images
> 
> 2. Compile a kernel (with all drivers for your target hardware) + an
> initrd with /sbin/init which sets up network, fdisk/mkfs's the
> filesystem, "wget -O - http:///image.tar.xz|xzcat |tar xv"
> everything as per kernel parameters. Or if you're using 'disk
> images', then "wget -O - |xzcat|dd if=/dev/stdin
> of=/dev/$device".

You also need to resize partitions to the target sizes after copying the 
image.

> 3. Create per client pxelinux.cfg configuration (in case client's
> settings differ from defaults), with something like:
> 
>linux /vmlinuz
>append initrd=/initrd.gz network=eth0;static;172.16.0.3/27
> img=gentoo-x64 drive=sda
> 
> It would be really cool to build something like that yourself :).

Thanks to both you and Saurabh for the suggestions.

And now I'm invoking the ILUGD torture clause: if you suggest something 
in public, you are automagically volunteered to do it!  So when can we 
expect a first-cut implementation for testing, Ashish? :)

In the meantime I found these, which may be useful starting points.  
SystemImager in particular seems well-suited:

http://svn.oscar.openclustergroup.org/trac/oscar
http://wiul.org/
http://kaboot.ainkaboot.co.uk/
http://wiki.systemimager.org/

Any more out there?

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Network install disk image

2012-07-22 Thread Raj Mathur (राज माथुर)
Hi,

Can you suggest a utility or web page instructions for installing a pre-
built Linux disk image over the network?

We have a bare machine with PXE and a server with a Linux disk image.  
Need the flow to get this image onto the bare machine's disk.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] [COMMERCIAL] Development lead needed

2012-07-20 Thread Raj Mathur (राज माथुर)
Forwarded message.  Please contact Suman directly if you're interested.

-- Raj

From: Suman Saraf 
  To: Raju Mathur 
  Date: 2012-07-20 2:26 PM

Some of my friends have incorporated a software company which focuses on 
software for Energy Trading, Energy Scheduling, Power Exchanges etc. 
This is funded by their already established energy trading business. 
They are looking for a technical head for this venture.

The person needs to be a hands on developer (young- ideally about 5-7 
years of experience) with proficiency in Linux, Perl or Python, MySQL 
and network programming. Experience in building complex real world 
systems is desirable. He will also be required to mentor and lead a team 
of 4-5 people. Most importantly, he needs to be able to build things 
from scratch and not just tinker with already existing code. 

They promise good compensation, significant equity and complete freedom.

Location: New Delhi.

If you know someone who might be interested, please ask him to contact 
me at sumansa...@gmail.com

I personally feel this is an excellent opportunity with immense growth 
potential. People looking for a 9-5 job, please excuse!

-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] The 31 Flavors of Fun Experiment

2012-07-12 Thread Raj Mathur (राज माथुर)
The 31 Flavors of Fun Experiment

http://webpath.net/31-flavors

Summary:
Todd Robinson, completely un-assisted, will to attempt to create, and 
release, a complete desktop operating system each and every day for the 
period of 31 days, to demonstrate the huge advantages of using open 
source (shared knowledge) solutions in real-world situations.  This 
experiment will compare development speed, costs, and required manpower 
to the proprietary Microsoft® Windows® development of recent Windows 
releases.  It is not intended to compare features, discuss 
virual/malware issues, or anything outside of actual development aspects 
when comparing.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Dell launch with Ubuntu at retail in India

2012-06-21 Thread Raj Mathur (राज माथुर)
On Thursday 21 Jun 2012, Balwinder S Dheeman wrote:
> In this matter (proprietary or restricted drivers or codecs) the
> LinuxMint people are slightly more liberal. I test installed
> LinuxMint 11 (I only this release on the USB at that time) on an
> ASUS F51 a few days. The whole *installation process running off of
> a USB stick took just 6 minutes* and everything, including the
> Bluetooth, WiFi, touchpad scrolling and tapping, worked like a
> charm. I need not mention that most of the useful and, or needed
> office applications, LibreOffice, Thunderbird, Firefox, Gimp and
> Osmo etc. are included in these Debian/Ubuntu or derivative
> distributions.

For the record, I'm against proprietary drivers.  My reasons for not 
using them are documented somewhere in this list's archives, from a few 
years ago.

Much simpler to just buy hardware that works out of the box with built-
in drivers; in the process you encourage the manufacturers who play well 
with the FOSS community, rather than rewarding those who want to have 
their cake (keep their interfaces secret) and eat it (still have Linux 
support for their devices) too.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Dell launch with Ubuntu at retail in India

2012-06-20 Thread Raj Mathur (राज माथुर)
On Wednesday 20 Jun 2012, Ashish SHUKLA wrote:
> - gpg control packet
> For the laptop users:
> 
> http://www.canonical.com/content/canonical-and-dell-announce-today-de
> ll-laptops-pre-loaded-ubuntu-will-be-sold-850-retail-out

Excellent.  Now if you need Linux on your laptop you don't need to pay 
the Winduhs tax, and if you prefer some other distribution to Ubuntu you 
can always reinstall and be sure that the hardware will work.  Of 
course, Ubuntu doesn't mind shipping proprietary drivers in base 
distribution, so you may still need to do some R&D for other 
distributions.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] History

2012-06-12 Thread Raj Mathur (राज माथुर)
Was rummaging around my hard disk today and happened to find these pics 
of a meet-up in Dilli Haat in November 2006.  Enjoy!

http://images.kandalaya.org/gallery2/v/raju/ilugd-20061117/

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] (no subject)

2012-06-08 Thread Raj Mathur (राज माथुर)
On Saturday 09 Jun 2012, Balwinder S Dheeman wrote:
> On 06/09/2012 07:02 AM, bipin...@yahoo.com wrote:
> > http://www.DON'T_CLICK.experienceaudi.co.nz/wp-content/themes/on-de
> > mand/ngkft.html
> 
> Die SPAMMER! Die your death!

You can always add him at the DoNotTrustMeWithYourData page on the wiki.  
Much less violent and much more effective!

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Subdomain creation in PHP application

2012-06-02 Thread Raj Mathur (राज माथुर)
On Saturday 02 Jun 2012, Raakesh kumar wrote:
> Dear All,
> I am stuck to a problem and that is, i am working on a project which
> requires user registration like any other website/social networks
> have and then after user registration they want a separate subdomain
> like http://userName.theirWebsite.com
> 
> Now i don't understand how is it possible to create a sub domain
> using Php only... Do i need any other program or anything to do
> this?? My other question is, even if i get anything to do this won't
> it be a security threat if any person gets the server credentials,
> as i will create a sub domain for him/her??

One way to achieve this would be to put up a wildcard DNS record for 
*.example.com pointing to your web server.  Then in the server either 
create a virtual host for each user, or use mod_rewrite to redirect 
user.example.com to example.com/~user (or something).

Not saying anything about security, that's a completely different ball 
game.  Will consult for trifling fee, please see my mail dated 
2012-05-28 for details.

> As i guess it's not a good idea.. so is there any method using
> .htaccess or anyhow to fulfill this requirement??
> Need suggestions

With the appropriate configuration, you can add add rewrite rules in 
.htaccess AFAIR.

I could be wrong, but from your mail I get the impression that you don't 
have a good handle on either the problem or the possible solutions.  
Suggest reading a lot and chatting with experienced people.

BTW, one ? is usually enough to terminate a question.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [Commercial] Anyone here looking for an ecommerce / web expert for a contract position

2012-05-31 Thread Raj Mathur (राज माथुर)
On Thursday 31 May 2012, Balwinder S Dheeman wrote:
> On 05/31/2012 10:43 AM, abhishek jain wrote:
> > PS: I believe posting this with commercial tag is allowed here, If
> > not, suggestions welcome, Also please suggest me more ways /
> > locations i can post on for this.
> 
> Better register as a freelancer at guru.com and, or freelancer.com
> services and create blog or web-site to share you ideas and, or
> expertise; many offer these things for free. I'm sure you'll also get
> an international exposure.
> 
> OTOH, IMHO, seeking and, or asking for job work in the F/OSS mailing
> lists can ruin your repute since you're just creating a noise here;
> that's but just an opinion and opinions may differ.

Oh, I don't know about that -- this list (at least) explicitly permits 
posting job offers and requests and other FOSS-related commercial 
notices as long as you stick to the rules and add the [COMMERCIAL] tag 
in the subject.

FOSS != Non-commercial

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Configuring sendmail in VPS Server

2012-05-28 Thread Raj Mathur (राज माथुर)
On Monday 28 May 2012, Gora Mohanty wrote:
> On 28 May 2012 23:27, Raj Mathur (राज माथुर) 
> wrote: [...]
> [snip]
> >> Should normally not be needed, as all the webapp has
> >> to do is to hand off to sendmail/postfix. However, this
> >> might be a problem if the webapp is sending
> >> HTML mail, and is taking time to
> >> render this abomination. Sad to say, I am now party to
> >> such desecration of what god meant email to be.
> > 
> > Different problem.  This delay is definitely due to the mail
> > server.
> 
> Even after he fixed hostname issues? Sorry, while I do
> joke about such things, I do appreciate being educated.
> I *am* serious here.

Whether you're handing off to a sendmail process, or making a port 25 
connection to localhost (or your smart host), your web app will 
typically wait until either sendmail returns or the receiving MTA has 
successfully sent a "250 2.0.0" response back.  There could be any 
number of things slowing down the mail server.  Some examples:

1. 'net-based spam/virus checks.

2. Slow DNS.

3. Slow 'net connectivity.

4. Lack of separation into MSA/MTA.

5. Load on the system itself.

6. Some bad configuration option.

You really need to look at each individual case and figure out where the 
bottleneck is.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Configuring sendmail in VPS Server

2012-05-28 Thread Raj Mathur (राज माथुर)
On Monday 28 May 2012, Gora Mohanty wrote:
> On 28 May 2012 22:48, Raj Mathur (राज माथुर)  
wrote:
> > On Monday 28 May 2012, Gaurang Aggarwal wrote:
> >> The errors are not shown now as I uploaded hostname to fully
> >> qualified hostname .
> >> I am curious , is there any way to allow web applications to send
> >> the mails faster as the time it takes to send the email is about
> >> 6- 8 seconds .
> > 
> > Is it just the web application taking longer or command-line too?
> >  In either case, you need to look at the logs to see precisely
> > where the delay is.  You can also set OLogLevel=127 in
> > /etc/mail/sendmail.cf, restart sendmail and then try sending a
> > mail for more logging.
> 
> Pfft! The way most people code, 6-8 seconds is nothing
> for a web front-end. Gaurang, what are page-load times,
> and response times to the presumable POST from the
> front-end? You can measure with a Firefox plugin, YSlow,
> if you are not already aware of this.

Nah, badly-configured or slow mail servers can create appreciable delays 
for users.  I've seen (and coded too) pages that send mail, where 
pressing "Submit" makes the browser hang without activity for 5+ seconds 
before it starts loading the next page.  Nothing to do but fix the mail 
server usually.

Of course, one easy way out is to display a JS message and/or a spinning 
cursor while the mail is being sent.  Users object less to being asked 
to wait -- it's unexpected delays that make them soggy and hard to 
light.

> 
> > Worst case scenario, make your application send mail
> > asynchronously. Depending on language and package, you could use a
> > new thread, a new process or perhaps just a flag to the mail
> > library.
> 
> Should normally not be needed, as all the webapp has
> to do is to hand off to sendmail/postfix. However, this
> might be a problem if the webapp is sending
> HTML mail, and is taking time to
> render this abomination. Sad to say, I am now party to
> such desecration of what god meant email to be.

Different problem.  This delay is definitely due to the mail server.

> > Sendmail delays are typically due to DNS or bad configuration
> > issues. If you are willing to pay me a trifling fee, I'd be glad
> > to offer myself as a consultant for fixing this problem.  Typical
> > trifling fees are half your kingdom and your daughter's hand in
> > marriage.
> 
> OK, done. Joke is on you: I have neither a kingdom, nor
> a daughter.

Well, buy one and abduct the other then.  Oh wait, it wasn't you who was 
liable for the fee anyway!

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Configuring sendmail in VPS Server

2012-05-28 Thread Raj Mathur (राज माथुर)
On Monday 28 May 2012, Gaurang Aggarwal wrote:
> The errors are not shown now as I uploaded hostname to fully
> qualified hostname .
> I am curious , is there any way to allow web applications to send the
> mails faster as the time it takes to send the email is about 6- 8
> seconds .

Is it just the web application taking longer or command-line too?  In 
either case, you need to look at the logs to see precisely where the 
delay is.  You can also set OLogLevel=127 in /etc/mail/sendmail.cf, 
restart sendmail and then try sending a mail for more logging.

Worst case scenario, make your application send mail asynchronously.  
Depending on language and package, you could use a new thread, a new 
process or perhaps just a flag to the mail library.

Sendmail delays are typically due to DNS or bad configuration issues.  
If you are willing to pay me a trifling fee, I'd be glad to offer myself 
as a consultant for fixing this problem.  Typical trifling fees are half 
your kingdom and your daughter's hand in marriage.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [Sort-of-OT] List Windows installed software

2012-05-28 Thread Raj Mathur (राज माथुर)
On Monday 28 May 2012, Ravi Kumar wrote:
> On Sun, May 27, 2012 at 8:30 PM, Ashish SHUKLA  
wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA512
> > 
> > Raj Mathur (राज माथुर) writes:
> > > On Sunday 27 May 2012, Ashish SHUKLA wrote:
> > >> Raj Mathur (राज माथुर) writes:
> > >> > I need to pull out data from some Windows desktops to put into
> > >> > an asset management system.  I can install NSClient++ or
> > >> > equivalent on the Windows machines -- NSClient++ preferred,
> > >> > since then I can use the same for monitoring the boxes with
> > >> > OpenNMS too.
> > >> > 
> > >> > Is there some easy way to get NSClient++ to list installed
> > >> > software packages and their versions over the network?  If
> > >> > not, is there some other tool that will allow that
> > >> > information to be pulled out remotely?
> 
> If you want to use Python on windows, it may be easy task. I used
> Python, pyWin - http://sourceforge.net/projects/pywin32/ and WMI
> package for Python (http://timgolden.me.uk/python/wmi/index.html) ,
> and then I was able to get list of all software, shares etc in
> current system.
> Either you can develop on HTTP server to get list of software from
> remote machine, or you can also connect to Remote Machines WMI using
> PyWMI package and pyWin32.

Turns out there's a package meant specifically for this requirement: 
FusionInventory:

http://fusioninventory.org/wordpress/

One of the things it pulls out is softwares and versions.

Thanks for all the help.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Open Source Mesh VPN

2012-05-27 Thread Raj Mathur (राज माथुर)
On Monday 28 May 2012, Arjun Venkatraman wrote:
> Looking for an open source vpn tool that can set up mesh networks.
> Hamachi is nice but its limited by license.
> OpenVPN doesnt seem to support mesh

It does: see "Can I use a web browser as an OpenVPN client?" on

http://wiki.vpslink.com/HOWTO:_OpenVPN

Maybe not the ideal solution for a mesh, though.

> PeerVPN is my best bet so far...anyone used it?

Otherwise try OpenS/WAN or StrongS/WAN, they're popular and well-
supported.  You could also have a look at Tinc (http://www.tinc-vpn.org/ 
), which is meant for exactly your requirement.  Don't know about 
standards compliance or availability of support there.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [Sort-of-OT] List Windows installed software

2012-05-27 Thread Raj Mathur (राज माथुर)
On Sunday 27 May 2012, Ashish SHUKLA wrote:
> Raj Mathur (राज माथुर) writes:
> > I need to pull out data from some Windows desktops to put into an
> > asset management system.  I can install NSClient++ or equivalent
> > on the Windows machines -- NSClient++ preferred, since then I can
> > use the same for monitoring the boxes with OpenNMS too.
> > 
> > Is there some easy way to get NSClient++ to list installed software
> > packages and their versions over the network?  If not, is there
> > some other tool that will allow that information to be pulled out
> > remotely?
> 
> not sure about NSClient++/OpenNMS, but if these programs support
> SNMP, then you can enable SNMP service in Windows (not remember
> how), and get all stats From Windows in same way, as you've done
> from any other free OS.

I'm specifically looking to get installed packages and versions.  Would 
that be available over SNMP?

Or should I ask in a Winduhs list? :)

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] [Sort-of-OT] List Windows installed software

2012-05-27 Thread Raj Mathur (राज माथुर)
Hi,

I need to pull out data from some Windows desktops to put into an asset 
management system.  I can install NSClient++ or equivalent on the 
Windows machines -- NSClient++ preferred, since then I can use the same 
for monitoring the boxes with OpenNMS too.

Is there some easy way to get NSClient++ to list installed software 
packages and their versions over the network?  If not, is there some 
other tool that will allow that information to be pulled out remotely?

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Configuring sendmail in VPS Server

2012-05-27 Thread Raj Mathur (राज माथुर)
On Sunday 27 May 2012, Gaurang Aggarwal wrote:
> Hello ,
> 
> 
> As Raj said I exactly used  :
>   tail -f /var/log/mail.log
> while sending a email from the web application
> 
> May 27 12:17:33 uni2versity sendmail[13521]: q4R8GXih013521: to=
> m...@gaurang.me, ctladdr=cont...@skilledinterns.com (33/33),
> delay=00:01:00, xdelay=00:00:00, mailer=relay, pri=30423,
> relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (q4R8HXG1013909
> Message accepted for delivery) May 27 12:17:34 uni2versity
> sm-mta[13912]: STARTTLS=client, relay= aspmx.l.google.com.,
> version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-SHA, bits=128/128
> May 27 12:17:34 uni2versity sm-mta[13912]: q4R8HXG1013909:
> to=, delay=00:00:01, xdelay=00:00:01, mailer=esmtp,
> pri=120740, relay= aspmx.l.google.com. [209.85.225.26], dsn=2.0.0,
> stat=Sent (OK 1338106654 l17si3694120iga.62)
> May 27 12:20:01 uni2versity sm-msp-queue[15508]: My unqualified host
> name (uni2versity) unknown; sleeping for retry
> May 27 12:21:01 uni2versity sm-msp-queue[15508]: unable to qualify my
> own domain name (uni2versity) -- using short name
> May 27 12:40:02 uni2versity sm-msp-queue[5376]: My unqualified host
> name (uni2versity) unknown; sleeping for retry

There you go, that's the problem.  Your hostname is unknown and sendmail 
is failing/slowing down because of that.

Make sure that (a) your "hostname" command returns a fully-qualified 
host name, and (b) that fully-qualified host name exists at least in 
/etc/hosts.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Configuring sendmail in VPS Server

2012-05-26 Thread Raj Mathur (राज माथुर)
On Sunday 27 May 2012, Gaurang Aggarwal wrote:
> Hello guys,
> 
> I have this VPS having Debian installed . I used apt-get remove
> sendmail to first , remove the sendmail and then apt-get install
> sendmail to install it again .
> But now , I have my websites taking awfully long time to send emails
> .
> 
> Please tell me how to resolve this issue .

Get one of your web applications to send mail, while monitoring the 
sendmail log:

  tail -f /var/log/mail.log

That will tell you where the bottleneck is.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] From where I can download desktop/laptop version of Linux?

2012-05-22 Thread Raj Mathur (राज माथुर)
On Tuesday 22 May 2012, Balwinder S Dheeman wrote:
> On 05/22/2012 08:37 AM, Raj Mathur (राज माथुर) wrote:
> > If you want to do the research, go to one of the sites other users
> > have pointed you to, test out each distribution and stick to the
> > one that suits you. If you're too lazy, just use Debian + KDE
> > (purely my personal opinion)
> 
> I also prefer Debian (testing) purely due to it being kind of first
> rolling release distribution, Debian's social contract
> <http://www.debian.org/social_contract> and stability inspired me to
> use Debian.
> 
> However, I recommend LinuxMint XFCE or ATE
> <http://www.linuxmint.com/> for the beginners.

The reason I listed less than a handful of distributions in my original 
post was because those are popular, and easy to get documentation for.  
There may be a number of comparatively niche distributions that are 
better in some respect, but I wouldn't recommend them to a new user, 
primarily because of availability of support and developers.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] How to Immediately Pause Printing in Linux?

2012-05-21 Thread Raj Mathur (राज माथुर)
Please don't hijack threads.

On Tuesday 22 May 2012, sanjay gupta wrote:
> i do not have any exposure on linux besides having 22 years of
> experience, please let me know from where i can download
> desktop/laptop version of linux, i am general secretary at acta,
> amritsar and i want my friends here to have a hands on experience on
> linux.

Arguably the most popular open desktop/laptop distributions of Linux 
are:

- Ubuntu
- Fedora
- SuSE
- Debian (my personal favourite)

If you want to do the research, go to one of the sites other users have 
pointed you to, test out each distribution and stick to the one that 
suits you.  If you're too lazy, just use Debian + KDE (purely my 
personal opinion).

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] [COMMERCIAL] Fwd: Training requirements for Linux

2012-05-11 Thread Raj Mathur (राज माथुर)
Forwarding without prejudice.  Please contact Prabir directly if you're 
interested.

Regards,

-- Raj

--  Forwarded Message  --

Subject: Fwd: Training requirements for Linux
Date: Friday 11 May 2012
From: prabir 
To: Raj Mathur 

> With reference to discussions re Suse Linux installation and related
> activities, we require person(s) who can perform the following
> tasks:
> 
> Task list
> a)  Installation and configuration of SUSE LINUX Enterprise
> Server
>
> b)  Installation and configuration of Oracle Real
> Application Cluster (RAC) on the Enterprise Server above
>
> c)  Integration of the system with IBM’s storage controller
> (DS4800/4700) and backup system (Tivoli FastBack T3100)

> Installation to be carried out in Jharsuguda.
> 
> Training to our engineers for providing necessary support
> a)  Installation of SUSE Linux
> b)  Installation of Oracle Real Application Cluster
> 
>  Prabir

-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Streaming video

2012-03-21 Thread Raj Mathur (राज माथुर)
On Wednesday 21 Mar 2012, Vivek Kapoor wrote:
> On 03/21/2012 06:30 PM, Raj Mathur (राज माथुर) wrote:
> > Anyone know a package that will let me stream WebM (or, failing
> > that, Flash) video to a browser with remote functionality (Pause,
> > Forward, Rewind, Play, etc)?
> > 
> > Pure FOSS solutions only, please.
> 
> Red5 can be used as the streaming server which supports multiple file
> formats. You can use open source Adobe Flex SDK to build a simple
> player which does the pause, forward, rewind etc. Shouldn't be
> difficult.

Thanks, that helps.  There's a FOSS product called JWPlayer that seems 
to work with both FLV and WEBM, will try that out.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Streaming video

2012-03-21 Thread Raj Mathur (राज माथुर)
Hi,

Anyone know a package that will let me stream WebM (or, failing that, 
Flash) video to a browser with remote functionality (Pause, Forward, 
Rewind, Play, etc)?

Pure FOSS solutions only, please.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] looking for laptop for Ubuntu (Rs. 25K)

2012-03-20 Thread Raj Mathur (राज माथुर)
On Tuesday 20 Mar 2012, Raj Mathur (राज माथुर) wrote:
> On Tuesday 20 Mar 2012, Vikas Upadhyay wrote:
> > [snip]
> > Another thought, can an Android tablet (costing not more than Rs
> > 20K), replace a laptop which serves above mentioned requirement? If
> > yes, any suggestion ?
> 
> Even though a dev environment was announced for Android today, doubt
> if it's a great platform for development.

Link to the IDE article:

http://www.theregister.co.uk/2012/03/13/android_sdk/

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] looking for laptop for Ubuntu (Rs. 25K)

2012-03-20 Thread Raj Mathur (राज माथुर)
On Tuesday 20 Mar 2012, Vikas Upadhyay wrote:
> [snip]
> Another thought, can an Android tablet (costing not more than Rs
> 20K), replace a laptop which serves above mentioned requirement? If
> yes, any suggestion ?

Even though a dev environment was announced for Android today, doubt if 
it's a great platform for development.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Firefox Google extension

2012-03-11 Thread Raj Mathur (राज माथुर)
On Monday 12 Mar 2012, Raj Mathur (राज माथुर) wrote:
> Hmm, there's another option: switch completely to duckduckgo.com,
> which has cruft disabled and privacy enabled by default anyway.  I
> tested with a few sample queries and the DDG and Google results seem
> to be comparable.  However, the duckduckgo results are beautifully
> visible in my 515-pixel-wide browser window, and they stream on
> scrolling (no more "next page" nonsense).

Incidentally, if you haven't heard of DuckDuckGo, here's a neat article 
on how it compares to Google:

http://www.glidemagazine.com/hiddentrack/technology%2dtuesday%2d30%2ddays%2dwith%2dduckduckgo/

Seems to be mostly serving the techie crowd right now, and I hate its 
results for people (egosurfing gives me #1 hit on Google, while it's at 
some obscure position in duckduckgo ;-) but it still works pretty well.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Firefox Google extension

2012-03-11 Thread Raj Mathur (राज माथुर)
On Monday 12 Mar 2012, Raj Mathur (राज माथुर) wrote:
> Google seems to have optimised its pages for wide screens, with a
> toolbar on the left, search results in the middle and previews on the
> right.  Earlier I used to have a Firefox extension called
> "OptimizeGoogle", which would reorganise Google search results to
> only show the results, and remove all the cruft (e.g. the toolbar on
> the left is just a real-estate waste for me 99.99% of the time). 
> Unfortunately OptimizeGoogle seems to have stopped development, and
> is not available for FF anymore.
> 
> Anyone know a fresh Google extension for FF which would (in
> decreasing order of preference):
> 
> - Remove cruft (incl. left toolbar) from Google search results
> - Automagically set 50 results per page
> - Delete Google cookies (or automatically set custom cookies)
> - Add sequence number to results
> - Replace Google search links with links to the actual site
> - Get rid of the preview feature

Hmm, there's another option: switch completely to duckduckgo.com, which 
has cruft disabled and privacy enabled by default anyway.  I tested with 
a few sample queries and the DDG and Google results seem to be 
comparable.  However, the duckduckgo results are beautifully visible in 
my 515-pixel-wide browser window, and they stream on scrolling (no more 
"next page" nonsense).

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Firefox Google extension

2012-03-11 Thread Raj Mathur (राज माथुर)
Hi,

Google seems to have optimised its pages for wide screens, with a 
toolbar on the left, search results in the middle and previews on the 
right.  Earlier I used to have a Firefox extension called 
"OptimizeGoogle", which would reorganise Google search results to only 
show the results, and remove all the cruft (e.g. the toolbar on the left 
is just a real-estate waste for me 99.99% of the time).  Unfortunately 
OptimizeGoogle seems to have stopped development, and is not available 
for FF anymore.

Anyone know a fresh Google extension for FF which would (in decreasing 
order of preference):

- Remove cruft (incl. left toolbar) from Google search results
- Automagically set 50 results per page
- Delete Google cookies (or automatically set custom cookies)
- Add sequence number to results
- Replace Google search links with links to the actual site
- Get rid of the preview feature

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Postfix: Black-listing email addresses/domains

2012-03-11 Thread Raj Mathur (राज माथुर)
On Sunday 11 Mar 2012, Gora Mohanty wrote:
> On 11 March 2012 21:31, Ashish SHUKLA  wrote:
> > Or you can also use greylisting daemon, esp. spamd[1] (only works
> > on *BSD) or postgrey/policyd (or other greylisting software) for
> > postfix.
> 
> Thank you: This looks almost exactly like what I want. I do hope
> that all genuine MTAs retry after a temporary error. I understand
> that this is required by a RFC.

Or the sending MTA may just go to the secondary MX and try delivering 
the message there after failure on the primary.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [Webdev] Do you want to own an iPad with a free 3G feature

2012-03-02 Thread Raj Mathur (राज माथुर)
On Saturday 03 Mar 2012, Gora Mohanty wrote:
> Heh! Was thinking the same thing, but had refrained till this post.
> I concur: Supporting crappy iPads or Nokia, or what have you is
> hardly of interest on this list. IMHO, this is true even if the tools
> used for such support are FOSS.

That's an edge case -- if the tool is FOSS then it may just be relevant 
to discuss it here.  However, this discussion was purely about a 
proprietary tool running on proprietary platforms.

OTOH, Apple, with its excellent user-friendly policies, won't allow any 
GPL software in its Store, so Apple users are prohibited from ever 
having access to a large portion of FOSS.  Unless they violate the ToS 
and jailbreak their phones, of course.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [Webdev] Do you want to own an iPad with a free 3G feature

2012-03-02 Thread Raj Mathur (राज माथुर)
On Friday 02 Mar 2012, tashi samphel wrote:
> You must check with your bank whether it allow you to make on-line
> international transaction with their debit card or not. I used my
> credit card to purchase the software. Using the above technology you
> can also enjoy Internet connection on your Linux or Mac computer by
> enabling Wi-Fi and you don't need to install Nokia PC Suite for
> that. Cool! isn't it?

I'm sorry, but what exactly does this have to do with Linux and/or FOSS 
in the context of Delhi?  Sure there are any number of exciting 
applications out there, but we don't need to discuss them in this 
specific list unless there's some benefit, at least, from a purely 
Linux/FOSS point of view.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Shell Script Query

2012-02-28 Thread Raj Mathur (राज माथुर)
On Wednesday 29 Feb 2012, shailesh kumar wrote:
> Dear All,
> 
>  I am shailesh. Just need small help to write a shell script.
> 
>  There are two tables T1 and T2 both tables one row is
> common.
> 
>  i have to filter out subIndx (common keyword),imsi,msisdn
> from both tables

Without knowing more about the application, and going by the sample data 
you have provided, I'd suggest you make single-line entries for each set 
of data in each table, and then use sort/join to filter your data.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] [SOLVED] Re: Shell script not running as expected via crontab, runs fine manually !!

2012-02-27 Thread Raj Mathur (राज माथुर)
On Monday 27 Feb 2012, Amit Sharma wrote:
> Thanks!
>  
> The below is now working manually as well as via crontab. >> is
> required so that log can be maintained. 
> #!/bin/bash
> # Script to check exim mailq at a specified interval
> date >> /adminscripts/logs/eximcount
> Counter=`/usr/sbin/exim -bpc`
> echo $Counter >> /adminscripts/logs/eximcount
> if [ $Counter -gt 0 ]
> then
> cat /adminscripts/logs/eximcount |mail -s "Count of EXIM Mailq on
> Server"  a.sha...@example.com else
> exit 1
> fi

So it seems that the problem was the exim executables being located in 
/sbin... that seems to be the major change between this version and the 
previous one.

CC'ing the ILUGD mailing list so that the archives reflect the solved 
state of the problem.

Regards,

-- Raj

> From: Raj Mathur (राज माथुर) 
> To: il...@frodo.hserus.net
> Sent: Monday, 27 February 2012 12:41 PM
> Subject: Re: [ilugd] Shell script not running as expected via
> crontab, runs fine manually !!
> 
> On Monday 27 Feb 2012, Amit Sharma wrote:
> > #!/bin/bash
> > # Script to check exim mailq at a specified interval
> > echo `date` >> /adminscripts/logs/eximcount
> > echo `exim -bpc` >> /adminscripts/logs/eximcount
> 
> First of all, why the needless complexity?  You can just:
> 
> date >> /adminscripts/logs/eximcount
> exim -bpc >> /adminscripts/logs/eximcount
> 
> Also, should the first >> be a single > ?
> 
> > if [ `exim -bpc` -gt 0 ]
> > then
> > cat /adminscripts/logs/eximcount |mail -s "Count of EXIM Mailq
> > on Server"  a.sha...@example.com else
> > exit 1
> > fi
> >
> > 
> >
> > The above runs fine manually, however when I try to run it through
> > crontab (as root), it DOES run but /adminscripts/logs/eximcount
> > gets empty value. When I run it manually it is able to get the
> > correct count like 5, 10 etc.
> > What am I missing here? Please help.
> 
> Check the permissions on the script.
> 
> Remove the file before the cron runs and see if it gets created.
> 
> Check where root's mail goes -- that will help you track any cron
> errors.
> 
> Put full paths to all programs you execute in the script.
> 
> Let us see the whole cron command line.
> 
> Regards,
> 
> -- Raj

-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Shell script not running as expected via crontab, runs fine manually !!

2012-02-26 Thread Raj Mathur (राज माथुर)
On Monday 27 Feb 2012, Amit Sharma wrote:
> #!/bin/bash
> # Script to check exim mailq at a specified interval
> echo `date` >> /adminscripts/logs/eximcount
> echo `exim -bpc` >> /adminscripts/logs/eximcount

First of all, why the needless complexity?  You can just:

date >> /adminscripts/logs/eximcount
exim -bpc >> /adminscripts/logs/eximcount

Also, should the first >> be a single > ?

> if [ `exim -bpc` -gt 0 ]
> then
> cat /adminscripts/logs/eximcount |mail -s "Count of EXIM Mailq
> on Server"  a.sha...@example.com else
> exit 1
> fi
>  
> The above runs fine manually, however when I try to run it through
> crontab (as root), it DOES run but /adminscripts/logs/eximcount gets
> empty value. When I run it manually it is able to get the correct
> count like 5, 10 etc. 
> What am I missing here? Please help.

Check the permissions on the script.

Remove the file before the cron runs and see if it gets created.

Check where root's mail goes -- that will help you track any cron 
errors.

Put full paths to all programs you execute in the script.

Let us see the whole cron command line.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [HUMOUR] Fwd: Funny Indian names

2012-02-10 Thread Raj Mathur (राज माथुर)
On Saturday 11 Feb 2012, Nagarjuna G wrote:
> 2012/2/11 Raj Mathur (राज माथुर) :
> > --  Forwarded Message  --
> > Subject: Funny Indian names
> > Date: Friday 10 Feb 2012
> > From: Richard Stallman 
> > To: Raj Mathur 
> > 
> > Indian names and their meanings
> > 
> > Atul -- studies too hard
> > Anuj -- annoys everyone
> > Anoop -- can't get anything done
> > Swapnil -- keeps everything in his memory
> > Ranjit -- uses a fast Java platform
> > 
> > Can you think of any to add?
> > 
> > ---
> > 
> > Please add any geeky ones you can think of... I came up with:
> > 
> > Sanjay -- keeps all data on fast network storage
> > Ram -- the obvious :)
> > Manish -- always busy consulting the documentation
> > Ajay -- develops Java and YAML
> > Sunil -- fails at becoming root
> 
> ANU --  Anu is Not Unix
> 
> I like this best, since RMS while naming the free OS he looked for a
> meaningful names that can be recursive acronyms and chose the first
> meaningful word and halted at GNU.  I would have halted at ANU.
> 
> ANU is not funny though!

How about...

Nagarjuna -- Keeps pestering the third-oldest Pandava

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] [HUMOUR] Fwd: Funny Indian names

2012-02-10 Thread Raj Mathur (राज माथुर)
--  Forwarded Message  --
Subject: Funny Indian names
Date: Friday 10 Feb 2012
From: Richard Stallman 
To: Raj Mathur 

Indian names and their meanings

Atul -- studies too hard
Anuj -- annoys everyone
Anoop -- can't get anything done
Swapnil -- keeps everything in his memory
Ranjit -- uses a fast Java platform

Can you think of any to add?

---

Please add any geeky ones you can think of... I came up with:

Sanjay -- keeps all data on fast network storage
Ram -- the obvious :)
Manish -- always busy consulting the documentation
Ajay -- develops Java and YAML
Sunil -- fails at becoming root

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Laptop for Fedora any recommendations?

2012-02-07 Thread Raj Mathur (राज माथुर)
On Tuesday 07 Feb 2012, abhishek jain wrote:
> I am Planning to purchase one Laptop with Fedora on with intel Core
> i3 + 2 GB RAM, any recommendations on model?
> Should i prefer Dell  or HP? or else.

I recently bought an HP 430 w/ 4GB RAM, i3, 500GB HDD pretty cheap (~34K 
with FreeDOS).  Works beautifully with Linux, all hardware supported 
natively.  And the display is to die for.

http://h10010.www1.hp.com/wwpc/th/en/sm/WF05a/321957%2d321957%2d64295%2d3955548%2d3955548%2d5086733.html?dnr=1

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] [Humour] Microsoft keeps it old-school with a pricey text adventure game, Visual Studio 2010

2012-01-21 Thread Raj Mathur (राज माथुर)
Microsoft keeps it old-school with a pricey text adventure game, Visual 
Studio 2010

By Peter Bright

Microsoft has jumped onto the free-to-play bandwagon with its latest 
game, a text-driven adventure called Visual Studio 2010. The innovative 
new game marries the traditional interactive fiction text adventure with 
its arcane commands and exploration with the free-form, open-ended 
gaming pioneered by the likes of SimCity.

There are two major modes to the game, a textual spell-casting game, and 
a more complex interactive puzzle mode.

Play starts with the spell game. The game has three difficulty modes. In 
the two easiest modes Visual Studio questers must cast spells to appease 
a malevolent gatekeeper known only as "the compiler," combining the text 
adventuring of Zork with the wizardy and magic of Loom. If the player's 
spell contains even a single faulty incantation, the compiler will 
respond with a torrent of abuse and spells of its own; the player must 
piece together clues contained within compiler's response to determine 
how they went wrong.

In the hardest mode, a second gatekeeper, the even more cantankerous 
"linker," must also be satisfied. In this mode, even more complex magic 
is required. The player must mix multiple, interrelated spells and 
potions, ensuring they operate in perfect concert to persuade both 
compiler and linker to allow them to pass.

Full article:
http://arstechnica.com/microsoft/news/2012/01/microsoft%2dpimps%2dit%2dold%2dschool%2dwith%2da%2dpricey%2dtext%2dadventure%2dgame.ars

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] English Wikipedia anti-SOPA blackout

2012-01-17 Thread Raj Mathur (राज माथुर)
Great news indeed.  I hope many more sites join the protest.  I would 
black out kandalaya.org, if anyone ever visited there :)


To: English Wikipedia Readers and Community
From: Sue Gardner, Wikimedia Foundation Executive Director
Date: January 16, 2012

Today, the Wikipedia community announced its decision to black out the 
English-language Wikipedia for 24 hours, worldwide, beginning at 05:00 
UTC on Wednesday, January 18 (you can read the statement from the 
Wikimedia Foundation here). The blackout is a protest against proposed 
legislation in the United States—the Stop Online Piracy Act (SOPA) in 
the U.S. House of Representatives, and the PROTECT IP Act (PIPA) in the 
U.S. Senate—that, if passed, would seriously damage the free and open 
Internet, including Wikipedia.

Full article at:

http://wikimediafoundation.org/wiki/English_Wikipedia_anti-SOPA_blackout

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Looking for an Android Developer for App Dev Contract

2011-12-28 Thread Raj Mathur (राज माथुर)
On Thursday 29 Dec 2011, Sudhanwa Jogalekar wrote:
> On Wed, Dec 28, 2011 at 11:03 PM, Saurabh Jain 
wrote:
> > Within the same LAN, it is legal.
> > 
> > You can transfer incoming PSTN lines over IP to any point within
> > your network. You can even transfer over WAN to an office in
> > another SDCA.
> > 
> > On the outbound front, you can't initiate a call using a PSTN port
> > in another SDCA. So, you can't use SIP over your WAN and use a
> > PSTN port in Bangalore to initiate a local call in Bangalore.
> > You'd have to use your local PSTN port and dial long distance to
> > Bangalore.
> > 
> > The rules are easy to understand once you know the motivations of
> > the babus. Their corporate overlords told them IP calling should
> > not impact revenue. And so, anything that effects the revenue of
> > Airtel, BSNL, etc., is not allowed. That said, for incoming calls,
> > they don't care if you forward a PSTN call over IP - over a LAN,
> > or over WAN even internationally.
> 
> As I understand, any kind of PSTN to VOIP connection is not allowed.
> (Without any official permission from DOT. That is given at very high
> fees)
> 
> PSTN to PSTN, VOIP to VOIP is perfectly fine, both incoming or
> outgoing even internationally.
> 
> Typical scenerio of the famous cheap VOIP boxes that has voip on one
> side and PSTN on other side (especially terminating to the EPABX) 
> is not legal.

As Saurabh said, it's legal within the same LAN.  I have clients who get 
calls over PSTN and terminate them internally to VoIP handsets and/or 
soft phones.

You are correct too -- the primary motivation for the law (rule?) is to 
prevent you from causing revenue loss to the telcos.  As long as you 
don't bypass a PSTN leg by using VoIP, you're well within the law.

Fascinating how we can be denied access to technology and cheap 
communications to protect a few.  AFAIR the law was brought into force 
originally to protect VSNL's IDD business.  I guess if you raise any 
voice against it now, the powers-that-be will raise the eternal spectre 
of "national security" and squash reform like a bug.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Looking for an Android Developer for App Dev Contract

2011-12-28 Thread Raj Mathur (राज माथुर)
On Wednesday 28 Dec 2011, Arjun Venkatraman wrote:
> [snip]
> A SIP client that can :
> 1. Forward incoming calls on a GSM/CDMA (GSM only will do, but CDMA
> only will not) line to a SIP number at a proxy on the same LAN

Wouldn't that be illegal without a VoIP licence in India?

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [OT] Looking for Perl Programmers

2011-12-20 Thread Raj Mathur (राज माथुर)
On Wednesday 21 Dec 2011, Nishikant Kapoor wrote:
> Hello all,

Well, well, look who popped up out of the woodwork!  Good to see you, 
Nishi, tell us more about where you are and what you're up to.

For those who came in late, Nishikant is the person who single-handedly 
built a web portal system in Perl, then vanished under the radar for 
decades.  That portal is the one linux-delhi.org is currently running 
on.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Comparison of txt2tags and other light mark-up Languages

2011-11-11 Thread Raj Mathur (राज माथुर)
On Friday 11 Nov 2011, A. Mani wrote:
> (In French)
> 
> http://fgallaire.flext.net/comparaison-langage-balisage-markup-lightw
> eight-leger-txt2tags-pandoc-docutils-asciidoc-deplate-stx2any-aft-mar
> kdown-textile/

Surprised that Emacs org-mode, which does excellent export to HTML and 
LaTeX (PDF) is missing from the comparison (though my French isn't all 
that good -- non-existent, actually).

If you don't care about the advanced features, org-mode is a superb 
lightweight text markup system.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Perl SVN help required

2011-11-08 Thread Raj Mathur (राज माथुर)
On Tuesday 08 Nov 2011, Vikas Upadhyay wrote:
> Could you please suggest some particular one which helps me perform
> the basic svn operations ?
> Being new to Perl ans SVN both, I am finding it a difficult to choose
> the right one(s) at
> http://cpan.uwinnipeg.ca/module/SVN/
> The lack of proper documentation is making life further difficult.
> Also, not all seem to be available for Windows (e.g. SVN-Agent ).

They're all part of the same module.  Presumably if you install "SVN" 
through CPAN (or better, get a pre-packaged one for your platform) you 
should get all the sub-modules available.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Perl SVN help required

2011-11-08 Thread Raj Mathur (राज माथुर)
On Tuesday 08 Nov 2011, Vikas Upadhyay wrote:
> Need help in Perl SVN.
> [snip]
> Using commands like “svn co ” or using perl modules for the
> same.
> 
> What does the expert here think, which one is the better idea ?

I'd go with the Perl module, since that is independent of command-line 
vagaries.  The standard library seems to be just called SVN.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] [ANNOUNCE] A Debate on the UID Project

2011-10-27 Thread Raj Mathur (राज माथुर)
NSS and EDLC, IIT Delhi present

A Debate on the UID Project

Date: 2 November 2011
Venue: IV LT3, IIT Delhi
Time: 5.30 – 7.30 pm

http://web.iitd.ac.in/~arjunghosh/uid/uid.html

All are welcome; participation is free.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [Ilugc] Steve Jobs Exposed, Wanted To Destroy Android

2011-10-21 Thread Raj Mathur (राज माथुर)
On Friday 21 Oct 2011, Swapnil Bhartiya wrote:
> > Only Linux and open source does not have such controversies.
> 
> And a bunch of idiots were going after the life of RMS for
> criticizing dictator from Cupertino. I think 2011 was important ...
> Egypt, Tunisia, Syria, Libya and *Cupertino*.

While one may disagree with Jobs' ideas and objectives, why bring him 
personally into it?  Hate the ideas, sure, but don't hate the man!

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves



"This e-mail message may contain confidential, proprietary or legally
privileged information. It should not be used by anyone who is not
the original intended recipient. If you have erroneously received this
message, please delete it immediately and notify the sender. Any use
or disclosure of the contents is unauthorised and may be unlawful. All
liability for viruses is excluded to the fullest extent permitted
by law. The recipient acknowledges that NetAmbit or its subsidiaries
and associated companies, (collectively "NetAmbit Group"), are unable
to exercise control or ensure or guarantee the integrity of/over the
contents of the information contained in e-mail transmissions and further
acknowledges that any views expressed in this message are those of the
individual sender and no binding nature of the message shall be implied
or assumed unless the sender does so expressly with due authority of
NetAmbit Group.."


___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Hello everybody!

2011-10-13 Thread Raj Mathur (राज माथुर)
Hey, that's a cool post.  Of course, I don't necessarily agree that 
being 50+ limits you from doing anything much (OK, may avoid running the 
full marathon), but more power to your dabbling, and more power to your 
inspirations :)

Regards,

-- Raj

On Thursday 13 Oct 2011, Balwinder S Dheeeman wrote:
> It has been long since I left this list just due lack of time, I was
> not that very active a contributor to F/OSS then and may be shall
> never be much in the future as well; I'm 50+ and getting older day
> by day.
> 
> Anyway, I still maintain a few FreeBSD ports
> (http://anu.homelinux.net/ports), PKGBUILDs for ArchLinux
> (http://aur.archlinux.org/packages.php?SeB=m&K=bdheeman), debs for
> Debian (http://anu.homelinux.net/pub/Debian/) and Ubuntu
> (http://anu.homelinux.net/pub/Ubuntu/).
> 
> I scraped together, FreeBSD-7.2 (just to fit the things on 1GB UBS
> stick) and 9VX and released it as Nano9
> (http://werc.homelinux.net/hacks/nano9/) around a year ago.
> 
> I mostly remain busy trading stocks, bullion, currencies, commodities
> and, or derivatives these days, hence actively work on personalized
> copy (not a fork) of Qtstaker (http://qtstalker.sourceforge.net/)
> only.
> 
> Last but not the least, a big thanks to Ashish SHUKLA
> (http://ashish.is.lostca.se/) with 1Mw smile :)

-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] CentOS 5.6 ( Multiple Problems )

2011-10-06 Thread Raj Mathur (राज माथुर)
On Thursday 06 Oct 2011, Kristen Eisenberg wrote:
> I am using CentOS 5.6 on my VPS , and I am having multiple problems .
> 1.
> /etc/init.d/httpd reload
> Reloading httpd:   [FAILED]
> [root@ip-1-- /]# /etc/init.d/httpd start
> Starting httpd:[FAILED]
> [root@ip-1--  /]# /etc/init.d/httpd stop
> Stopping httpd:[FAILED]

What does the Apache error.log contain?

As an aside, are you related to Gaurang Agarwal?  Or is two people 
having identical problems with identical software on identical 
distributions in identical environments in two days a sheer coincidence?

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] CentOS 5.6 ( Multiple Problems )

2011-10-04 Thread Raj Mathur (राज माथुर)
On Wednesday 05 Oct 2011, Gaurang Aggarwal wrote:
> c/init.d/httpd restart
> Stopping httpd:[FAILED]
> Starting httpd: (13)Permission denied: make_sock: could not bind to
> address [::]:80
> (13)Permission denied: make_sock: could not bind to address
> 0.0.0.0:80 no listening sockets available, shutting down
> Unable to open logs
>[FAILED]

Apache is trying to bind to IPv6 instead of IPv4.  Is that what you 
really want?  If not, try changing your Listen directive from:

  Listen 80

to

  Listen 0.0.0.0:80

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] SSH KeepAlive with Switched Networks

2011-09-27 Thread Raj Mathur (राज माथुर)
On Tuesday 27 Sep 2011, Ashish SHUKLA wrote:
> You probably mean to run "screen" in "ssh", i.e. screen on remote
> end? Otherwise with "screen to run your ssh in", instead of using
> GNOME terminal's pty, you're using screen's pty, with nothing
> changed at the network interface level.

Er, right!  Run screen on the ssh server, and login to it from any 
network.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] SSH KeepAlive with Switched Networks

2011-09-27 Thread Raj Mathur (राज माथुर)
On Tuesday 27 Sep 2011, Ashish SHUKLA wrote:
> > I’m on a LAN [in office] connected to remote server over SSH [using
> > gnome terminal], now I've to go over for a meeting on another floor
> > along with my notebook. I switch on to mine office WLAN with a
> > descent 90+ signal strength, Network manager shows both
> > connections there as connected. I disconnect my LAN connection and
> > now on WLAN when i try working on the server to which i was
> > connected, the server is not responding to my keystrokes as if the
> > connection broke and i have to make a new connection to the server
> > in order to use it in a new tab. The old connection [the one over
> > LAN ] breaks after some time, with a timeout message.
> 
> Do you get the same IP address on both interfaces?

Actually, come to think of it even having the same IP address on both 
networks may not work.  Off the top of my head, it would depend on:

1. Whether your NAT provider sees LAN and WLAN packets coming over 
different interfaces or the same interface, and

2. Whether your NAT provider is interface-agnostic or not.

If your packets are coming over different interfaces, and the NAT box is 
storing the interface as part of the connection meta-data, then even 
having the same IP on different networks may not work.

Use screen, $deity's gift to system administrators all over the world!

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] SSH KeepAlive with Switched Networks

2011-09-27 Thread Raj Mathur (राज माथुर)
On Tuesday 27 Sep 2011, Saurabh Sharma wrote:
> I’m on a LAN [in office] connected to remote server over SSH [using
> gnome terminal], now I've to go over for a meeting on another floor
> along with my notebook. I switch on to mine office WLAN with a
> descent 90+ signal strength, Network manager shows both connections
> there as connected. I disconnect my LAN connection and now on WLAN
> when i try working on the server to which i was connected, the
> server is not responding to my keystrokes as if the connection broke
> and i have to make a new connection to the server in order to use it
> in a new tab. The old connection [the one over LAN ] breaks after
> some time, with a timeout message.

If you want to continue using the same connection over LAN and WLAN, you 
will have to either have the same IP address on both media, or use an 
app like screen to run your ssh in.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [ANNOUNCE] Android-India mailing list

2011-08-31 Thread Raj Mathur (राज माथुर)
On Monday 29 Aug 2011, Mehul Ved wrote:
> On Sun, Aug 28, 2011 at 10:26 AM, abhishek jain
> 
>  wrote:
> > there is no way to check usage until the bill is handed over.
> 
> Where there are enough software tools available on android to measure
> and warn you about your data usage, free as well as paid. I prefer 3G
> Watchdog
> 

Re: [ilugd] [ANNOUNCE] Android-India mailing list

2011-08-27 Thread Raj Mathur (राज माथुर)
On Sunday 28 Aug 2011, abhishek jain wrote:
> Beware of 3G plans, i bought a 100MB plan from airtel, i mistakenly
> used 196 MB, i was charged Rs. 100 for first 100MB and 1400 for next
> 96 MB and more so they dont alert on overuse :( , there is no way to
> check usage until the bill is handed over.

Ouch!  There's probably something you can do at the Consumer Court level 
about that.  Sudev would be the right person to advise.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [ANNOUNCE] Android-India mailing list

2011-08-27 Thread Raj Mathur (राज माथुर)
On Sunday 28 Aug 2011, abhishek jain wrote:
> may be because the call rates have dropped and  VAS bill is larger
> than the phone call bill (at least for me).

Heh, so true.  OTOH, after finally inserting the SIM into this phone 
(which took two days due to sheer laziness in transferring contacts from 
the old phone to the new) I was pleasantly surprised to get a message 
about 6 months of free 3G (1GB pm) from Vodafone.  They probably think 
that the user will get so used to 3G that s/he will not want to give it 
up after the trial period, little knowing that cheap ol' me will leech 
their 6 free GB and then happily revert to Edge unless some provider 
comes out with a reasonably-priced 3G plan!

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [ANNOUNCE] Android-India mailing list

2011-08-27 Thread Raj Mathur (राज माथुर)
On Saturday 27 Aug 2011, Kishore Bhargava wrote:
> While I get around to subsrcibing, tell me in the meantime, what
> phone did you finally get?

Set out to buy a 19K Samsung, ended up buying the much more expensive 
Galaxy S II.  Nice phone, has the added feature of letting you actually 
make and receive calls (which seems to be low on the priority list for 
phone manufacturers nowadays)!

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] [ANNOUNCE] Android-India mailing list

2011-08-26 Thread Raj Mathur (राज माथुर)
Hi,

Having purchased an Android phone, thought an India-specific Android 
mailing list wouldn't be a bad idea.  So whether you're an Android user, 
hacker, developer or just curious, hop over to:

  mailto:indroid-requ...@lists.linux-delhi.org?subject=subscribe

For the moment, anything Android-related goes.

Warning: the initial month is likely to be filled with yours truly 
asking tons of newbie Android questions!

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Wiki help required

2011-08-12 Thread Raj Mathur (राज माथुर)
On Friday 12 Aug 2011, Gora Mohanty wrote:
> 2011/8/12 Raj Mathur (राज माथुर) :
> To save possible duplication of effort, I have already sent
> Raj a list, off-list.

Thanks to both people who sent lists (Gora Mohanty and Andrew Lynn).  If 
you're still feeling adventurous, you could go and check the home page 
of each and every user, and make a list of those who:

a. Haven't filled out any personal information at all, or
b. Have filled spam in their personal information.

The first category is most likely spam registrations, while the second 
definitely is.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Wiki help required

2011-08-11 Thread Raj Mathur (राज माथुर)
Hi,

We keep getting spam registrations on our Wiki.  I'll be glad to remove 
them, but don't have the time right now to go and track down each and 
every one.  Can someone volunteer to go through each of the 
registrations at:

  http://wiki.linux-delhi.org/cgi-bin/twiki/view/Main/TWikiUsers

and make a list of the ones that look like spam, or the ones that don't 
look legitimate?  If you send me the list, I'll remove the offending 
entries.

Thanks,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [OT] Best pre-paid 3G option in Delhi

2011-07-18 Thread Raj Mathur (राज माथुर)
On Monday 18 Jul 2011, Karanbir Singh wrote:
> its nice in that it will let 3 - 5 devices hook up over Wifi. the
> E585 tends to go about 8 - 12 hours of usage, before needing a
> charge.

Couldn't find a provider-independent E585 yet, but Tirveni also did some 
research and came up with this one:

  http://www.pluggd.in/micromax-3g-wifi-router-price-297/

which, apparently, is easily available in India.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] What happens in BASH when you do Ctrl-C (hint, it's not simply sending a SIGINT)

2011-07-17 Thread Raj Mathur (राज माथुर)
On Sunday 17 Jul 2011, Sharad Birmiwal wrote:
> -- begin offtopic --
> I tried "$ /usr/lib/apt/methods/http www.yahoo.com" but that didn't
> seem to start fetching the file. As noted already, it's probably part
> of the apt family and has it's own invocation method. apt developers
> for some reason didn't want to use curl or wget. When I tested apt
> earlier in the thread, I greped for were wget and curl (in ps) before
> simply reading "ps ax". One reason for this could be that their http
> gives them feedback which allows apt to show progress.
> -- end offtopic --

Reason for the executable (note: not even a Perl script) is probably 
that apt-get (dpkg?) can run on a bare system before anything else is 
installed.  It has to be able to download curl/wget before using it, and 
how do you download curl/wget?  You use your built-in method, aka http.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] What happens in BASH when you do Ctrl-C (hint, it's not simply sending a SIGINT)

2011-07-17 Thread Raj Mathur (राज माथुर)
On Sunday 17 Jul 2011, Sharad Birmiwal wrote:
>  On Fri, Jul 15, 2011 at 4:59 AM, Anupam Jain  
wrote:
> > Hi all,
> > 
> > I originally posted this question on
> > stackoverflow > ns-in-bash-when-you-do-ctrl-c-hint-its-not-simply-sending-a-sigint>
> > , but did not receive a satisfactory response. Any ideas?
> 
> Mystery solved!
> 
> The reason is because apt-get invokes a program called http to
> download packages. Here is what I tried.
> 
> Terminal 1
> 
> $ sudo su
> $ apt-get install wetlands-data   (some package I found randomly to
> be big)
> 
> Terminal 2
> 
>  8493 pts/0S+ 0:00 apt-get install widelands-data
>  8495 pts/0S+ 0:00 /usr/lib/apt/methods/http
> 
> When you press control+c, the signal is sent to http and NOT apt-get.
> That's the difference. I tried sending SIGINT to process 8495 and I
> was able to resume download :)

Quite fascinating.  Apparently when you ^C in the shell, it sends the 
signal to the running process and all its child processes, whereas if 
you SIGINT sudo it doesn't seem to pass the signal down.  Question is, 
why?

How about an strace of both methods to see what is the difference in 
signal handling between the shell and sudo?  I'd do it myself but I'm 
too lazy^H^H^H^H^H^H^H^H have too much work on my plate right now ;-)

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [OT] Best pre-paid 3G option in Delhi

2011-07-14 Thread Raj Mathur (राज माथुर)
On Friday 15 Jul 2011, Karanbir Singh wrote:
> On 07/14/2011 03:41 PM, Raj Mathur (राज माथुर) wrote:
> > Right, so now: which Linux-compatible data card?  I presume it
> > makes sense to buy your own data card and use the telco's SIM in
> > that?
> 
> I think the age of the data card is now gone, the options worth
> considering :
> 
> - get an android device that has proper tether support

Skipping Android 2 for now due to its pathetic battery management -- all 
reports indicate that Android 3 is going to be way better in that arena, 
so will await its presence in the market.  Also, need to find an Android 
vendor who doesn't pay royalty to MicroSux.

> - get a wifi device/gsm bridge like the huawei E585 ( a MiFi )

That looks interesting, could add it to the shopping list.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [OT] Best pre-paid 3G option in Delhi

2011-07-14 Thread Raj Mathur (राज माथुर)
On Thursday 14 Jul 2011, Vikas Rawal wrote:
> > On a related note, anyone suggest an el cheapo mobile phone with
> > 3G,
> 
> The cheapest solution would be to by el cheapo phone (without 3G) for
> voice calls and use Nokia 5800 for internet. Since that will reduce
> the load on Nokia 5800, the battery will survive somewhat longer.
> 
> All this, if you are looking for a really cheap solution!!

Thanks for all the information, folks.  At the moment Reliance looks 
like the best option; I only wish they had plans with validity longer 
than 30 days -- if I have to pay them ever month I may as well get a 
postpaid connection!

Right, so now: which Linux-compatible data card?  I presume it makes 
sense to buy your own data card and use the telco's SIM in that?

Incidentally, Vikas, you kids don't realise that at my advanced age, 
getting used to a new phone's functions is no trivial exercise.  I'm 
going to run this Nokia 5800 into the ground before starting the pains 
of switching to a new phone, user interface, phonebook format, etc!

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] [OT] Best pre-paid 3G option in Delhi

2011-07-13 Thread Raj Mathur (राज माथुर)
Hi, I was thinking of getting one of those pre-paid MTNL 3G SIMs to use 
for 'net access when on the road or out on work.  Is there any company 
which is giving a better deal?  Pre-paid is a must: my mobile 'net 
requirement is sporadic, and I don't want to have to keep paying the 
telco every month regardless of whether I use the service or not.

On a related note, anyone suggest an el cheapo mobile phone with 3G, 
Bluetooth and decent battery life that one can use as a modem with 
Linux?  My Nokia 5800 does all that, but (a) it's not el cheapo, (b) I'm 
already using it with Vodafone and (c) its battery life, while adequate 
for talk, isn't too good with both BT and 3G on.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Looking for a geek meetup or get together in Bangalore Linux-Bangalore chapter

2011-07-04 Thread Raj Mathur (राज माथुर)
On Tuesday 05 Jul 2011, Neeraj Narayan wrote:
> I had been attending the linux meetings and get together in Delhi.
> Now since I have been relocated to Bangalore, I would like to be
> familiar with the FOSS people in Bangalore.
> 
> Please suggest some group or link...
 
http://groups.google.com/group/ilug-bengaluru?hl=en

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] [COMMERCIAL] Java/Tomcat and web toolkit coders wanted

2011-06-14 Thread Raj Mathur (राज माथुर)
Hi,

A big-name client is looking to develop a client/server application 
using Java, Web toolkits and Tomcat for international deployment.  They 
are offering decent money for a 6-8 month contract, with possibility of 
employment later if both parties are amenable (they have large 
international development centres in NCR and Bengaluru).

I'm the project manager for this exercise.  If you're interested in 
sleepless nights, forgotten weekends and the opportunity to work with 
other elite professionals on a package that will eventually be deployed 
at millions of locations, please mail me your CV and be prepared for a 
gruelling interview :)

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Fork Bomb and User Limit: Some Serious Concerns.

2011-06-08 Thread Raj Mathur (राज माथुर)
On Wednesday 08 Jun 2011, Ankit Chaturvedi wrote:
> > Is there a way we can tweak the ulimit - user limit for all users.
> > http://www.linuxforums.org/forum/security/90836-user-limits-linux.h
> > tml - wasn't so helpful.
> 
> Try 'setrlimit' to set RLIMIT_NPROC to some agreeable value. NPROC is
> the number of processes a user can create. Limiting them will
> atleast leave you with enough resources to start a shell and kill
> the offending process (bash in this case).
> ulimit will not work if you don't have pam_limits module for your
> kernel (it's not built by default). Try loading pam_limits module
> manuallly and see if the limits in /etc/security/limits.conf are
> honored then.
> 
> There is no definite solution to preventing a fork_bomb as such, but
> patches like this http://grsecurity.net/ may help you finding which
> user started the fork bomb, though it might be an overkill for
> single user systems.

So will any of these solutions work when the user is logged in as root?

In general, how are you going to prevent root from destroying your 
system?

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Fork Bomb and User Limit: Some Serious Concerns.

2011-06-07 Thread Raj Mathur (राज माथुर)
On Wednesday 08 Jun 2011, Amar Akshat wrote:
> I have been lately disturbed by my fellow novice intern admins who
> have been granted super user privileges. They are all trying the
> kiddish stuff and it upsets the environment, and more over I am
> unable to hang around and see what is happening and fix that.
> 
> Lately some of them have discovered "fork bomb", example
> 
> :(){ :|: & };:
> and this works in my personal Ubuntu v-machines. I have figured out
> that if run as root, this would keep on exhausting memory and system
> ultimately goes down very slow.
> 
> Is there a way we can tweak the ulimit - user limit for all users.
> http://www.linuxforums.org/forum/security/90836-user-limits-linux.htm
> l - wasn't so helpful.

In my opinion you're trying to solve the wrong problem.  Giving 
untrusted users admin access on production systems is going to keep 
causing problems, regardless of how many such "vulnerabilities" you 
close.  The real solution is to remove admin access from all except a 
few experienced users.

If you can't do that, give each one of them a virtual machine to play 
with and let him/her destroy it in whatever innovative fashion s/he 
finds convenient.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [OffTopic] Preview of the new website

2011-06-07 Thread Raj Mathur (राज माथुर)
On Tuesday 07 Jun 2011, Shamail wrote:
> I've been working on a project from some time,
> http://tunesdiary.com
> 
> Its now open for preview, please have a look at it and tell me the
> goods and the bads.
> Hope you like my work.

Does this have anything to do with FOSS, even tangentially?

On an unrelated note, I see that the site has a friend addition feature.  
Great, now we can expect spam from there too!

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Invitation to connect on LinkedIn

2011-06-04 Thread Raj Mathur (राज माथुर)
On Sunday 05 Jun 2011, Shubhneet Goel via LinkedIn wrote:
> Shubhneet Goel requested to add you as a connection on LinkedIn:

Added:

  
http://wiki.linux-delhi.org/cgi-bin/twiki/view/Main/DoNotTrustMeWithYourPersonalData

And no, this is not about some Vinay -- the same mail has come to at
least 2 mailing lists I'm subscribed to, as well as to me personally.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Invitation to connect on LinkedIn

2011-06-01 Thread Raj Mathur (राज माथुर)
On Wednesday 01 Jun 2011, Vivek Kapoor wrote:
> On 06/01/2011 05:41 PM, Prakhar Agarwal  
wrote:
> > Dude, it wouldn't hurt to check the "email-id" itself before
> > shooting off a mail to anyone. Your friend "Vinay" in your contact
> > list is saved as
> > 
> > Vinay Kumar Gupta 
> 
> Prakhar & Ravi - how did you get his name and email address? Also,
> what does this guy do? Is he an employer or a consultant - if you
> search the past archives for at=least a year or two, you'll only see
> mention of Vinay
> 
> http://search.gmane.org/?query=invitation+to+connect+on+linkedin&auth
> or=&group=gmane.user-groups.linux.delhi&sort=relevance&DEFAULTOP=and&
> xP=Zinvit%09Zlinkedin&xFILTERS=Guser-groups.linux.delhi---A
> 
> 
> Maybe the users here aren't actually opening up their address books
> to linkedin. Almost all wanted to add Vinay for some reason. So,
> their addition to the hall of shame may need a review :-) Rather
> this Vinay is the culprit who would need to change his email
> address.

If that were the case, the friends of this putative Vinay Gupta would be 
able to tell us something about him, starting with his real e-mail ID.  
Until then, I stick to adding names to the Wiki page.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Invitation to connect on LinkedIn

2011-05-31 Thread Raj Mathur (राज माथुर)
On Wednesday 01 Jun 2011, Amar Akshat wrote:
> I support this, a policy can be put in place by the admins over this
> DL. Putting the name in a webpage (like a box of shame) also kind of
> discourages people to post in and join in.

How exactly does putting your name on a page if you insist on giving 
your password away to an untrusted site prevent you from joining and 
participating in a technical mailing list?  The two are completely 
unrelated.

Site/address blacklists don't work, since there are so many sites 
nowadays that ask you for your password it's impossible to keep track of 
them.  On the other hand, if someone's volunteering to make such a 
comprehensive blacklist AND maintain it on a regular basis, I'm sure the 
list admin(s) can be persuaded to use those.

The Wiki page is not an official mailing list policy or an official 
ILUGD initiative.  It's a user initiative, and updated by users.  If 
your name is on that page and you don't want it there, all you need to 
do is sign up on the Wiki (it's free and automatic), edit the page and 
delete your name from there -- not exactly rocket science.

Finally, I'd be glad if someone took on the task of educating every 
Internet user on how foolish and insecure it is to give your password 
away to any site that asks for it.  Until that is done, however, shame 
works as an excellent motivation to learn really fast.  Since that Wiki 
page was started, the number of offences on this mailing list has gone 
down by 64.729% (create your own statistics if you don't like mine :)

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] AnyRemote

2011-05-28 Thread Raj Mathur (राज माथुर)
[Posted to http://wiki.kandalaya.org/cgi-bin/twiki/view/Main/AnyRemote]

* Why

What do you do if you (a) use your computer a lot for watching movies 
and playing music, like I do, and (b) you are a lazy SOB who can't be 
bothered to get up from the sofa to change the volume or skip a track, 
like I am?

You get yourself a remote control for the computer.

* History

Many years ago I had bought a TV tuner card for the computer, which came 
with a free remote control. Those were the days when computers used to 
come with serial ports (remember ttyS0, stty and AT commands? Nah, you 
kids wouldn't know any of this stuff!) Anyhow, my trusty neighbourhood 
hardware vendor aka Amit Kalra (he's paying me Rs 5000 to promote his 
name) had no problems finding me an IR dongle that would connect to the 
serial port and was Linux compatible; two weeks of banging my head on 
LIRC, mailing lists and suchlike and voila! I could fast-forward songs 
in Hindi movies and replay the steamy tracks in English ones again and 
again, all with just a push of a button entailing minimal change to my 
vegetative state. Heady days!

Then the computer changed, the IR dongle blew up and the remote stopped 
working, and for many years I had to make a choice between getting up to 
fast forward, bearing the excruciating pains in knee joints, and 
watching Rajesh Khanna (remember him?) rolling his eyebrows when a song 
came up. Then the pain became so bad (and Rajesh Khanna's eyebrow-
rolling so intolerable) that I had no choice but to find a non-IR remote 
control for the computer at any cost. Back to Google, which threw up...

* AnyRemote!

At first I was a bit suspicious of their claims. I mean, doesn't a 
remote control software that claims to work through bluetooth, infra-
red, WiFi, IP, cable and web sound like a terminal case of creeping 
featuritis? What turned the scales was the availability of a Debian 
package in the mainstream repositories -- if Debian has packaged it, 
IMO, it's at least worth checking out. So a couple of aptitude installs 
and I was ready to go. Stick in the BT dongle and fire up AnyRemote, and 
it presents you with a long list of applications that it can control. 
Now to get the pointer device setup...

Since my phone supports both BT and Java midlets, all I needed was the 
AnyRemote Java client. A bit of going back and forth between the various 
icon sizes, and the midlet was installed, and started up OK. Now for the 
acid test... fire up amarok, stick in some 70s rock tracks and load up 
AnyRemote on the phone.

OK, it detects my computer's BT out of the box. Press "Connect", and... 
oh suck! no amarok-specific buttons come up! WTF? Open the kanyremote 
GUI window on the computer and it lists available applications, 
including amarok. OK, let's try double-clicking on amarok and restarting 
the agent on the phone, and it works! I can control amarok through the 
phone, what joy! Similar test on mplayer, and that works too.

* Functionality

Now that the fundamental functionality was done, I could fool around 
with other features. The ready-made mplayer functionality lets you 
remotely fast-forward, rewind, change volume, pause, mute, switch 
between window and full-screen modes, quit and load a new file. All well 
and good, and I use it mostly just for volume changes and pausing and 
restarting anyway.

The amarok functionality is another kettle of fish altogether. It can do 
everything (well, everything relevant) that the mplayer icon set does. 
Apart from that it lets you switch songs (next, previous) in the 
playlist. The killer-app amarok features, which blew what passes for my 
mind, however are:

- Load up and select from playlist. Yup, press one of the icons and 
AnyRemote shows you your current playlist on the phone itself, and lets 
you scroll around in that and select which track you want to play. Cool, 
huh? But wait, there's more...

- Press another button and it brings up all the context for the current 
track on your phone. That's right, you can see information related to 
the track, the Wikipedia page for the artist (and the track, if there's 
one) and even the lyrics for the currently playing track. OK, creeping 
featuritis or no creeping featuritis, this is to die for!

Apart from amarok and mplayer, AnyRemote has built-in support for about 
20 other packages that I could find (I can already see how making 
presentations would be much easier using the phone to control slide 
transitions). Adding support for new packages entails writing a script 
in some arcane and completely ungrokkable scripting language that 
AnyRemote uses for doing its magic, but should be comparatively easy if 
you use an existing script as a base.

* Conclusion

In summary, AnyRemote is an excellent tool for remote controlling apps 
on your computer through your bluetooth- and Midlet-enables mobile phone 
(and presumably other means too, which I haven't bothered to check.) 
It's fairly easy to setup and use, and has awe

Re: [ilugd] [OFF-TOPIC] Looking to loan/rent Blackberry

2011-05-28 Thread Raj Mathur (राज माथुर)
On Saturday 28 May 2011, Vivek Kapoor wrote:
> Haha, this is interesting. BTW, wasn't the user supposed to be
> ram1.foo.com in your case instead of r...@foo.com? Are there two
> profiles created in Vodafone's blackberry interface for that user?

I'm wondering that is the case: two profiles, one that works and one 
that doesn't, somehow causing interference patterns.  The mail reaches 
the BB quickly when the two sine waves reinforce each other and late 
when they are 180 degrees out of sync, sort of :)

As for the users, system users are user.foo.com, IMAP users are 
u...@foo.com.

> Again, is it only one user that's facing this issue?

As far as I know, will have to check on Monday.

In any case, thanks for all the help, everyone!  Will keep you posted if 
there are any updates.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [OFF-TOPIC] Looking to loan/rent Blackberry

2011-05-27 Thread Raj Mathur (राज माथुर)
On Saturday 28 May 2011, Vivek Kapoor wrote:
> Okay. I wasn't aware of that. However, what I have seen happening
> with blackberry users, in Delhi, India, with both Airtel and
> Vodafone is that they receive mails instantly - even before they
> pop-up in their Outlooks and Thunderbirds. There's not even a 15
> second delay. I don't think BIS would be connecting to the server
> every few seconds (POP3ing or IMAPing - though have not checked the
> log), and the only possible explanation I can think of is IMAP IDLE,
> unless there's something else Blackberry is doing - maybe connecting
> to IMAP and kind of 'refreshing' the mailbox every few seconds.

Just to make it more interesting, here's a message that keeps popping up 
from time to time in the mail logs:

LOGIN FAILED, user=r...@foo.com, ip=[:::178.239.83.191]

The IP belongs to RIM, UK.

However, the user still receives mails addressed to r...@foo.com on his 
BB from time to time.

I mean, WTF?

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [OFF-TOPIC] Looking to loan/rent Blackberry

2011-05-27 Thread Raj Mathur (राज माथुर)
On Friday 27 May 2011, Vivek Kapoor wrote:
> On 05/27/2011 03:22 PM, Raj Mathur (राज माथुर) 
> wrote: 
> 
> > Mail sent to r...@bar.com reflects immediately in the user's
> > webmail, Outlook, couple of other mail clients AND his BB.
> > 
> > Mail sent to r...@foo.com reflects immediately in the user's
> > webmail, Outlook, couple of other mail clients, but NOT his BB. 
> > It may take anything from 15 seconds (acceptable) up to an hour
> > (definitely not acceptable) to reach his BB.
> 
>  From one of your previous emails related to the scenario you
> mentioned above, I infer that you're using Courier. Also, you are
> using IMAP instead of POP3 since your r...@bar.com receives mail
> instantly.

That is correct.

> There's an IMAP feature called IDLE which enables detection of
> incoming emails. So, as soon as an email comes, the client is
> intimated instantly - provided the client understands IMAP IDLE.
> However, from my experience, Courier's implementation of IMAP IDLE
> is not optimum. I've seen that the client is IMAP IDLE capable, and
> is connected but Courier doesn't intimate the client when a new
> email comes.

I'd go with that, except for one datum: mail sent to the user's account 
on the other domain on the same server reaches his BB immediately.

Figure that one out!

In the meantime I'll see if the service provider mentions IMAP IDLE in 
their report.  If they do, will disable it altogether if possible -- 
what with all the custom scripting et al, it's going to be painful to 
switch IMAP servers at this stage.  (Which reminds me, need to upload 
those scripts somewhere.)

Worst case scenario, will recommend setting all BB accounts to POP3 -- I 
presume that is possible?  Or do RIM/service provider decide which 
protocol they will use on your behalf?

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


  1   2   3   >