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 - orionsune

Pages: [1] 2 3 ... 9
Installation issues / Re: Another networking thread
« on: December 17, 2008, 05:08:34 pm »
I can share my original setup just give you an idea.

I have my LMCE box behind another firewall also, I do not use my LMCE box as a gateway.

The external NIC of the LMCE box is connected to my normal LAN with an IP range of 10.0.0.X

the internal NIC of my LMCE box is connected to another switch that is isolated from my LAN so that I can boot my MDs.

And I did not have to disable my DHCP that way.

That is probably the simplest setup to achieve what you want.

I no longer use that setup, I use an l3 switch and utilize vlans now, as hari was getting at.  A little more complicated that way, but saves having to setup a second isolated LAN for MDs.

lmce periodically downloads the tvguide list from schedules direct and stores it in the database.

I haven't tested this, but you can modify your channel lineup on the schedules direct website and remove the channels from there.  I don't know if that will work though.

Installation issues / Re: how do i remove from database - unsolved
« on: December 02, 2008, 06:24:25 pm »
I ended up re-installing to solve this myself.

And I vaguely remember one of these vets here suggesting that I create an empty file in the folder just underneath the folder I don't want scanned.

So if you had files named 23492304293048.mpg in "/home/public/data/mythtv/tv_shows_1" and you don't want that showing up... you create a file called "tv_shows_1.folderlock" in the /home/public/data/mythtv folder.  Of course this particular example I just modified the source so that folder is located elsewhere while still maintaining the automatic entry into the media list and using symbolic links in the public folder or private folder whichever way that recording was marked.

Trick is doing this directly after installation and before it starts scanning.

Another work around I had, is if the data in that unwanted folder needs to remain, but does not have to be in that folder, just move the folder.

and if that folder that is generated automatically by some process but can be deleted temporarily, then deleted the folder, invoke a updatemedia, then quickly create the file as described above before that directory is created again.

I'm sure there are a plethora of methods, and I could list more, but my linuxmce is extremely modified from source due to the lack of ease of use, stability, hardware support, and poor mechanisms for automated background processes so my suggestions may not be accurate.

I have successfully done this with VMware inside WindowsXP.  TV worked, network media browsing worked, Movies worked... thats all I really played with.

Developers / Re: MythTV_Plugin Won't Compile
« on: March 19, 2008, 11:55:09 pm »
now i'm the douche pickle... i updated from sqlCVS, now everything is good...

Developers / This Community will Fail and LMCE will be forgotten.
« on: March 19, 2008, 09:22:44 pm »
As long as the key players in this community remain vigilant in their self absorbed ways, and push interested experts and dev's away by contradicting their own discovered functional methods, this project will fail.

EDIT:  This thread has completely done a 180.  I thought an updated subject might help.

EDIT: I still people screwing with old ass video game emulators while these forums are riddled with basic bugs, unstable features, and unhappy developers.

Users / Re: Weird dhcp/routing issue
« on: March 19, 2008, 09:18:26 pm »
Change it in your webadmin panel of your linux mce box... just open a web browser and use the url

Code: [Select]
Once logged in, on the top menu bar go over to Advanced, then down to Network, and over to Network Settings, change your ip address there.

Developers / Re: MythTV_Plugin Won't Compile
« on: March 19, 2008, 09:15:30 pm »
No problem, i'm making headway on the issue, when I resolve it i'll be sure to share it with everyone despite my misgivings and animosity towards some of you.  Thanks for all the great attitudes and help amongst this community.  I am so impressed with how helpful everyone is and how useful the information you provide is.  I have never seen such a smooth running community where dev's deal with the more common problems and work on creating stable environments, instead of all those other mce platforms where they only care about their own personal projects and don't care how unstable and malformed everything is.  Oh not to mention how informed they are of their own projects.  5 Stars in my book.

2x LOL

Installation issues / Re: DHCP - combine with other DHCP - HOWTO?
« on: March 18, 2008, 11:29:40 pm »
I am using a combination of SNORT, BASE, and SQL.  I used this generic guide to get everying up and running, then I wrote my own intrusion detection rules.

Then I use an opensource enterprise monitoring application called Zabbix for my alerting, it's highly versatile on how it can detect and alert certain events, it was made for a huge enterprise environment, but I just have simple rules in there, one that checks the SQL database (where it logs intrusion attempt details)  for a specific string, and then sends me a txt message to my phone with the details of the attempt.

It's extremely complicated for a novice user, so I wouldn't recommend for casual use.

Developers / MythTV_Plugin Won't Compile
« on: March 18, 2008, 11:16:56 pm »
I am using the sources from charonmedia.
I am trying to compile this on 710b3.

I have previously tried compiling the source on 7.04, but recieved a plhetora of errors during the build script.  Alot of missing files/folders, then an unknown user errors when connecting to the database, I can go on and on.
Needless to say, I managed to get the majority of the source to compile errorless on 710b3.

My initial reason for recompiling MythTV_Plugin was to remove the statically set options for interlacing and vsyncing.  I tried compiling the plugin with and without my mods.

When I run make from the build script, or from the source folder /trun/src/MythTV_Plugin, I receive the same error.

This is the error.
Code: [Select]
MythTV_PlugIn.cpp:896: error: SCREEN_PVR_CONST was not declared in this scope
MythTV_PlugIn.cpp:897: error: SCREEN_PvrFullScreen_CONST was not declared in this scope
MythTV_PlugIn.cpp:901: error: SCREEN_mnuPVRRecording_CONST was not declared in this scope
MythTV_PlugIn.cpp:902: error: SCREEN_mnuPVRRecording_Full_Screen_CONST was not declared in this scope
MythTV_PlugIn.cpp:906: error: SCREEN_mnuPVROSD_CONST was not declared in this scope
MythTV_PlugIn.cpp:907: error: SCREEN_mnuPVR_OSD_Full_Screen_CONST was not declared in this scope

Initially, I found the file those constants were being declared in, /trunk/src/pluto_main/Define_Screen.h, and added the declarations manually.  The plugin then compiled fine, but when I inserted it into my lmce box and rebooted, everything worked fine except for one thing.  The lmce interface would not dissapear with the right click of my go mouse.  Nothing would cause it to dissapear, it was permanently affixed lol.  So anyways...

With some inquiry in IRC, I found out the pluto_main is generated by sql2cpp which in turns gets all it's information from you currently running database.  After making sure sql2cpp wasn't screwed up, I proceeded to see what is so different from my database versus those who are compiling fine.  Well since I didn't have a copy of someone elses database, I decided to install a vanilla install in a virtual machine.  Using the same 710b3 version.  I put the charonmedia source on it, but it would not make it through the build script, kept giving me errors.  So instead, I went to my production box's database and searched for the constant "mnuPVRRecording" (the SCREEN_ prefix and _CONST suffix are not included in the database, these are added by sql2cpp).  I found one table with mnuPVRRecording in my production database.  It was in pluto_main -> DesignObj field.  I did the same search on my virtual machine's vanilla install and had the identical results.  So I ask myself "it's there in the database so why isn't it being put in the Define_Screen.h by sql2cpp?"  At this point, I wanted to see what a working constant define looks like in the database.  So I open Define_Screen.h and pick a constant that the compiler doesn't complain about and search for it, I chose "SensorsNotReady".  After searching for this in the database, I found it existed in TWO fields instead of just ONE like the other.  This one was found in pluto_main -> DesignObj and pluto_main -> Screen tables.

I search for another constant from Define_Screen.h, and sure enough I saw the trend, every single constant the compiler errors out with is missing an entry in the pluto_main -> Screen table, the ones that work fine ARE in this field.  The vanilla install of 710b3 was identical.  I haven't tried 710b4 yet.  I installed 7.04 in a virual machine, and searched for the problematic constant from earlier, and in 7.04's database it shows up in both fields.  Problem is, I can't get charonmedia sources to compile from my 7.04 copy.

When I originally downloaded the charonmedia sources, the build script installed all the needed packages, and appeared to run without show-stopping errors just warning... and it did proceed to compile all the binaries it could.  This was on a vanilla 710b3 install about 1 month ago.

When I downloaded the caronmedia sources last week onto my 7.04 box, and ran the included build script, it would download and install the needed packages, but then error out on me when trying to do the sql stuff, says the /etc/init.d/mysql-build-mce is missing, so I find it and place it there, and yet another error about a directory missing, so I found it, placed it there, and yet more errors relating to the sql stuff, so I gave up.

Any ideas or suggestions?

My main goal is to just get MythTV_Plugin compiled.  And in fact, if anyone here can compile it under amd64 system with the following lines REMOVED... and provide me the resulting binary and .so file.  I usually don't ask for handouts, but this is such a simple mod, with such a show-stopping wall of not being able to compile this, even without the mod.  Anyone got 5mins for this? 

Code: [Select]
Line 963;
Line 973;
Line 975;
Line 976;

This will allow for those rare people who don't want English to use whatever is available instead of being forced English.  It will also enable me to choose my own interlacing options instead of being statically forced to use what they (whoever they is) thought we all should be using, not to mention being able to choose decoder as well.

I actually recommend doing this for future releases, or if it is needed for some odd reason, if there is a way to implement a "run once" feature so that Mythtv will retain those defaults after setting them once, and if the user wants to experiment, it's already been run and won't overwrite the users settings on reboot/restart of the plugin.

Users / Re: firewall/port forwarding issue (??)
« on: March 18, 2008, 11:13:41 pm »
Ok, here is an example, this is a copy paste of what a rule what look like, if I wanted to accept AND forward port 25 to an internal smtp server.

Code: [Select]
tcp  25 to 25  core_input  Delete
tcp 25 to 25 25 port_forward Delete

See, how port 25 is specified TWICE, once in "core_input" and once using "port_forward"...

for each port you want to forward, would need to look like my example...

another easy but less secure solution would be to totally disable your firewall, then it would accept traffic on ALL ports.  I would highly advise AGAINST that action.  I only mention it to help you understand the nature of all this.

I like the poll...

Camera Type;
It's an AXIS 2100, I actually completely re-wrote the IP Cameras guide on the wiki to reflect how to setup IP cams under motion.  There was no clear guide on how to do that, and the IP guide that was there, was an ancient method.

I'll let you know my progress since you once played with the idea.

the whole point about lmce is home automation Wink
whats the problem with letting LMCE have its own HA network behind your existing infrastructure? The price of the second nic? I think you like to swim against the mainstream Wink

Ok, you are probably right, I do like swimming upstream alot of time.  But as far as why I have a problem with letting lmce be my router are probably more personal to me.  And your right, i'm assuming this for other users as well, but remember hari, i'm not pushing this on users who are already setup, i'm only suggesting this to the users with this specific issue.  It started off as only a suggestion, then turned into a debate, now it's just a long ass thread that needs to go away.

The main problems (in my case) I see with allow lmce to be your gateway are this.
I already have a stable network setup with a stable and secure gateway.  I didn't want to have to reconfigure everything on the lmce box to perform the same tasks as my already existing gateway.  There is just far too much to do, not to mention some compilation and the flavor differences (Fedora vs Ubuntu).

As I have been building this box, i've run into so many unstable issues, I didn't want to risk using it as my gateway, be at work one day, need to reference some material I have on my PC's at home, and not be able to remote in and retrieve the information because my lmce box locked up, or other malfunction.

The default setup is not very secure, and in newbie users defense, some of these people I bet still haven't changed their default passwords, and if they have their firewalls disabled, or those ports open for access, anyone can just ssh into their box and really screw stuff up.  Also, if by chance they have phpmyadmin on there or something of that nature, and port 80 is open to the outside or firewall disabled, i'll just be helping myself to their database also.  Actually, if one can ssh in i'll just put phpmyadmin on it oneself, well I am not going to go on about lmce's inherit vulnerabilities, I made my point.

But yeah, your right, as I said in another post I believe, I mentioned that lmce is about home automation and attracts mostly home automation enthusiasts, and if your a HA enthusiasts, then you problably are a slightly more advanced user than just plain newbies.  So it defeats the whole dhcp vs newbie argument thing because of that little assumption.

I hope you are right but experience tells me otherwise
experience tells me the same thing, but I have this annoying habit of having faith in humanity.  I believe all my faith does is reliably let me down.

Developers / Re: PNP without DHCP
« on: March 18, 2008, 10:55:01 pm »
your "ps" is very interesting, if I run into anything interesting, since it's not off your list yet, i'll just relay it to you...

Users / Re: firewall/port forwarding issue (??)
« on: March 18, 2008, 10:53:39 pm »
Your "port_forward" rules will send the data to the right box...

the "core_input" rules simply instruct your linuxmce box to ACCEPT traffic on those ports.  By default those ports are closed. Unless you have your firewall disabled already, in that case I don't have any suggestions other than researching how to use iptables on the command line to implement your forwarding rules.

When your defining a "core_input" rule the only field your going to use is the first one for choosing "protocol" and the two boxes for "source port"... the "source port" fields are your range, so in the first box you'd put 5901 and the second box you'd put 5903, and from your rules you need udp, so you choose udp until "protocol" then click "Add"... thats it.

Users / Re: firewall/port forwarding issue (??)
« on: March 18, 2008, 10:17:02 pm »
There are 2 different rules involved, one tells the core to accept traffic on that port... the other tells it to forward those ports to said IP.

You can just do a range of 5901-5903 and use "core_input" rule instead of the "port_forward", need both.

Pages: [1] 2 3 ... 9