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

Pages: 1 [2] 3 4 ... 19
16
Developers / Who can I help with the Mythtv 'install' package
« on: September 12, 2016, 02:12:01 am »
Hey guys,
I am not a programmer, but I am a problem solver.   The recent update messed up my 'tweak' on the mythtv files on my MD...   I can fix them in a few minutes, but I want to provide some feedback/input into getting it set to work correctly.

here is what I have figured out:
On the CORE, everything works great..   the /etc/mythtv/config.xml file and the /etc/mythtv/mysql.txt work great.
On the MD:  there are several things Ive noticed:
     1.    the user mythtv needs to have the same uid and gid as the CORE's mythtv user (because the home folder is a nfs mount from the core)
     2.    Each MD gets a unique <Password> in the /etc/mythtv/config.xml (by default on mythtv install i am assuming)  This <Password> can stay
            what it is, but also needs to be the same as the DBPassword in the /etc/mythtv/mysql.txt file,   AND it needs to be the same password for
            the mysql user mythtv@192.168.1.xx (MD iP address).
     3.    On any MD, the <Host> in /etc/mythtv/config.xml  and DBHostname in /etc/mythtv/mysql.txt NEEDS to be dcerouter

Note:  if the default password in /etc/mythtv/config.xml is used, it wont need to be changed in Mythtv Setup.


I can provide my files if anyone wants/needs to see them.


Hope this helps.

Dennis

17
Installation issues / Re: Zoom & Aspect Controls In Xine Not Working
« on: August 13, 2016, 01:45:52 am »
I noticed this also... aspect appears to change the view, but none of the zoom options work

Dennis

Sent from my SM-G900V using Tapatalk


18
Developers / Re: Tapatalk finally works!
« on: March 24, 2016, 10:36:27 pm »
Sweet... thanks

Sent from my SM-G900V using Tapatalk


19
Installation issues / Re: What I got working in 14.04
« on: February 17, 2016, 01:04:28 am »
Hi Maverick.   

On my core I can status the mythtv user by the command:

id mythtv

which returns
Code: [Select]
dcerouter_1047569:~# id mythtv
uid=124(mythtv) gid=129(mythtv) groups=129(mythtv),20(dialout),24(cdrom),29(audio),44(video),1001(public),10000(pluto_dennis)
dcerouter_1047569:~#


the same command on my MD would indicate mythtv user's uid=110, and gid some other number.

to make them the same,
on the MD i issued the command:

usermod -u xxx -g yyy     where xxx is the uid of mythtv on the core, and yyy is the gid of mythtv on the core.

it SHOULD take the command and re-issuing

id mythtv

on the MD should result in a match to the same command on the core.




Another thing I think i found is that when the mythtv user is created on the MD, a mythtv@% user is created in the mythconverg database on the core.  The password I believe is the original mythbackend password created on the MD (as seen in /etc/mythtv/config.xml  originally).

After running mythsetup on the MD, the config.xml file gets modified to match the same file on the core... the password that the MD mythtv user is trying to access the database is now wrong.    I changed the password in the mythconverg database (using mysql-workbench) to be the same password used by mysql user mythtv@localhost. (which should be the password listed in config.xml and mysql.txt)

I kept getting mysql.sock errors on the MD mythtv-backend... once I corrected the password, I got a working MythTV on my MD. (aside from fixing the settings for my capture card).


Hope this helps.

Dennis

20
Installation issues / Re: What I got working in 14.04
« on: February 13, 2016, 02:55:57 pm »
Quote
Mythtv is really not playing nice. It works on the core some of the time. Just today it kept crashing. On my md a bit different, because there it want to know again, what country I am....I guess configuration for the md is incorrect.


My MD failed here too.   Ive noticed that the user 'mythtv' sometimes has the wrong UID and GID as compared to the core.   The only thing I see a problem with this is permission rights on drives (and I assume a couple other things).   So I matched the MDs mythtv UID and GID to that on the core.

Also, I noticed that in /home/mythtv/.mythtv the file config.xml gets created (or overwritten) with an empty file.   From what i can tell, it should be a link to '/etc/mythtv/config.xml'.  I also had to edit /etc/mythtv/mysql.txt:  changing DBHostName to = dcerouter, and verifying the DBPassword is equal to that of what is on the core's same file.

Dennis

21
Users / Re: To 'bridge' or not to 'bridge'
« on: February 13, 2016, 02:50:13 pm »
I value your efforts.

I was not aware the firewall was not completely up to snuff.

Yes, it would be awesome to be able to set up the bridging in website admin, but I have my config files saved on a storage drive.


Another note on the firewall.... I havent been able to get my work laptop to VPN into my work domain.   Are the ports currently blocked?  I think there are several that are involved.

Thanks

Dennis

22
Users / Re: To 'bridge' or not to 'bridge'
« on: January 31, 2016, 08:14:24 pm »
Alblasco,

my recent reinstall of 12.04 seems to work fine with the bridge setup.

Just after install, I ran the sql command
Code: [Select]
UPDATE Device_DeviceData SET IK_DeviceData="eth0,dhcp|br0,192.168.80.1,255.255.255.0" WHERE FK_DeviceData=32;
after my bridge was set up, then did an iptables -F followed by '/usr/pluto/bin/Network_Firewall.sh'.

I may not have needed to do all of that, but it works!


Dennis

23
Installation issues / Re: 12.04 update on fresh install
« on: January 29, 2016, 01:40:24 am »
You for sure would know more about that than I.   But i figured it had to be something to do with the version info.

Thanks for your efforts.

Dennis

24
Installation issues / 12.04 update on fresh install
« on: January 28, 2016, 12:53:55 am »
Gentlemen,

I did a fresh 12.04 install on a new SSD drive.  Once installed, I ran Diskless_CreateTBZ.  It failed with the following:
Code: [Select]
The following packages have unmet dependencies:
 lmce-md-meta : Depends: pluto-boot-scripts (>= 2.0.0.46) but it is not going to be installed
                Depends: pluto-boot-scripts (< 2.0.0.47) but it is not going to be installed
                Depends: pluto-confirm-dependencies (>= 2.0.0.46) but it is not going to be installed
                Depends: pluto-confirm-dependencies (< 2.0.0.47) but it is not going to be installed
                Depends: lmce-install-scripts (>= 2.0.0.46) but it is not going to be installed
                Depends: lmce-install-scripts (< 2.0.0.47) but it is not going to be installed
                Depends: pluto-orbitergen (>= 2.0.0.46) but it is not going to be installed
                Depends: pluto-orbitergen (< 2.0.0.47) but it is not going to be installed
                Depends: pluto-avwizard (>= 2.0.0.46) but it is not going to be installed
                Depends: pluto-avwizard (< 2.0.0.47) but it is not going to be installed
                Depends: lmce-launch-manager (>= 2.0.0.46) but it is not going to be installed
                Depends: lmce-launch-manager (< 2.0.0.47) but it is not going to be installed
                Depends: pluto-hald (>= 2.0.0.46) but it is not going to be installed
                Depends: pluto-hald (< 2.0.0.47) but it is not going to be installed
                Depends: pluto-orbiter (>= 2.0.0.46) but it is not going to be installed
                Depends: pluto-orbiter (< 2.0.0.47) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
./Diskless_CreateTBZ.sh: line 170: /tmp/TeeMyOutputExitCode_26444: No such file or directory


So, poking around, I did an apt-get update followed by an apt-get upgrade:
Code: [Select]
cerouter_1047429:/usr/pluto/bin# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  lmce-diskless-tools lmce-install-scripts pluto-boot-scripts pluto-hald
  pluto-orbitergen pluto-system-database pluto-website-admin
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
dcerouter_1047429:/usr/pluto/bin#

showing 7 not upgraded.... will not let me upgrade any of them:
Code: [Select]
dcerouter_1047429:/usr/pluto/bin# apt-get install lmce-diskless-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 lmce-diskless-tools : Depends: pluto-boot-scripts (>= 2.0.0.46.201601231149.f3a444c0bc) but 2.0.0.46.16010131783 is to be installed
                       Depends: pluto-plutodhcp (>= 2.0.0.46.201601231149.f3a444c0bc) but 2.0.0.46.16010531792 is to be installed
E: Unable to correct problems, you have held broken packages.
dcerouter_1047429:/usr/pluto/bin#

what I see as the possible problem is the version info not being met.  Im no pro, but it looks like the date/time section is missing the '20' in front of the 16.


anyone got any resolutions?

Thanks,
Dennis


25
Users / Re: To 'bridge' or not to 'bridge'
« on: January 27, 2016, 01:12:44 am »
thank you sir!   

I'll keep a lookout for a resolution to the nfs issue.



Dennis

26
Users / Re: To 'bridge' or not to 'bridge'
« on: January 22, 2016, 01:27:49 am »
Thanks Alblasco,

Here is my /etc/network/interfaces file:
Code: [Select]
# Activating interfaces
auto eth0 br0 lo

#####
# Loopback interface
#####
iface lo inet loopback

#####
# IPv4 network interfaces
#####

# --- External NIC ---
iface eth0 inet dhcp
pre-up sysctl -q -e -w  net.ipv6.conf.eth0.disable_ipv6=1
up /sbin/ifconfig eth0 up
down /sbin/ifconfig eth0 down

# --- Internal NIC ---
iface eth1 inet manual
pre-up sysctl -q -e -w net.ipv6.conf.eth1.disable_ipv6=1
up /sbin/ifconfig eth1 up
down /sbin/ifconfig eth1 down
#####

# --- Wireless NIC ---
iface wlan0 inet manual

# --- Bridge ---
iface br0 inet static
address 192.168.80.1
network 192.168.80.0
netmask 255.255.255.0
broadcast 192.168.80.255
gateway 192.168.1.254
pre-up /usr/sbin/hostapd -B /etc/hostapd/hostapd.conf
bridge_ports eth1 wlan0
dns-nameservers 192.168.1.254 8.8.8.8
dns-search LinuxMCE.local
down /sbin/ifconfig br0 down

Here is /etc/default/isc-dhcp-server:
Code: [Select]
INTERFACES="br0"
and here is the output of iptables -vnL
Code: [Select]
Chain INPUT (policy DROP 3 packets, 116 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x29
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x3F
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x00
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x06/0x06
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x03/0x03
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x11/0x01
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x37
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x1
    2    92 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0            /* Allow_Loopback */
  492 57564 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED /* Allow_Established */
    0     0 ACCEPT     udp  --  eth0   *       0.0.0.0/0            0.0.0.0/0            /* Allow_DHCP */
    6  1616 ACCEPT     udp  --  br0    *       0.0.0.0/0            0.0.0.0/0            /* Allow_DHCP */
    0     0 ACCEPT     udp  --  eth0   *       0.0.0.0/0            0.0.0.0/0            /* Allow_DHCP */
    2   120 ACCEPT     tcp  --  br0    *       192.168.80.0/24      0.0.0.0/0            /* Allow_Local_Network */

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all  --  lo     lo      0.0.0.0/0            0.0.0.0/0            /* Allow_Loopback */
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED /* Allow_Established */
    4  2563 ACCEPT     tcp  --  br0    *       192.168.80.0/24      0.0.0.0/0            /* Allow_Local_Network */

Chain OUTPUT (policy ACCEPT 317 packets, 45260 bytes)
 pkts bytes target     prot opt in     out     source               destination         
       



Let me know if you need anything else.

Dennis

27
Users / To 'bridge' or not to 'bridge'
« on: January 21, 2016, 05:28:59 pm »
In lmce 1204 and 1404, bridging appears to have changed within the linux kernel.   In 1004 i had bridged eth1 (internal NIC) with wlan0 (AP) following  the instructions here:http://wiki.linuxmce.org/index.php/Access_Point
After changing 'eth1' in the firewall to 'br0' (the bridge interface), verything worked without a hitch.

In 1204 and 1404, when the bridge is set up the same, the MDs cannot access the nfs storage drives, but my wifi devices work fine. 

Is there a better route to take other than bridging?     Is there something else I need to do to the firewall?   

Some internet sources suggest installing ebtables and set up some rules there and add other rules to iptables.   I dont quite grasp firewalls  and am stuck.

Any suggestions will be greatly appreciated.

Dennis

28
Users / Re: Happy New Year!
« on: January 05, 2015, 02:52:39 am »
holy cow batman!   It WORKS!

thanks!

Dennis

Im using makemkv-bin so I'll see what in my library it can and cannot play!

Dennis

29
Users / Re: Happy New Year!
« on: January 05, 2015, 02:37:50 am »
DOHHHH... stupid popup blocker!   lemme try a'gin!   

Dennis

30
Users / Re: Happy New Year!
« on: January 05, 2015, 02:34:38 am »
I did a sqlcvs diff first.. no differences indicated.   I tried the sqlcvs update but nothing happened other than a reload of the web page.

I verified apt-upgrade is up-to-date.

DVDs launch as normal.

Obviously something is not right... but not sure where to look.

Note:  I am running 12.04

Dennis


Pages: 1 [2] 3 4 ... 19