Ubuntu Servers :: Run Scripts Via Web - Switch On And Off Lights - Regulate Room Temperature - Open Windows

Aug 25, 2011

I have a very basic problem: My computer is attached to various light switches, central heating, powered windows etc. via RS232 and USB, using homemade custom logic boards. With this I can switch on and off lights, regulate room temperature, open windows etc. all by running some shell scripts on my system. I would now like to create a simple web frontend for this home automation.

What I want is a basic website with buttons, and when someone clicks a button on that website I want the webserver (apache ? ) to execute a script on the the server machine, triggering the rs232 hardware. The website is to be served by apache to make use of an existing structure. How (in what language) could I accomplish that? Javascript and Java are obviously out since they execute on the client, as far as I know PHP can't access the shell (which is probably a good thing), so what's left?

CGI? This will be deployed on an isolated private network secured the old-fashioned way (steel doors, guard dogs, landmines...), so I am not overly concerned about security, but of course it would be nice if the implementation offered at least some basic resistance to bored script kiddies...

View 3 Replies


ADVERTISEMENT

Ubuntu :: Switch Between Open Windows By Mouse?

Apr 21, 2011

i have Ubuntu 10.10 + Compiz, everything seems okay; but when i want to switch between open windows i have to click only on windows Caption Bar, Clicking on Form body dont bring that form to front

View 3 Replies View Related

Fedora Servers :: How To Switch User When Access To Server From Windows?

Dec 3, 2009

I have samba server(Fedora 11) here,but when I want to access to it from WindowXP ,the first time you need to tap in user name and password.But the next time ,you automatically log in Samba server with the user name as the first time you used. But I have not clicked the "Remeber me " option when I logged in.I want to switch user when I want to log in samba,does anybody know what is wrong ?

View 4 Replies View Related

Ubuntu Servers :: Samba - Box Will Not Open On Windows Boxes?

Feb 19, 2010

I've been trying to fix this problem for over a month, on irc chats and searching google for forum threads, all leading me in different directions all bringing me nowhere. In trying to connect from my Windows machine I get the following error:Quote: Windows cannot access \ubuntu

Check the spelling of the name. Otherwise, there might be a problem with your network. To try to identify and resolve the network problems, click Diagnose. Well, clicking "Diagnose" is a huge waste of time.I've paste binned by /etc/samba/smb.conf file and it can be found below -[URL]... Also, when I am on the Ubuntu machine attempting to browse the machines on the network and go to Places >> Network >> Windows Network I get the following error: Quote: Unable to mount location Failed to retreive share list from server

View 2 Replies View Related

Ubuntu Servers :: Landscape Showing Wrong Temperature On HP Proliants?

Dec 9, 2010

Here is quick fix I did for HP Proliant servers where landscape shows wrong temperature eg:

root ~ # landscape-sysinfo
System load: 0.12 Temperature: 8 C <----- WTF
Usage of /: 0.2% of 808.13GB Processes: 214

[code]....

View 1 Replies View Related

Ubuntu Servers :: Open Source Solution To Backup Windows Environment

Feb 17, 2010

I am mainly a Windows admin, but I do *NIX administration from time to time, for now I need to use an open source solution for backup windows environment mainly, I spent last days playing with bacula and backupPC, and I then chose backupPC, I built a solution with it seems working not bad, but before i go on deeper, I thought asking geeks here better, my main experience with back was with Vertias/Symantec Backup Exec, what do you recommend as most similar backup solution in Ubuntu offer a close level (I don't backup to tapes I back to hard disks), also a gui is preferred, while backupPC do a nice work and i handled its client config file (machine_name.pl), but I still do mistakes sometimes and troubleshooting is annoying, I have to backup files from users machines some of these files are running (like PST files), and I could need to backup a database or something from time to time. so whats your opinion all?

View 2 Replies View Related

Ubuntu Servers :: Bash Script To Open 1 Screen Session With Multiple Windows?

Jul 28, 2010

I am trying to write a bash script to open 1 screen session with multiple windows... each one running a different service. Is this possible? I tried several things, and I can start up multiple sessions really easy.. but not 1 session with multiple windows...

I want this so I can attach to that session and quickly move between the different windows.

View 4 Replies View Related

Ubuntu Servers :: Install A Minimal X/windows Manager On Server - Can't Open Display

Sep 18, 2010

trying to set up a very minimal X on my 10.04 64 bit version of Ubuntu running nothing but Open SSH and acting as a firewall/router, making a PPP connection. The reason, is that I want to set up KVM/Qemu and run a virtual machine. The virtual machine will have a graphical environment and will be connected to my TV so that I can watch movies, stream TV etc. using it. So far, I have done the following:

sudo apt-get install xserver-xorg xserver-xorg-core miwm

When I try to run miwm the error message is:

(null): can't open display.

I have no DISPLAY variable set, but even when I set one myself using export DISPLAY=:0.0 it makes no difference.

View 9 Replies View Related

OpenSUSE Hardware :: Is There Around Application To Regulate Mouse Speed

Jun 20, 2010

Is there around an application to regulate the mouse speed? I find the default speed too fast. I could not find one in system preferences.

View 6 Replies View Related

OpenSUSE Network :: Regulate Internet Usage - Blocking Downloads?

Feb 18, 2010

We are switching from an uncapped 512kb line to a 4MB line at the office... One catch though. The 4MB line will only be linked to a 30GB account, without the option to top up. I therefore have been asked to put something in place to regulate what the staff download at work. Basically block movie, music and torrent downloads should be sufficient, but they would also like to have a list of where staff have been in case of abuse. I have tried OpenDNS in the past, but the guys took great delight in getting around this, and did it within minutes... I can't enter a proxy setting into their browsers, because they all have local admin rights on their Windows boxes and will just disable that. How do I do this on a server level, so that they can't get around this?

View 3 Replies View Related

Ubuntu Servers :: HD With Bad Sectors - Need To Switch

Jan 10, 2010

I have some bad sectors on the primary HD and want to move everything to a new HD. What would be the steps to do this. I have 5 running websites on the server. The HD are the same make and model. My current HD setup is
Code:
1 Linux LVM 232.65 GB 1 30370 LVM VG server1
2 Extended 243.17 MB 30371 30401
5 Linux 243.17 MB 30371 30401

View 5 Replies View Related

Ubuntu Multimedia :: Usb Headset - Cannot Regulate The Volume Of The Phones (output) Anymore With Gnome-volume-control

Jun 12, 2010

since using 10.04 I have a big problem with my usb headset (freetalk everyman)

1. Problem: I cannot regulate the volume of the phones (output) anymore with gnome-volume-control. By default the volume is set to 100% which is way too loud. When I set it under 100% there is no sound at all. Values over 100% work.

2. Problem: The X server is freezing iregulary when I connect the headset and disconnect it, Magic SysRq works. I checked Xorg.0.log and found out that it recognizes the usb headset as keyboard:

[Code]...

View 6 Replies View Related

Ubuntu :: Switch From Windows 7 (32-bit) To 10.10 (32-bit)

Feb 19, 2011

I want to switch from Windows 7 (32-bit) to Ubuntu 10.10 (32-bit), but I can't install it on my PC for some reason. I've tried burning the .iso onto 2 or 3 different DVD+ROM discs now, I keep getting the following message when I try to install it.

Message:
BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) mount: mounting /dev/loop0 on //filesystem.squashfs failed: Input/output error
Can not mount /dev/loop0 (/cdrom/casper/filesystem.squashfs) on //filesystem.squashfs

Edit: I got it to work, I'm not sure if this actually made any difference, but I formatted my hard drive using my Windows 7 installation DVD before trying to install Ubuntu 10.10. But it worked fine after that and I'm now running it on my PC without any problems (at the moment).

View 7 Replies View Related

Ubuntu Servers :: How To Switch Off Bandwidth Monitoring

Feb 8, 2010

I switched on bandwidth monitoring on my Ubuntu Server via Webmin on interface eth1. Unfortunately this has filled my disk by writing huge syslog, debug and kernel.log files. How do I switch it off? I can't see a way of doing it in Webmin.

View 1 Replies View Related

Ubuntu :: Switch Between Windows From Terminal?

Oct 23, 2010

I am using Wine to play Sim City 2k, and the game doesn't show up in the taskbar. How can I use the Terminal to switch to it?

View 6 Replies View Related

Ubuntu :: Switch Between Windows From The Terminal?

Oct 23, 2010

I am using Wine to play Sim City 2k, and the game doesn't show up in the taskbar. Conky shows that SimCity.exe and winserver are both running, but I can't get to them. How can I use the Terminal to swap windows?

EDIT: Oh, great. I think a fire just broke out. I can hear the sirens, but I can't stop them! Crap!

EDIT2: You know, listening to these sirens really sucks. I had my city up to 130,000 people. I was just saving up enough money to buy an arcology when I tried to move SimCity to Desktop #2. Wine was not happy with this decision. My city is probably burned to the ground by now.

EDIT3: Ok, I just realised that I can stop the process from the System Monitor. Too little, too late I imagine. Oh well, I can probably rebuild it if I could just get to the window...

View 3 Replies View Related

Ubuntu :: Switch Back To Windows 7?

Nov 21, 2010

I installed Ubuntu 10.10 over Windows 7, getting rid of Win7. I have decided that I want to switch back to Windows 7, because of more compatibility. Windows 7 came pre-installed on my laptop. Is there any way I can recover it? I did a full install of Ubuntu 10.10.

View 1 Replies View Related

Ubuntu Installation :: Switch From Windows 7 (32-bit) To 10.10 (32-bit)

Feb 19, 2011

I want to switch from Windows 7 (32-bit) to Ubuntu 10.10 (32-bit), but I can't install it on my PC for some reason. I've tried burning the .iso onto 2 or 3 different DVD+ROM discs now, I keep getting the following message when I try to install it.

Message: BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) Enter 'help' for a list of built-in commands.

(initramfs) mount: mounting /dev/loop0 on //filesystem.squashfs failed: Input/output error
Can not mount /dev/loop0 (/cdrom/casper/filesystem.squashfs) on //filesystem.squashfs

Edit: I got it to work, I'm not sure if this actually made any difference, but I formatted my hard drive using my Windows 7 installation DVD before trying to install Ubuntu 10.10. But it worked fine after that and I'm now running it on my PC without any problems (at the moment).

View 5 Replies View Related

Ubuntu :: Remove Windows And Switch HDDs?

Jan 12, 2011

I have my current computer set up with 2 HDDs in it. A 500GB with GRUB and Windows 7 on it and a 160GB HDD with Ubuntu on it.

I would like to someone replace Windows 7 with Ubuntu on the 500GB drive, but I'm not sure how I would be able to do this and still keep GRUB and such .

EDIT: I'd like to do this without re-installing anything.

View 2 Replies View Related

Ubuntu :: 'switch Between Windows' Shortcut Not Working?

May 9, 2011

I somehow managed to screw up my 'switch between windows shortcut' when changing the settings for compiz. Now I cannot get it to work at all, despite trying to solutions on this and other forums. I removed compiz with the software center and my alt-tab shortcut still didn't work--although it IS enabled and set correctly in the System Settings > Keyboard Shortcuts menu. I reset the alt-tab combo so something else (alt-space, which works for its normal setting of bringing down the window's dropdown menu) but it still did not work to switch between windows.

View 3 Replies View Related

Ubuntu Servers :: How To Switch Clients From A Normal Server To A Cloud

Feb 4, 2010

what cloud computing is and i think it can help me with some of my clients i want to switch my clients from a normal ubuntu server to a ubuntu cloud. as of right now i have to send out a bill to them and if they dont pay i have to shut down there service till they pay. what i would like to do is to have a cloud where i can sell them based on what they use not a set price like it is now. and have them be able to pay there bill on the cloud and if they miss the bill then the cloud can shut off there service till its payed.

i dont know if this is possible and i have looked everywhere and all i can find is info on other businesses billing and now how to set up a cloud to do this. i wish there was some kind of tutorial for this. if anyone can direct me to some good notes/tutorials that would be very helpful. this could be a big changing point in my business if i can do this. it would save a lot of time and cash.

View 4 Replies View Related

Ubuntu Multimedia :: Usb Microscope Led Lights

Jun 30, 2010

I have recently purchased a usb microscope from Maplins, and although it does work with ubuntu 10.4 (and linux mint 9) I cant for the life of me get the led lights to work, the lights are kind of needed when viewing things close up.

Usb microscope link

The output from running lsusb gives the following -

Code:

Like I said it works, tried it with cheese, and I can get close up to stuff, but because the led's don't work it's difficult to get a clear picture with out a torch.

View 9 Replies View Related

Ubuntu Installation :: Switch Windows OS In 10.10 Dual-boot?

Dec 21, 2010

I recently bought an asus eee-PC 900HD set up by its previous owner to to boot to either ubuntu 10.10 or windows xp.how can I get rid of xp and install vista in its place? As a side-note; the eee-PC has no optical drive. It has USB ports and an SD card reader. Is it possible to install windows through one of these? I do have an old laptop optical drive I've been meaning to house in a USB enclosure. Is the cd/dvd route my only option?

View 2 Replies View Related

Ubuntu Installation :: Preserving Windows Drives On Switch?

Mar 15, 2011

I am switching to Ubuntu soon for security purposes. I have 3 hard drives, one with my OS, one with nothing, and one with all my junk. I was wondering if there is anyway that I can only reformat and install Ubuntu onto the drive with windows, reformat the empty drive, and then transfer files from my junk drive onto the empty drive, and then format the junk drive and move all of the files back onto the junk drive? Or is the junk drive accessible from Ubuntu and not worth trying to switch formats on?

View 6 Replies View Related

Ubuntu Multimedia :: QLC And UDMX - Cant Control My Lights ?

Jul 21, 2011

I am the owner of a dj service we are trying to control intelligent lights using a uDMX interface from anyma, and Q Light Controller (qlc). As of now i have QLC Installed, And The uDMX Plugged in And It Doesnt Work, I Have installed so many things to try to get it working! Ive Installed libUSB DMX4Linux and many more... Nothing seems to work.

View 2 Replies View Related

Ubuntu :: Unable To Use Mouse Or Switch Windows In Unity Or Gnome?

Jul 13, 2011

I recently installed Ubuntu desktop, since I had been running my server as Ubuntu Server on a guest OS on Windows 7 and never really used the Windows part of the computer. Since then, I've been unable to use the mouse in a graphical environment for longer than a few minutes without it starting to act crazy. The mouse moves around normally, but won't respond to clicks (left, middle, or right) but the keyboard shortcuts still work. I'm not sure if things have changed since I last used Gnome though, but Alt+Tab is not working for me either when this happens. Sometimes, the active window is even behind another window, and isn't pulled to the foreground.

After a bit of frustrated clicking and jamming of buttons on the keyboard, sometimes the mouse kind of starts working because I'll notice a right click menu open. But, I am still unable to move windows or click on them to bring them to the foreground, and my mouse presses only work on the current window. And then, eventually, after about a minute or so, it'll stop respond again too.

I saw in one thread that someone had dead spaces where he couldn't click, so he installed and ran Gnome and that fixed it, but I tried using Ubuntu Classic and it is still giving me the same behavior. I'm actually posting this message now in links, because I can't use Firefox or Chrome well enough when it's hidden behind other windows.

View 1 Replies View Related

Ubuntu Servers :: Switch To Read-only Mode When Folder Lost+found Is Accessed

Jan 19, 2010

I have a weird problem here with a 9.04 server. We have a raid 5 disk formatted in EXT4 which remounted automatically when we accessed to the lost+found folder which is in the root of that disk.

I tried to delete it but I can't. It's a bit annoying because I have to prevent all users and backups to access to that folder.

View 2 Replies View Related

Ubuntu :: X10 To Controll A Few Lights - Turn Them On And Off At Certain Times Of Day/night

Jul 7, 2010

I am running Ubuntu 10.04 and I am thinking of setting up a few X10 lights so that I can turn them on and off at certain times of day/night. I am not to concerned with turning stuff on and off via the web but that might be a nice option. I want to keep it as simple as possible. I have looked over the forums and web but I am not sure about how to start and keep it simple.

View 2 Replies View Related

Ubuntu :: Touchpad And Satellite Logo LED Lights Not Working

Feb 26, 2011

I have Toshiba satellite a655-s5170 and the LEDs on the satellite logo and touch-pad do not light up when I push the button that is supposed to toggle these lights. not a major problem but I would like to get the LEDs working if possible...

View 2 Replies View Related

Ubuntu Multimedia :: Syncing Lights To Music Videos ?

Mar 18, 2011

I would like to do is as the subject says, I want to take a music video and then sync several light channels to the music video.

I would like dimming control of the lights as you would have with a DMX 512 system or even Midi. In which the light programming is done in a choreographed sequencing pattern, much like many Midi "piano roll" based editing software.

In a nutshell I would like to do what the Windows program "Vixen" Christmas lighting control program does, but within Linux AND for videos. Sadly Vixen doesn't support syncing to video's at this time...only audio. Another thing is that Vixen also doesn't work with Wine, so it is a no go in Linux.

I would hope that by now there is some kind of video program that does permit syncing to external output devices.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved