Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs
User Name



Remote management of Linux systems via Python and ssh (Part 2)

Posted 02-03-2009 at 08:44 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 10-27-2009 at 06:50 PM by rocket357 (modified code)

My last blogpost on Python/SSH seemed to be popular, so here I am again with a more in-depth look at what can be accomplished with this pairing.

To recap, I manage 300 databases, some M$ SQL Server, some PostgreSQL. There are a ton of Apache/Linux machines on our network and quite a few "traffic cops" based on Linux and BSD (as well as a few Cisco machines) for routing external traffic to internal machines. Pretty standard stuff. The IT department has a director, a network...
Posted in Python
Views 5057 Comments 0 rocket357 is offline

Update on Rapla

Posted 02-03-2009 at 03:22 PM by SrDorothy

Checked in with my friend "who knows all"...and got a reminder that nobody knows everything, and/or has the time to learn everything. He is more familiar with php than java, so he had me look for programs that are written in php. I found a number, so picked out a few and we plan to download and try them one by one. This is all in aid of bringing our retreat house room-booking up to date...So for now Rapla is out and we'll see what else might be in! This is not to say Rapla might not...
LQ Newbie
Posted in Uncategorized
Views 1087 Comments 0 SrDorothy is offline

Java script checking form elements

Posted 02-03-2009 at 02:53 PM by 3vra

I understand your code but it does'nt do what I want it require.

Originally Posted by gn000we View Post
You have nested the ifs!

Also it helps to indent the code too, so you can see what it's doing.

(a cutting from your code, indented)
for(i=0; i<document.inventory_sys.elements.length; i++)
   if (document.inventory_sys.elements[i].type == "checkbox")
      if (document.inventory_sys.elements[i].checked == false)
Posted in Uncategorized
Views 1309 Comments 0 3vra is offline

Can anyone help me build a webcam device driver?

Posted 02-03-2009 at 08:45 AM by mcvasant

I've installed Fedora 6 (kernel 2.6.18-1.2798.fc6) on my Acer Aspire 5570 laptop.
It's got an Acer Orbicam webcam on it.I am trying to build a device driver for it as it does not work on its own in Linux.

I've first tried to build a simple "hello world" module as a driver.
Here are the things I did:

1. Installed kernel-devel-2.6.18-1.2798.fc6.i586 as

yum install kernel-devel-2.6.18-1.2798.fc6.i586

2. Then...
LQ Newbie
Posted in Uncategorized
Views 819 Comments 0 mcvasant is offline

suse 11.1, screen darkens after booting

Posted 02-03-2009 at 12:43 AM by Nityanandi
Updated 03-26-2009 at 02:50 AM by Nityanandi (Meant to make it clean and concise, ended up wuffling even more.)

Brand-new installation, Asus 9rp laptop: SUSE 11.1. Problem: screen dims, as last step of boot-up. It virtually cannot be seen. New OS looks startlingly good, cannot be enjoyed until fixed.

This must be a KPowersave laptop setting. I fixed it once with PowerDevil...and once i accidentally booted on DC power and the screen stayed bright. When i can face it, i'll have to fix this on DC power.

Meanwhile i've lost my mind, because using cognition for highest Consciousness...and...
LQ Newbie
Posted in Uncategorized
Views 1249 Comments 1 Nityanandi is offline


All times are GMT -5. The time now is 12:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration