Re: [Ilugc] Error in bundle install
Hi, The same problem persist after installting the libmysqlclient-dev. Request other suggestion to overcome the problem. Thanks, V. Karthick On Tue, Feb 7, 2012 at 12:19 PM, sasi kumar tmsasiku...@gmail.com wrote: Hi Could not find gem 'mysql (= 0) ruby' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems. Check whether libmysqlclient-dev is installed . Regards Sasi kumar T ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- Thanks, V. Karthick My Experience shared in : http://vkarthickeyan.wordpress.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in bundle install
Did you try the following? `gem install mysql -v '2.8.1'` as mentioned in the error message? What is the output? -- Regards, T.Shrinivasan My Life with GNU/Linux : http://goinggnu.wordpress.com Free/Open Source Jobs : http://fossjobs.in Get CollabNet Subversion Edge : http://www.collab.net/svnedge ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in bundle install
Hi Hi, The same problem persist after installting the libmysqlclient-dev. Install libmysqlclient16 package . If you still get an error post the error log . It would help to figure out . Regards Sasi kumar T ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] remotely accessing a machine on a lan with dynamic IP
hi, I maintain a server in a remote place. It is connected to a LAN - the LAN is the usual poor man's LAN which uses the BSNL router as the dhcp server. They have dynamic IP from bsnl. The machine the machine has a fixed IP (192.168.1.123). The inward facing IP of the router is 192.168.1.1. Is it possible to ssh into this machine from outside, and if so how? -- regards Kenneth Gonsalves ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in bundle install
When I do gem install mysql -v '2.8.1' no errors. The output is Building native extensions. This could take a while... Successfully installed mysql-2.8.1 1 gem installed Installing ri documentation for mysql-2.8.1... Installing RDoc documentation for mysql-2.8.1... When I do bundle install in the created blog I am getting an error message \ Gem files will remain installed in /root/blog/mysql/ruby/1.8/gems/mysql-2.8.1 for inspection. Results logged to /root/blog/mysql/ruby/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out An error occured while installing mysql (2.8.1), and Bundler cannot continue. Make sure that `gem install mysql -v '2.8.1'` succeeds before bundling. and also Iam getting an unique error when I run the command $rake db:create Pl advice. Thanks, V. Karthick On Wed, Feb 8, 2012 at 1:49 PM, Shrinivasan T tshriniva...@gmail.comwrote: Did you try the following? `gem install mysql -v '2.8.1'` as mentioned in the error message? What is the output? -- Regards, T.Shrinivasan My Life with GNU/Linux : http://goinggnu.wordpress.com Free/Open Source Jobs : http://fossjobs.in Get CollabNet Subversion Edge : http://www.collab.net/svnedge ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- Thanks, V. Karthick My Experience shared in : http://vkarthickeyan.wordpress.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] remotely accessing a machine on a lan with dynamic IP
On Wed, Feb 8, 2012 at 3:54 PM, kenneth gonsalves law...@thenilgiris.com wrote: hi, I maintain a server in a remote place. It is connected to a LAN - the LAN is the usual poor man's LAN which uses the BSNL router as the dhcp server. They have dynamic IP from bsnl. The machine the machine has a fixed IP (192.168.1.123). The inward facing IP of the router is 192.168.1.1. Is it possible to ssh into this machine from outside, and if so how? In the BSNL router, they have to port forward 22 port to the inner machine. check the site http://portforward.com for their model and guide on how to do port forward. -- Regards, T.Shrinivasan My Life with GNU/Linux : http://goinggnu.wordpress.com Free/Open Source Jobs : http://fossjobs.in Get CollabNet Subversion Edge : http://www.collab.net/svnedge ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] remotely accessing a machine on a lan with dynamic IP
On Wed, Feb 8, 2012 at 3:54 PM, kenneth gonsalves law...@thenilgiris.comwrote: hi, I maintain a server in a remote place. It is connected to a LAN - the LAN is the usual poor man's LAN which uses the BSNL router as the dhcp server. They have dynamic IP from bsnl. The machine the machine has a fixed IP (192.168.1.123). The inward facing IP of the router is 192.168.1.1. Is it possible to ssh into this machine from outside, and if so how? The following explains how to set up such a system. Instead of the first step, which updates dyndns, you can modify the script to send you an email whenever the IP address changes. http://www.dyndnscommunity.com/questions/426/how-do-i-access-my-device-from-outside-my-home-net.html I have not tried this. But I too am keen to know if this works. regds, mano ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] remotely accessing a machine on a lan with dynamic IP
On Wed, Feb 8, 2012 at 4:15 PM, Manokaran K m...@smartgrader.com wrote: On Wed, Feb 8, 2012 at 3:54 PM, kenneth gonsalves law...@thenilgiris.com wrote: hi, I maintain a server in a remote place. It is connected to a LAN - the LAN is the usual poor man's LAN which uses the BSNL router as the dhcp server. They have dynamic IP from bsnl. The machine the machine has a fixed IP (192.168.1.123). The inward facing IP of the router is 192.168.1.1. Is it possible to ssh into this machine from outside, and if so how? The following explains how to set up such a system. Instead of the first step, which updates dyndns, you can modify the script to send you an email whenever the IP address changes. http://www.dyndnscommunity.com/questions/426/how-do-i-access-my-device-from-outside-my-home-net.html I have not tried this. But I too am keen to know if this works. regds, mano ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc run a script in the machine with dynamic ip. The script will write the new ip address to the machine which has static ip. In the machine with static ip, read the ip address and connect remotely to the machine. (This is what dyndns is doing internally). ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] remotely accessing a machine on a lan with dynamic IP
Hi, You can also use the DNSExit tool which will be useful to access machine which is in dynamic address. I have not used this product and it is similar to Dynedns. Hope you need to run their Dns client software which will help to catch the registered domain name. http://www.dnsexit.com/Direct.sv?cmd=11 Thanks, V. Karthick On Wed, Feb 8, 2012 at 3:54 PM, kenneth gonsalves law...@thenilgiris.comwrote: hi, I maintain a server in a remote place. It is connected to a LAN - the LAN is the usual poor man's LAN which uses the BSNL router as the dhcp server. They have dynamic IP from bsnl. The machine the machine has a fixed IP (192.168.1.123). The inward facing IP of the router is 192.168.1.1. Is it possible to ssh into this machine from outside, and if so how? -- regards Kenneth Gonsalves ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- Thanks, V. Karthick My Experience shared in : http://vkarthickeyan.wordpress.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] remotely accessing a machine on a lan with dynamic IP
run a script in the machine with dynamic ip. The script will write the new ip address to the machine which has static ip. In the machine with static ip, read the ip address and connect remotely to the machine. (This is what dyndns is doing internally). How ? in our case we either have Server ( Dynamic Ip) - Internal Machine ( Private IP) Router ( Dynamic Ip) Server Host ( Private IP ) in both the cases either the server gets a dynamic public ip or router now can you eloborate on how we can do it? -Satya ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] remotely accessing a machine on a lan with dynamic IP
I maintain a server in a remote place. It is connected to a LAN - the LAN is the usual poor man's LAN which uses the BSNL router as the dhcp server. They have dynamic IP from bsnl. The machine the machine has a fixed IP (192.168.1.123). The inward facing IP of the router is 192.168.1.1. Is it possible to ssh into this machine from outside, and if so how? This is pretty simple to do, I have been using it for a few years now. There are three parts to the problem, 1. Accessing your Dynamic IP 2. Opening your SSH port 3. NAT Loopback (1) Dynamic IP Since the IP is dynamic, you need a domain name which can be updated periodically. There are several dynamic DNS providers, one of the popular ones is dyndns.org which is now dyn.com. They provide a couple of REST APIs which you can use to get your external IP and update the IP in your dyn.com account. I have attached the shell script which you can use. Just modify the script with your newly created dyn.com account name and password. (2) Port forwarding BSNL modems are unpredictable when it comes to port forwarding but you can try it out. In the port forwarding table, just specify incoming port 22 to be forwarded to IP (192.168.1.123) and port 22. (3) NAT Loopback This is just something you should know, it is not required. Even after the above setup, you might not be able to access your domain name directly from your internal network if the router doesn't support NAT loopback. AFAIK, linksys/cisco routers support this while the basic netgear routers don't. I don't know about BSNL modem/routers. In case you are interested, the script does the following, - gets your external ip - resolves the domain name to the current ip - if the current ip and external ip are different, issues an update. Hope this helps. -- 0 update_dyndns.sh Description: application/shellscript ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Ubuntu Global Jam: Call For Events!
Hi luggies, Mr.Shrini we can organize the Ubuntu Global Jam event in chennai.We guys are ready to do it with you. Regards, N.Naresh Aravindh. JFC. *4etudiant*-*4etudiant*.blogspot.com/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Two days FOSS workshop in Tagore Engineering College
Dear all, Myself conducted a two days (02/02/12 03/02/12) FOSS workshop in Tagore Engineering College, Rathinamangalam, Near Vandalur for the 2nd year IT students totalling 100+. At the end of the workshop, Revolution OS movie was screened for 1.5 hours and later a quiz was conducted based on the movie and 10 participants received the copy of LFY issue with DVD. All major distros Live CD/DVDs were also distributed to the students. I would like to thank Prof. Selvi Rajendran / HOD-IT for organizing the workshop. Regards S. Baskar CEO/LinuXpert Sytems twitter.com/linuxbaskar ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in bundle install
On Wed, Feb 8, 2012 at 4:02 PM, Karthikeyan Venkatraman vgkarthick...@gmail.com wrote: When I do gem install mysql -v '2.8.1' no errors. The output is Building native extensions. This could take a while... Successfully installed mysql-2.8.1 1 gem installed Installing ri documentation for mysql-2.8.1... Installing RDoc documentation for mysql-2.8.1... When I do bundle install in the created blog I am getting an error message \ Gem files will remain installed in /root/blog/mysql/ruby/1.8/gems/mysql-2.8.1 for inspection. Results logged to /root/blog/mysql/ruby/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out An error occured while installing mysql (2.8.1), and Bundler cannot continue. Make sure that `gem install mysql -v '2.8.1'` succeeds before bundling. and also Iam getting an unique error when I run the command $rake db:create Pl advice. Try this gem install mysql2 and do a bundle -- Regards Ramachandran ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] remotely accessing a machine on a lan with dynamic IP
On Wed, Feb 8, 2012 at 3:54 PM, kenneth gonsalves law...@thenilgiris.com wrote: I maintain a server in a remote place. It is connected to a LAN - the LAN is the usual poor man's LAN which uses the BSNL router as the dhcp server. They have dynamic IP from bsnl. The machine the machine has a fixed IP (192.168.1.123). The inward facing IP of the router is 192.168.1.1. Is it possible to ssh into this machine from outside, and if so how? Others have already suggested the port forwarding method. Only addition I would like to make is that you also configure iptables connection rate limiting for ssh. This will ensure your server is not brute forced by bots. I recommend you do this on all internet facing servers. Alternate methods which do not require port forwarding: 1. Initiate a connection from the internal server to an external server and port forward from external server to internal ssh. 2. From your internal server connect to an external OpenVPN server. From this external network, you can ssh to the internal server's VPN interface IP address. - Raja ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] remotely accessing a machine on a lan with dynamic IP
On Wed, Feb 8, 2012 at 3:54 PM, kenneth gonsalves law...@thenilgiris.com wrote: hi, I maintain a server in a remote place. It is connected to a LAN - the LAN is the usual poor man's LAN which uses the BSNL router as the dhcp server. They have dynamic IP from bsnl. The machine the machine has a fixed IP (192.168.1.123). The inward facing IP of the router is 192.168.1.1. Is it possible to ssh into this machine from outside, and if so how? -- An extremely popular thread! Great going! I always run a perl script from the dyndns.org site that updates the IP whenever it changes. You have to tweak it a bit everytime you have a different MODEM. Basically all it does is figure out its own IP using the same method as http://www.checkmyip.com which is nothing but a simple CGI that prints the env var REMOTE_ADDR Anyway other than port forwarding there is one more technique which is quite excellent as there is no need to do any port forwarding but it is complex to get working and it requires the machine to be always up and requires a third machine with a public IP. With all these needs I call it excellent since it kind of breaks firewalls and is quite interesting both from a crypto angle and from a networking angle. Anyway I am not going to dwell upon this because if you search last year's or the previous year's posts I have sent a ssh port forwarding technique mail. Look at that and you will know what to do. -Girish -- G3 Tech Networking appliance company web: http://g3tech.in mail: gir...@g3tech.in ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Tribler: Better File Sharing
http://torrentfreak.com/tribler-makes-bittorrent-impossible-to-shut-down-120208/ http://svn.tribler.org/bt2-design/proto-spec-unified/trunk/proto-spec-current.pdf Best A. Mani -- A. Mani CU, ASL, CLC, AMS, CMS http://www.logicamani.co.cc ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] remotely accessing a machine on a lan with dynamic IP
Hi, On Wed, Feb 8, 2012 at 3:54 PM, kenneth gonsalves law...@thenilgiris.comwrote: hi, I maintain a server in a remote place. It is connected to a LAN - the LAN is the usual poor man's LAN which uses the BSNL router as the dhcp server. They have dynamic IP from bsnl. The machine the machine has a fixed IP (192.168.1.123). The inward facing IP of the router is 192.168.1.1. Is it possible to ssh into this machine from outside, and if so how? -- regards Kenneth Gonsalves Take a look at this: https://pagekite.net/ PageKite is software that gives your localhost servers names and makes them globally visible. It works with any computer and any Internet connection. It's so easy you'll never want to think about routers, IP addresses or other technicalities again. It's open source, too! Regards Ravi Kumar ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] SED command
Hi, cat test1.txt: *** ARCHIVE4_15322,0 ARCHIVE4_15323,0 ARCHIVE4_15324,0 ARCHIVE4_15325,0 ARCHIVE4_15326,0 ARCHIVE4_15327,0 ARCHIVE4_15328,1 ARCHIVE4_15329,0 ARCHIVE4_15330,2 ARCHIVE4_15331,56 ARCHIVE4_15332,0 ARCHIVE4_15333,0 ARCHIVE4_15334,0 ARCHIVE4_15335,0 These is my text file I need to modify the the line ARCHIVE4_15331,56 to ARCHIVE4_15331,0 I use this command to modify the text file but the output redirect to saved in another file. But i need to save the output in same file. If any body give me the suggestion. sed -e 's/ARCHIVE4_15328,0/ARCHIVE4_15328,1/g' test1.txt test.txt -- Thanks Regards KUMARESAN C ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] SED command
Hi, --- On Thu, Feb 9, 2012 at 11:18 AM, kumaresan chandran kumaresanchand...@gmail.com wrote: | I use this command to modify the text file but the output redirect to saved | in another file. But i need to save the output in same file. If any body | give me the suggestion. | | sed -e 's/ARCHIVE4_15328,0/ARCHIVE4_15328,1/g' test1.txt test.txt \-- Use sed -i. Learn to read the manual page: $ man sed SK -- Shakthi Kannan http://www.shakthimaan.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] remotely accessing a machine on a lan with dynamic IP
Take a look at this: https://pagekite.net/ This is an interesting service but you might face high latencies, especially for SSH. Unless, they have the service provided out of an Indian DC as well. -- 0 ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Fwd: [PLUG] Programming contest @ Gnunify
On Sat, Feb 4, 2012 at 7:08 PM, Prasanna Venkadesh prasmai...@gmail.comwrote: May we know the Winners Prize details. Searched in the link but couldn't find the details. For system programming contest the prizes are 5K, 3K and 2K . -- Regards, Prasanna Venkadesh PuduvaiLUG Mailing List: http://puduvailug.wordpress.com/mailing-list-guidelines/ FOSS Jobs all over India: http://fossjobs.in ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- Regards, Neependra www.neependra.net ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] About GPL Licensing on a plugin
Hi, I just have a question on GPL Licensing. We are planning to develop a product which will be used to control multiple wordpress sites (Like updating, installing, posting) across multiple wordpress sites at once. But we found that there is already a service (SaaS) doing that. They install a plugin on the required wordpress sites and that plugin is used to do all the process. They control that plugin from their panel. That plugin is released under GPL license (since its a wordpress plugin). We feel we can add more improvements to that product. My question is can we use that plugin for our own SaaS service? Would that be legally fine? Thanks David ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in bundle install
After installing $gem update mysql2, I am getting the error message when I do $bundle install Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb --with-mysql-config=/var/lib/mysql/ extconf.rb:10: command not found: /var/lib/mysql/ --cflags *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 --with-mysql-config Gem files will remain installed in /root/blog/mysql/ruby/1.8/gems/mysql-2.8.1 for inspection. Results logged to /root/blog/mysql/ruby/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out An error occured while installing mysql (2.8.1), and Bundler cannot continue. Make sure that `gem install mysql -v '2.8.1'` succeeds before bundling. I tried to install all sorts of library files related to mysql. Also reinstalled several times $gem install mysql -v '2.8.1' with the syntax --with-mysql-config. Pl advice to overcome the problem. Thanks, V. Karthick On Wed, Feb 8, 2012 at 7:04 PM, Ramachandran V vramachandra...@gmail.comwrote: On Wed, Feb 8, 2012 at 4:02 PM, Karthikeyan Venkatraman vgkarthick...@gmail.com wrote: When I do gem install mysql -v '2.8.1' no errors. The output is Building native extensions. This could take a while... Successfully installed mysql-2.8.1 1 gem installed Installing ri documentation for mysql-2.8.1... Installing RDoc documentation for mysql-2.8.1... When I do bundle install in the created blog I am getting an error message \ Gem files will remain installed in /root/blog/mysql/ruby/1.8/gems/mysql-2.8.1 for inspection. Results logged to /root/blog/mysql/ruby/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out An error occured while installing mysql (2.8.1), and Bundler cannot continue. Make sure that `gem install mysql -v '2.8.1'` succeeds before bundling. and also Iam getting an unique error when I run the command $rake db:create Pl advice. Try this gem install mysql2 and do a bundle -- Regards Ramachandran ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- Thanks, V. Karthick My Experience shared in : http://vkarthickeyan.wordpress.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] remotely accessing a machine on a lan with dynamic IP
On Wed, 2012-02-08 at 16:12 +0530, Shrinivasan T wrote: I maintain a server in a remote place. It is connected to a LAN - the LAN is the usual poor man's LAN which uses the BSNL router as the dhcp server. They have dynamic IP from bsnl. The machine the machine has a fixed IP (192.168.1.123). The inward facing IP of the router is 192.168.1.1. Is it possible to ssh into this machine from outside, and if so how? In the BSNL router, they have to port forward 22 port to the inner machine. check the site http://portforward.com for their model and guide on how to do port forward. an exe file? -- regards Kenneth Gonsalves ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc