Re: [Ilugc] python doubt
On Mon, Jan 12, 2009 at 9:15 PM, swamynathan wrote: > hello, > i am doing a small virtual piano program in python.. > i have a situation where i need to get multiple keystrokes from key board > and send it to a function > the function accepts only char.. > > eg if i press 'a' , 'a' is passed to the function > if i press 'a','d' then the function should be called simultaneously > > i tried using threads it dint seem to work > > > or any other suggestion Hi, Which toolkit are you using from python? Your answer will really depend on that. Python itself doesn't go too far in this kind of functionality. Regards, Shash ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Two static ip no bandwidth shared
Dear all , Mr. Mohan Thanks for your comments I have need to setup Two static ip connection in a single linux box --Squid proxy connection eth1 --- Airtel static ip low Bandwidth eth2 --- Tata Static Ip High Bandwidth eth0 --- Local Lan connection eth1 & eth2 should not share internet connection but they should up how to implement in linux both are in different Floor can i use linux as a router box and any have proxy to be used by the people with different port like 3128, 8080 how can i setup the ipaddress for them i have no idea just share with me help me sirs Kindly refer my Network connections files Please mail soon with Regards, Mettur mohan network connections.odg Description: application/vnd.oasis.opendocument.graphics ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] RE: Gnokii
Dear ILUGs, Is it work on any type of mobile? It is possible to make an shell script to send message? Padhu, Pollachi. -- Knowledge is power ! "Be an Energy Miser - Use Electricity Wiser" ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Two static ip no bandwidth shared
On Mon, Jan 19, 2009 at 2:38 PM, mettur salem wrote: > Dear all , > > Mr. Mohan Thanks for your comments > > I have need to setup Two static ip connection in a single linux box > --Squid proxy connection > eth1 --- Airtel static ip low Bandwidth > eth2 --- Tata Static Ip High Bandwidth > eth0 --- Local Lan connection Please make sure all three cards are in different subnets. > eth1 & eth2 should not share internet connection but they should up > how to implement in linux both are in different Floor I do not understand the intent here. What do you mean by saying "eth1 and eth2 should not share internet"? It will be easier if you state what you want to achieve. Is it that you want occupants of one floor to use Airtel for internet access and the other to use the TATA link? > can i use linux as a router box and any have proxy to be used by the people > with different port like 3128, 8080 This is possible. Mohan ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Two static ip no bandwidth shared
On Mon, 19 Jan 2009, mettur salem wrote: > eth1 & eth2 should not share internet connection but they should up > how to implement in linux both are in different Floor. Handling 2 Internet connection is very much possible in Linux Env. So 1st setup the system to handle one connection, use following link: www.cyberciti.biz/tips/linux-setup-transparent-proxy-squid-howto.html Once it is working, you can add the another connection with little modification. Bye :) -- Bharathi S ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] RE: wubi - ubundu installer 4 windowz users
Hi Ubuntu Live CD itself have an Windows Installer. avoid it, if you love/wish to learn Linux :-) Padhu, Pollachi. -- Knowledge is power ! "Be an Energy Miser - Use Electricity Wiser" ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Two static ip no bandwidth shared
On Mon, Jan 19, 2009 at 3:16 PM, Bharathi Subramanian wrote: > On Mon, 19 Jan 2009, mettur salem wrote: > >> eth1 & eth2 should not share internet connection but they should up >> how to implement in linux both are in different Floor. > > Handling 2 Internet connection is very much possible in Linux Env. So > 1st setup the system to handle one connection, use following link: Handling 2 links for outgoing connections is {done via | a function of} the routing subsystem and not squid, IMHO. Mohan ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] RE: Gnokii
On Mon, Jan 19, 2009 at 3:09 PM, பத்மநாதன் wrote: > Dear ILUGs, > Is it work on any type of mobile? So far, i tried in Nokia 7610 and 3110. Selected gnokii commands worked. > > It is possible to make an shell script to send message? yes,it is possible to do with any language which can run commands found in /bin Regards, Deepak. ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] python doubt
> > > Hi, > > Which toolkit are you using from python? Your answer will really > depend on that. Python itself doesn't go too far in this kind of > functionality. > > Regards, > Shash > > i tried a very basic one in python it self but will be using pymedia http://pymedia.org/ -- your caring/loving/sincere/oyoyoy[select it urself] swamynathan. ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Two Static Ip
On Monday 19 Jan 2009, mettur salem wrote: > I need your invaluable support to share your best thoughts how to > implement this > it s very urgent i need to implement in squid Suggest you seek professional help if it is very urgent. -- Regards, Arun Khan ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Two static ip no bandwidth shared
On Monday 19 Jan 2009, Mohan Sundaram wrote: > On Mon, Jan 19, 2009 at 2:38 PM, mettur salem wrote: > > Dear all , > > > > Mr. Mohan Thanks for your comments > > > > I have need to setup Two static ip connection in a single linux > > box --Squid proxy connection > > eth1 --- Airtel static ip low Bandwidth > > eth2 --- Tata Static Ip High Bandwidth > > eth0 --- Local Lan connection Your diagram helps clarify your intent :) You are one of the few in thousands who have asked networking questions and do not bother to say it with a picture! > > Please make sure all three cards are in different subnets. > NOTE: given your topology, you will have to ip "alias" one of the 192.168.x.y networks. You can keep the two net traffic completely segregated if you can add another NIC. Nonetheless, you can redirect the traffic from the 2 nets to the respective ISPs with iptables rules. > > eth1 & eth2 should not share internet connection but they should up > > how to implement in linux both are in different Floor > > I do not understand the intent here. What do you mean by saying "eth1 > and eth2 should not share internet"? It will be easier if you state > what you want to achieve. Is it that you want occupants of one floor > to use Airtel for internet access and the other to use the TATA link? > Yup, I think that is what he means, otherwise his query does not make any sense given the context of his net diagram. -- Regards, Arun Khan ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] This is really funny
On Monday 19 Jan 2009, Arun SAG wrote: > > http://www.microsoft.com/windowsserver/compare/default.mspx > This is why i hate M$ Agree, but the target audience for these studies are people who don't bother to find out for themselves for various sources and come to their own conclusion. To the uninitiated, these reports paint a rosy picture of MS solution. -- Regards, Arun Khan ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Anyone at MIT, GOI listening?
Guys, To make things happen & turn each and every stone, actual transformations, reformations (say in Indian socieal structure as someone pointed out...) and essential systems need to be in place. Essential systems could be like sabbaticals, promoting entrepreneurs & new ventures, incubating new ideas etc. Only when there is a real economics and a real eco-system revolving around whatever avenues you think of (like sabbaticals) for mobilising something related to FOSS, you can minimize your 'distance-factor'. Thanks, Selva. ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] problem with ant fresh_install
I am trying to install dspace-1.5.1 ( an institutional repository) in my debian machine. Here, in one step, i need to use ant installer. So, i used *ant fresh_install* there. But, it failed. It shows me the error: *Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.4.2-gcj-4 .1-1.4.2.0/lib/tools.jar* But, i am pretty much sure that, i have installed jdk1.5.06 in my * /usr/local/java/jdk1.5.0_06/* Here are the lines from my /etc/profile: export PATH umask 022 JAVA_HOME="/usr/local/java/jdk1.5.0_06" PATH="$PATH:/usr/local/java/jdk1.5.0_06/bin" export JAVA_HOME export PATH PATH="$PATH:/opt/apache-maven-2.0.9/bin" export ANT_HOME=/usr/share/ant PATH="$PATH:/usr/share/ant/bin" export PATH=${PATH}:${ANT_HOME}/bin:${JAVA_HOME}/jre/bin:$PGDATA export ANT_HOME export PATH JAVA_OPTS="-Xmx512M -Xms64M -Dfile.encoding=UTF-8" export JAVA_OPTS Can anyone please help me? I need it really badly. -- Best, Z ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] This is really funny
On Mon, Jan 19, 2009 at 9:17 PM, Arun Kumar Khan wrote: > On Monday 19 Jan 2009, Arun SAG wrote: > > > > > http://www.microsoft.com/windowsserver/compare/default.mspx > > This is why i hate M$ > > Agree, but the target audience for these studies are people who don't > bother to find out for themselves for various sources and come to their > own conclusion. To the uninitiated, these reports paint a rosy picture > of MS solution. > I was reminded of http://www.microsoft.com/windowsserver/compare/windows-server-vs-red-hat-linux.mspx I was stunned at the stupidity of the so-called "IT giant" when it pointed out that the only manageability feature of RHEL was the yum update tool. Can they be so stupid? (Yeah.. They are). I soon realized that it was yet another MBA guy who has never used a more complicated software than MS Paint who must have reviewed the OSes. Open Standards != Open Source? Why Microsoft does not even bother about interoperability. It expects others to spend time making it interoperable with its crap OS. That is sickening since M$ has probably the most useless API one can ever come across. MFC huh? Most ed Classes. Now .nOt! Maybe there was a link in the page you pointed to too. I agree with M$ that there is no silver bullet in security. The only thing they dont seem to realize is that there is no way of patching an OS that is fundamentally flawed. It M$ did feel that the admin user was an irritance, why did they add that to XP and Vista? >From the days when Linux pointed out the places where it was deployed, M$ seems to have had to hunt deeply for finding out a city that used M$ software. I guess the mayor was clueless anyway. I can't believe my eyes when I see a reliability column in that page. If I argued like M$ did(reinterpreting every definition), I would say a leader is one who keeps his people happy. So every clown is a leader! Out of 100 people Microsoft employs, 80 are MBA grads, 9 are lawyers, 9 are spokesmen and the 1 HR rep? Coders, anyone? I wonder how Leslie Lamport and Simon Peyton Jones joined there. Maybe it is the assurance that M$ will never use the quality software that they create. --- Ashok `ScriptDevil` Gautham. P.S: My apologies to all clowns. I shouldn't have demeaned your talents by the analogy to Microsoft ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Two static ip no bandwidth shared
On Mon, Jan 19, 2009 at 9:09 PM, Arun Kumar Khan wrote: > On Monday 19 Jan 2009, Mohan Sundaram wrote: >> On Mon, Jan 19, 2009 at 2:38 PM, mettur salem > wrote: >> >> I do not understand the intent here. What do you mean by saying "eth1 >> and eth2 should not share internet"? It will be easier if you state >> what you want to achieve. Is it that you want occupants of one floor >> to use Airtel for internet access and the other to use the TATA link? >> > > Yup, I think that is what he means, otherwise his query does not make > any sense given the context of his net diagram. Now, if this is what you want to do with one machine, it is quite involved. Given the kind of information you've given so far, I'd reckon you are better of setting up one proxy server per floor and have the appropriate link connected to that linux machine. If you want to do it with 1 machine, the scheme as under can be used. You'll have to toil hard to understand, compile and implement this. I've not tried this before. 1. Set up 2 route tables say t1 and t2. t1 has Airtel as the default route and t2 has TATA. 2. Place each floor in different subnets. Let us say s1 - 192.168.1.x is floor1 (Airtel) and s2 - 192.168.2.x is floor2 (TATA). 3. Compile squid with the qos-enabled patch/option. 4. Write rules in squid to mark TOS bytes for connections it makes on behalf of requests coming from s1 as value X and from s2 as value Y. 5. Write ip rules to direct packets with TOS value X to lookup routes on t1 and that with Y from route table t2. HTH Mohan ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] collaborative authoring software
On Thu, Jan 8, 2009 at 12:56 PM, Kenneth Gonsalves wrote: > can anyone suggest collaborative authoring software? A person should be > able > to upload and edit a document, and others may view, give comments inline, > or > edit depending on permissions. just came across this, http://opengoo.org/ -- Regards, Sri Ramadoss M ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Two static ip no bandwidth shared
On Tue, Jan 20, 2009 at 7:09 AM, Mohan Sundaram wrote: > On Mon, Jan 19, 2009 at 9:09 PM, Arun Kumar Khan wrote: >> On Monday 19 Jan 2009, Mohan Sundaram wrote: >>> On Mon, Jan 19, 2009 at 2:38 PM, mettur salem >> wrote: >>> >>> I do not understand the intent here. What do you mean by saying "eth1 >>> and eth2 should not share internet"? It will be easier if you state >>> what you want to achieve. Is it that you want occupants of one floor >>> to use Airtel for internet access and the other to use the TATA link? >>> >> >> Yup, I think that is what he means, otherwise his query does not make >> any sense given the context of his net diagram. > > Now, if this is what you want to do with one machine, it is quite involved. > > Given the kind of information you've given so far, I'd reckon you are > better of setting up one proxy server per floor and have the > appropriate link connected to that linux machine. > > If you want to do it with 1 machine, the scheme as under can be used. > You'll have to toil hard to understand, compile and implement this. > I've not tried this before. > 1. Set up 2 route tables say t1 and t2. t1 has Airtel as the default > route and t2 has TATA. > 2. Place each floor in different subnets. Let us say s1 - 192.168.1.x > is floor1 (Airtel) and s2 - 192.168.2.x is floor2 (TATA). > 3. Compile squid with the qos-enabled patch/option. > 4. Write rules in squid to mark TOS bytes for connections it makes on > behalf of requests coming from s1 as value X and from s2 as value Y. > 5. Write ip rules to direct packets with TOS value X to lookup routes > on t1 and that with Y from route table t2. > > HTH > > Mohan Did some more reading up on the part I've not used i.e. squid tos marking. Looks like it supports only blanket outgoing tcp TOS marking without any rule based support. What I listed out will not work then. Alternative: 1. Ditch Squid and go for a simple gateway based solution. 2. Write ip rules to identify connections from s1 or s2 and direct them for lookup to tables t1 and t2 respectively. Mohan Mohan ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc