Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mkbrown69

Pages: 1 ... 7 8 [9] 10 11 ... 13
121
Users / Re: Windows 7 enterprise and samba shares does not work :-(
« on: July 04, 2012, 04:57:14 am »
Ok, I'm running 3.5.6 on Debian Squeeze.  The following was added for Vista Compatibility, which should work with 7.

Code: [Select]
#vista compatibility
        client lanman auth = no
        client ntlmv2 auth = yes
        domain logons = yes
        guest account = nobody
        map untrusted to domain = yes

I also have local and preferred master set to yes, time server and wins server also set to yes.  You'll likely have to configure Win 7 for NTLMv2 as well.

HTH!

/Mike

122
Users / Re: Windows 7 enterprise and samba shares does not work :-(
« on: July 03, 2012, 08:02:05 pm »
I seem to remember having to force Windows Vista to use NTLM v2 many moons ago to make it work with Samba.  You might want to google for Vista +Samba +NTLM, and see if that does it for you.

Chances are, your old employer's infrastructure may have had some legacy systems that they had to force compatibility with, whereas your new system image doesn't have that "'baggage".

It's not likely to be a Samba issue, because I'm running Samba with Vista (laptop) and a Windows Home Server 2011 VM (based on Server 2008r2) at home, with no issues for years now.  I do remember setting a couple of parameters in my smb.conf file, so I'll look those up later when I'm home to see what I'd set.

HTH!

/Mike

123
Users / Re: MD wake on Lan not working
« on: June 28, 2012, 06:18:40 pm »
Jamo,

Generally, the interface has to be configured to support/Listen for the WOL packet.  This is generally done by

Code: [Select]
ethtool -s eth0 wol g
It could be done via an init script, like below, or in rc.local

Code: [Select]
sudo cat << EOF >> /etc/init.d/wake-on-lan
#!/bin/bash
#
### BEGIN INIT INFO
# Provides: wake-on-lan
# Required-Start: \$network
# Required-Stop: \$local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Enable Wake-On-Lan
### END INIT INFO
#
. /lib/lsb/init-functions
 
do_start() {
    ethtool -s eth0 wol g
    exit
}
 
do_stop() {
    ethtool -s eth0 wol d
    exit
}
 
case "\$1" in
  start )
        do_start
        ;;
  restart|reload|force-reload )
        echo "Error: argument '\$1' not supported" >&2
        exit 3
        ;;
  stop )
        do_stop
        ;;
  * )
        echo "Usage: \$0 start|stop" >&2
        exit 3
        ;;
esac
EOF
sudo chmod 755 /etc/init.d/wake-on-lan

Code: [Select]
sudo update-rc.d wake-on-lan defaults

Now, if this solves your problem, then it should probably be added to the MD generation scripts.  If not, then there's something else at play, possibly power management.

HTH!

/Mike

124
Users / Re: X10 CM19A
« on: June 27, 2012, 03:57:50 am »
Mochad <http://mochad.sourceforge.net/> is a good project to use to create a driver.  From the wiki,

Everything sent by mochad appears on netcat standard output. In the simplest use case, mochad/netcat can be used to see X10 PL and RF activity. For example, run mochad on one host with a CM15A(CM19a) then connect to it using netcat from a netbook. Walk around with various X10 RF remote controls and the netbook to see which remotes work from various locations.

<http://sourceforge.net/apps/mediawiki/mochad/index.php?title=Main_Page>

I'm using it with Misterhouse right now, and would need to port that to LMCE.  I'm using it with X10 RF keypads to trigger scenes, and to send commands to devices behind Arc Fault Breakers (haven't converted everything to Insteon yet. 

Thom,  what would be the best method to implement a driver using mochad, given that netcat is normally used to send and receive data from mochad (which then handles the interaction with the CM15/19a)?

Thanks!

/Mike

125
The other issue is that you can get different resolution support over different inputs.  VGA inputs will sometimes only support "computer" resolutions, and not true 720p or 1080p, whereas DVI/HDMI will support more.  It all depends on the firmware for the TV's, and the quality of the ASIC's and display engines built into the TV's.  Usually, the less expensive TV's (which are usually the smaller models too) will not have the same capabilities as a more expensive (name-brand) TV.

Just my experience from shopping around...

/Mike

126
Users / Re: HomeOS - Microsoft reinvents LinuxMCE
« on: May 09, 2012, 09:08:02 pm »
kyfalcon,

do you need any more pointers to start?

Kyfalcon,

Me thinks you've been "volun-told"...  ;)

/Mike

127
Users / Re: Design Question - New system install
« on: May 08, 2012, 07:55:56 pm »
JaseP,

I personally can't get access to my PCI/PCIe cards, only because my motherboard doesn't support AMD's IOMMU (the technology that allows you to map the physical devices to virtual machines).  VT/d is the Intel version.  Most server-class motherboards support it, which allows for Xen's/KVM's PCI pass-through to work in datacentre environments.  Ditto for VM-DirectPath, which is VMWare's version of the same concepts.  So, if I wanted to fork out the money for an 890FX or higher chipset motherboard, I could get it to work.  I'm not rolling in dough, so I'll be improvising by running a Myth-backend on the Host OS which will manage the cards, while the master backend resides in a VM.  Next time I have to life-cycle hardware, I'll be getting a mobo with IOMMU support.

So, yes it does work; it's just dependent on having the right hardware support for it.  The processor, chipset and BIOS all have to support it, which can be challenging with consumer hardware.  It can be more challenging with Intel, because some processors support VT/d, and some don't; buyer beware.  The only downside to passing through cards is that it negates the ability to Vmotion a guest from one host to another, because it introduces a physical dependency.

Hope that helps!

/Mike

128
Users / Re: Recommended alarm panels?
« on: May 08, 2012, 02:33:53 pm »
I have a Texecom 816....
Got the Serial connector to my Core, and thats about it.
Still getting around to learn C+ so that I can try and intergrate.

Karel

Karel,

If it's a Serial connector, a GSD is probably more appropriate, and probably a lower entry level than learning C++.  There may be existing templates you can re-use, and simply replace the appropriate commands with those from your alarm panels protocol page.

HTH!

/Mike

129
Users / Re: Design Question - New system install
« on: May 08, 2012, 02:51:51 am »
He might have other workload he wants to run on that same server.  There's nothing wrong with virtualizing the core (or anything else for that matter) if you have the reason and know what you're doing.  I'm running 5 other VM's in addition to a virtual LMCE core, which lets me experiment with LMCE without disrupting the "production" environment.  I'll probably stand up anther Virtual core as a dev environment to work on some stuff, and connect it to the virtual MD I sometimes play with.

On a six core AMD 2.8GHz system with 8GB RAM, I'm running the Core, a Windows Home Server 2011 instance (iTunes server for all the iDevices), a Astaro VPN end-point server, my mail/calendar server (Zarafa), MrHouse home automation, and a Ubuntu Desktop environment as a virtual hosted desktop.  During peaks, my load is about half what the system is capable of; I'm I/O bound more than CPU bound due to SATA disks.  When SSD's drop in price, I'm going to pick up a bigger one for the VM disk storage (I have the various databases on LVM's from a 40G SSD to handle the IOPS requirements, and to lessen the load/latency from the disks).

As far as networking goes, I have two NIC's in the system.  Eth0 is br_ext, a bridged network device connected to my home router which gives outside access.  Eth1 is br_int, another bridge, but for the internal LMCE managed network. The core owns that network, so any physical device connected to the switch on that NIC is seen by the core, as is any virtual Server connected to the br_int.  The virtual core's eth0 is connected to br_ext for Internet access, and for access from the existing production environment.  It's eth1 is connected to br_int, and it provides dhcp and all related services to the "internal" network, as per LMCE's architecture.  So, I can run both environments in parallel, without affecting the wife and kids.

So, the takeaway is, if you have a reason to virtualize it, go for it.  If you don't have a use-case figured out, then you might not want to, because it can be more work.  With great flexibility comes a lot of (your) overhead.

Hope that helps!

/Mike

130
Users / Re: Cameras, Motion, and notifications
« on: May 07, 2012, 03:47:36 am »
Mike

Did you get anywhere with this? I've been planning to head down the same route... experimenting with using my IP camera to generate events based on motion detection. Also still struggling a bit searching the wiki and forums to see if there is a "standard" way to do it.

James


James,

You can generate e-mail alerts using the respond to events Wizard.  The basic gist of it is:

A sensor is tripped, what device equals your camera, when = Day, Night, or blank, What trigger state = tripped = 1.

You can then add commands using the advanced wizard.

Pick the General info Plugin on the core, and choose event Send Email.  Fill in the blanks as listed.  That will just send you an e-mail; no pictures attached.  Presuming you're on 10.04, you'll need the package 'heirloom-mailx' installed; that is the mailx that modern Ubuntu's are using now.  The Mailx template listed in the Wiki is no longer necessary, and probably should be removed from the wiki to prevent confusion.

It would be cool if the General Info plugin Send email function was extended to support directly adding attachments, and for allowing a script to be run which is then piped into the mailx command for e-mailing.  The security plugin might need to be extended to transfer/transmit security and sensor data to the Send E-mail function.  Just thoughts... I'm not volunteering you for anything  ;)

I'm looking at Kmotion2, but starting to think that integrating it might not be the best idea.  It may be better to figure out how the masks and other advanced functionality is done, and add that directly into LMCE Web-Admin pages.  Give me a couple of months to figure this out; I'll likely post interim measures along the way.  I've done some PHP scripting in the past and fairly recently, so I'm a less intimidated by that than by C++ code.

Hope that helps!

/Mike

P.S.  I found some folks who have configured their (non-LMCE) motion.conf  to send e-mails with picture attachements.

on_picture_save mailx -s “Test mail” -a %f email@gmail.com

131
Users / Re: Cameras, Motion, and notifications
« on: May 07, 2012, 03:22:02 am »
Question to anyone presently using the Cameras functionality.  How do you presently access or view the stored camera footage?  I don't see anywhere to view the stored events/alerts in the Roaming Orb Orbiter, I only see it in the LMCE Web Admin (Security -> Alerts Log).  Am I correct in assuming that this functionality is presently limited to the WebAdmin only (meaning not present in MD Orbiters)?

Thanks for your time!

/Mike

132
Users / Re: Is it supposed to behave like this?
« on: May 04, 2012, 05:53:57 pm »
Kyfalcon,

The problem is more that RoamingOrb (or the Dianemo iOS app) displays nothing at all; they won't load any screens if a "modal" type dialog is on the regular orbiters.  You launch the app and it spins away doing nothing.  Attempting to log into the web orbiter does the same thing; there is no orbiter UI.  This could lead the user to believe that the "system" is broken if they don't have a regular orbiter to see the message on.  There might be a reason for this behaviour, in which case something should be done on the WebOrbiter or WebAdmin to allow the user to understand that their input/action is required.  If there isn't a reason for this behaviour, then I guess a bug would need to be filed.

Don't know for sure, but it might relate to an existing bug: http://svn.linuxmce.org/trac.cgi/ticket/548

My concern is for the End-user experience for those who might have a core, uPnP boxes only for media, and iDevices for controlling it, which could be a use-case for people just getting into LMCE with entry level or existing hardware.

Thanks for your time!

/Mike

133
Users / Re: Cameras, Motion, and notifications
« on: May 04, 2012, 05:01:36 pm »
Jamo,

Cool!  Thanks!  Being a SysAdmin type, my strengths are more in the system and infrastructure layers, so I'll look at getting Kmotion2 and motion playing nicely together.  We'll definitely trade notes...

Thanks for the assist!

/Mike

134
Users / Re: Cameras, Motion, and notifications
« on: May 04, 2012, 03:25:13 pm »
Jamo,

I've installed Kmotion2, but haven't got it all working yet.  I haven't had a lot of free time to investigate, as I'm doing a college zOS course on the side, and it's chewed up way more time than I'd anticipated.

I'm still trying to figure out how to integrate it cleanly, so that MotionWrapper and Kmotion2 don't fight over control of the cameras or events.  Kmotion2 expects to do the camera configuration and management, and it's not managed the same as the underlying motion on the system.  Plus I'll have to figure out how some of the LMCE infrastructure works, so it would all work "automagically"... so, I've got a bit of a learning curve ahead of me.  I might also look at ZoneMinder as an alternative front-end and for events, just to compare/contrast functionality, capabilities and possible integrations.  (I've rolled out ZoneMinder in the past).

The ironic thing is that I first started looking at LMCE as a means to reduce the level of effort required to maintain my own "home-rolled" infrastructure... ;)

Sorry I can't be of more help than that!

/Mike

135
Users / Is it supposed to behave like this?
« on: May 04, 2012, 03:14:49 pm »
Morning folks!

I've been playing around with LMCE 10.04 in a test environment for a while now.  I'm mostly using iDevices and RoamingOrb to access it, and I've noticed that if the core has detected a NAS or something like that which causes a message to appear on the Orbiters asking the user to do something about it, the Proxy/Web Orbiters that RoamingOrb depend on are blocked and become un-responsive.  The web orbiter is also similarly blank.  Is it supposed to behave that way?  Could something be done to prevent the RoamingOrb orbiters from being blocked?  I'm thinking of the use case where someone might only have iDevices and uPnP boxes, and a blocking event might cause the (non-technical) user to think the system was broken or locked up.

Thanks for your time!

/Mike

Pages: 1 ... 7 8 [9] 10 11 ... 13