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.


Topics - huh

Pages: [1] 2
1
Users / 12.04 and 14.04 Firewall Issues
« on: November 29, 2015, 06:05:46 am »
I installed LMCE-1404-20151124002031655-i386 on Nov 27, 2015 using what used to be a standard install- dual nics, nvidia graphics.  Sarah loaded, my SqueezeBox was found and installed correctly- that's all I tested that worked.

What didn't work is ssh or remote access of the web admin pages.  I opened the web admin pages from the core and opened the "outside access" page from the left hand menu.  Enabling remote access on ports 80, 8080 and ssh on 22 did not allow me to remotely access the core.  I manually added rules using the advanced pages- both as a core input and as NAT preforwarding to both 192.168.80.1 and 127.0.0.1, but no success.  I did the rules separately, so the different rule types separately, so there was no overlap of firewall commands.  Only disabling the firewall (IPv4 only, btw, I did not test IPv6) allowed me access- even then, no ssh.

If it matters, I also tried sshing out of the core and was not able to do that either.  Doing some generic searching led me to looking at the installed keys ("ssh-add -l") and these possible solutions:  http://stackoverflow.com/questions/17846529/could-not-open-a-connection-to-your-authentication-agent

As for me, I'm dumping 14.04 and changing to 12.04. 

Edit: Same applies to 12.04.  I am able to access the web admin pages remotely only after disabling the firewall.  I am not able to ssh into the box from either externally or internally (x.x.80.x address) without or without the firewall enabled. 

I mean this with any implied criticism or sarcasm- there seem to be very few of us with firewall issues.  Is that from most using older versions or am I doing something fairly unique with the firewall?  That is, do most rely on another device (router, etc ) for the firewall, or do you not do any port forwarding/ssh at the core?  I ask because if there is a better (read: more mainstream) approach, I'm more than happy to change.

iptables -nvL:
Code: [Select]
Chain INPUT (policy DROP 4 packets, 160 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcpflags: 0x3F/0x29
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcpflags: 0x3F/0x3F
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcpflags: 0x3F/0x00
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcpflags: 0x06/0x06
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcpflags: 0x03/0x03
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcpflags: 0x11/0x01
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcpflags: 0x3F/0x37
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x1
 1978  425K ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0            /* Allow_Loopback */
  854  185K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED /* Allow_Established */
  285 41433 ACCEPT     udp  --  eth1   *       0.0.0.0/0            0.0.0.0/0            /* Allow_DHCP */
 1078  225K ACCEPT     udp  --  eth0   *       0.0.0.0/0            0.0.0.0/0            /* Allow_DHCP */
   13   780 ACCEPT     all  --  eth1   *       192.168.80.0/24      0.0.0.0/0            /* Allow_Local_Network */
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            127.0.0.1            tcp dpt:80 /* Remote_Access */
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            127.0.0.1            udp dpt:80 /* Remote_Access */
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            127.0.0.1            tcp dpt:22 /* SSH */
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            127.0.0.1            udp dpt:22 /* SSH */

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 */
 3757 1411K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED /* Allow_Established */
  100  6032 ACCEPT     all  --  eth1   *       192.168.80.0/24      0.0.0.0/0            /* Allow_Local_Network */

Chain OUTPUT (policy ACCEPT 4825 packets, 708K bytes)
 pkts bytes target     prot opt in     out     source               destination

2
In observation of rules #1 and #2....

I installed the 14.04 20150630062­730843 snapshot tonight (on standard dual network setup) and everything seemed to work great, until it rebooted for the 2nd/3rd time and attempted to get nvidia drivers.

I'm transcribing from a recording on my phone, so bear with me with typos...

Code: [Select]
* Staring CheckAVWizard check_avwizard
/etc/X11/xorg.conf is missing.  Using video driver 'nvidia' for ....
*Installing nvidia driver this may take a few minutes . /usr/pluto/bin/nvidia-install.sh
* Starting AVWizard AVWizard_Run.sh

Then it attempts to pull the package, but fails on
Code: [Select]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main dkms all 2.2.0.3-1.1ubuntu5.14.04
404 Not round [IP: 91.189.91.13 80]
Faied to fetch...

It thinks it pulled the nvidia driver and says
Code: [Select]
Nvidia driver installation requires a reboot
Please stand by while your system is rebooted

I let it do this 3 times just to make sure it wasn't a fluke.

Is there an easy way to get it to bypass the nvidia install?  I really could do with a headless install, but am perfectly fine with the generic (non-nvidia) driver for what I'm using this for.

3
Installation issues / NIC Issue (Working Solution)
« on: August 04, 2015, 03:26:30 am »
Quick background- running 12.04 on a Revo 1600 with a USB NIC.  Only package I've installed (beyond the apt-get update && apt-get upgrade) was to try out Langstron's QOrbiter.  I started with 30/6/2015's 14.04 install, but could not get the NIC's to work.  Tried a couple other dates and settled on 14/6/2015's 12.04 install.  I am pretty sure my NIC's didn't work out of the box with this one either- but somehow I was able to get connected enough to install QOrbiter.  Shut it down for the night and moved the box to the basement.

Skipping steps to the Problem & Solution-
On boot (or manual /etc/init.d/networking restart) I got an error about an incomplete line.  Lines 24-26 of the following are incorrect and get reverted back to this on reboot:
Code: [Select]
#####
# 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

# --- Internal NIC ---
iface eth1 inet static
        address 192.168.80.1
        netmask 255.255.255.0
        pre-up sysctl -q -e -w  net.ipv6.conf.eth1.disable_ipv6=1
        # DNS Settings for Internal Net
        dns-nameservers 192.168.80.1
        dns-search LinuxMCE

# ---   ---
iface  inet static
        address
        netmask

#####
# Activating interfaces
#####
auto eth0 eth1 lo


Simply adding # before lines 24 through 26, saving and running "/etc/init.d/networking restart" gets my NIC's running.  (For ease of reference, here are lines 23 through 26:
Code: [Select]
# ---   ---
iface  inet static
        address
        netmask

4
Users / Dianemo Installation
« on: March 08, 2015, 01:44:30 am »
Completely changing my post as I've done a complete reinstall of 12.04.

I've tried the dianemo-installer 1.20 and 1.21 (on different installation attempts) and both return the same result.  Ubuntu says, "The system network services are not compatible with this version." 

ifconfig only lists my lo at 127.00.1.  lshw -class network, however lists my wireless adapters in addition to both of my wired connections.  After the 12.04 install, both NICs worked just fine- it was only (guessing) 3/4 of the way through the Dianemo install that it died.

Install log just reflects "Installation FAILED: Nerve Centre".

Any thoughts on getting this back up? 

Here's my lspci -nnk | grep -i -A2 net:

Quote
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
   Subsystem: Hewlett-Packard Company Device [103c:197d]
   Kernel driver in use: rtl8188ee
--
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 07)
   Subsystem: Hewlett-Packard Company Device [103c:1982]
   Kernel driver in use: r8169

Next edit- was able to edit /etc/network/interfaces, set eth0 to dhcp, ifup eth0 to not have an ip.  Running dianemo-software-update.sh just tells me that "package dianemo-orbiter is not configured yet".

5
Users / Rerip Audio CD
« on: April 04, 2014, 06:04:37 am »
Is there a way to reset the flag on a ripped cd?  I have a cd that didn't rip correctly, but when I put it back in my system (Dianemo), it says the cd is already done being ripped.

Where is that flag stored and how do I reset it?

Thanks

6
Putting in a feature request to add "Edit" and "Disable" buttons to each line in Advanced->Firewall. 

Right now you can add the address to forward the ports, but to disable those (even temporarily) you need to delete the line.  Also, if you choose to change the address where a port is being forwarded, currently you must delete the existing and recreate the rule.  A edit option that made the cells editable and a radio button to reflect the enabled rules would be very helpful- similar to what's found on a typical residential router.

7
Users / QML Code Help
« on: December 28, 2011, 03:01:04 am »
Should probably jump on IRC for this, but trying this first...  spent a couple hours trying to figure out how to get this to work and now asking for help:

http://imgur.com/4AOsG

I have a simple pathview at the top that loads the different menu options into a (currently) ellipse shape where the icons at the front are larger and visible and get smaller and transparent as they are rotated to the back.  Still playing with different shapes and for now am just using the icons from the basic layout for convenience.  

My issue is that I would like the submenu options (e.g. "TV", "Audio", "Video", etc) buttons to appear in the middle of the screen when the appropriate menu is at the forefront of the pathview.  In other works, if the user rotates the pathview to "Media", I want the media options to be presented in the middle of the screen.

Right now the main menu items are pulled from a separate ContactMenu.qml file,  but I think my issue is at the bottom of this code in the MouseArea portion.  Clearly I don't have any code to populate a space as I was for now just trying to change the text color of the menu items to make sure I understood how the mouse area code works:

Code: [Select]
       Rectangle {
            width: scaleX(100)/3; height: scaleY(100)/4
            anchors.horizontalCenter: stage.horizontalCenter
            color: "transparent"

            Component {
                id: delegate
                Item {
                    width: 80; height: 80
                    scale: PathView.iconScale
                    opacity: PathView.iconOpacity
                    Column {
                        Image { anchors.horizontalCenter: nameText.horizontalCenter; width: 64; height: 64; source: icon }
                        Text { id: nameText; text: name; font.pointSize: 16; color: "white"}
                    }
                }
            }

            PathView {
                Keys.onRightPressed: if (!moving) { incrementCurrentIndex(); console.log(moving) }
                Keys.onLeftPressed: if (!moving) decrementCurrentIndex()
                anchors.fill: parent
                model: ContactModel {}
                delegate: delegate
                path: Path {
                    startX: style.orbiterW/6-25; startY: 100
                    PathAttribute { name: "iconScale"; value: 1.5 }
                    PathAttribute { name: "iconOpacity"; value: 1.0 }
                    PathQuad { x: style.orbiterW/6-25; y: 0; controlX: style.orbiterW/6-style.orbiterW/1.5; controlY: 50 }
                    PathAttribute { name: "iconScale"; value: 0.3 }
                    PathAttribute { name: "iconOpacity"; value: 0.0 }
//                    PathPercent { value: 0.50 }
                    PathQuad { x: style.orbiterW/6-25; y: 100; controlX: style.orbiterW/6+style.orbiterW/1.5; controlY: 50 }
//                    PathPercent { value: 0.50 }
                }
                MouseArea {
                    anchors.fill: parent
                    onClicked: { delegate.nameText.color = 'red' }
                }
            }
        }

Any ideas?  

TIA-

8
Users / Dayton Amplifiers with RS232 Port
« on: October 02, 2011, 05:42:10 am »
Anyone have any experience with the Dayton amplifiers such as this one: 

http://www.htd.com/Products/mid-level-whole-house-audio/MCA-66-Audio-Controller-Amplifier#more

I don't see the RS232 codes in the owners manual...  and $700 is a steep price until you consider it's a 6 channel amplifier.

Did a wiki and forum search and don't see anything.

9
Users / Slim Server/Squeezebox Server Not Loading on Firefox
« on: March 19, 2011, 04:34:25 pm »
Any one able to open the squeezebox server using firefox? 

I am running snapshot 23826 from March 15, 2011 and when I go to configuration -> Squeezebox Server, all I see is the "Loading Squeezebox Server..." screen with the circle progress indicator making the appearance that the page is still loading.  I am running Firefox 3.6.15 on a Kubuntu install, but Firefox 3.6.14 on a Win 7 computer has the same effect.  Both Konqueror, Internet Explorer and Opera on my iphone open up the page just fine.  I'm not running any plugins on Firefox that would stop the page from loading...

Anyone have luck loading the page in firefox?


10
Users / 2Gig Z-stat
« on: December 13, 2010, 10:01:50 pm »
Seeing if still is interest in getting a Fahrenheit, z-wave t-stat working.  2Gig just came out with a backlit, touchscreen:

http://www.asihome.com/ASIshop/product_info.php?cPath=564_567&products_id=4560


For $79 + shipping, I'll provide the t-stat to a developer that can get this going, but think we may need other to chip it to pay for development time...

Any of the members from this post still interested or anyone else?
http://forum.linuxmce.org/index.php?topic=9667.0


11
Users / Internet Radio segfault
« on: October 25, 2010, 07:17:54 am »
Hello,

Trying to setup internet radio- one station works great:
http://2453.live.streamtheworld.com:80/KYKYFMCMP3?.wma

The other station:
http://1731.live.streamtheworld.com:3690/KPNTFMCMP3?.wma
Works at best 10% of the time. 

From dmesg on the MD where I am trying the radio (have tried other MD's- not the core yet) I get the fooling error immediately after the stream dies on the MD display (no audio is played) and I am dumped back to the home screen.

[89175.718498] Xine_Player[19653]: segfault at 0 ip b7acc323 sp b0baf15c error 4 in libc-2.8.90.so[b7a55000+158000]


It only does that with the one stream- never with the other station.  Anyone have any ideas where to start?  If you plug in that address to winamp, the station plays fine, so I think it is something locally.

Thanks


12
Installation issues / LG LCD Template
« on: March 01, 2010, 04:50:19 am »
A number of people have contributed to building a template for a LG LCD as described here:

http://wiki.linuxmce.com/index.php/LG_42LB5D

As listed in the wiki, there should be a template here:  /usr/pluto/pnp/20_LGLCD.sh

but the only template is the 20_LG_TV which points to a 1915 template, not a 1905 as listed in the wiki.

When I plug in my LG tv and pick from the available templates ("20 LS7D (RS232)") is added to the system, but when looking at the ruby code, nothing is programmed (on/off, video select, etc).

Judging from this http://svn.linuxmce.org/trac.cgi/browser/branches/LinuxMCE-0810/src/pluto_main/Define_DeviceTemplate.h?rev=22816 looks to confirm that the template was never added.

Any suggestions?


13
Users / Current MythTV version
« on: January 26, 2010, 05:56:58 am »
As of the latest beta with updates today (Jan 25,2010) what is the current version of MythTV?

Running "mythfrontend --version" gives this:

My core has this:

MythTV Version   : 23229
MythTV Branch    : branches/release-0-22-fixes
Network Protocol : 50
Library API      : 0.22.20091023-1
QT Version       : 4.4.3


My MD has this:

MythTV Version   : 22779
MythTV Branch    : branches/release-0-22-fixes
Network Protocol : 50
Library API      : 0.22.20091023-1
QT Version       : 4.4.3

Everything is up-to-date and I cannot get the two version to match.

What is the latest version and how do I get both to match?


14
Installation issues / Beta 2 pulic keys
« on: December 04, 2009, 02:07:31 am »
On my Revo, it looks like- when the MD is booting- that the 195 packages are installed, but am only able to get UI1 to work.  Under the restricted drivers, I do not see that the nvidia drivers are installed.  Then, I SSHed in to run apt-get update and apt-get dist-upgrade and got this:

Anyone else see something similar?  I think this is a new topic- if not, I missed it in my search.

Quote
Err http://archive.ubuntu.com universe/contrib Packages
  404 Not Found [IP: 91.189.88.31 80]
Fetched 389B in 1s (206B/s)
W: GPG error: http://www.avenard.org intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 43C5D7EA63702FD3
W: GPG error: http://packages.medibuntu.org intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/universe/main/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.31 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/universe/non-free/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.31 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/universe/contrib/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.31 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.

15
Tried the internet installation last night and got the below message- figured the server may be down for maintenance or whatever, but get the same error this AM.  Am on the internet- posting this from the same box.  Any ideas?   eth0 is my external...

Quote
Err http://deb.linuxmce.org karmic/lmce-alpha-latest Packages
  404  Not Found
Err http://deb.linuxmce.org karmic/lmce-alpha-latest-updates Packages
  404  Not Found
Fetched 1B in 1s (1B/s)
W: Failed to fetch http://deb.linuxmce.org/ubuntu/dists/karmic/lmce-alpha-latest/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://deb.linuxmce.org/ubuntu/dists/karmic/lmce-alpha-latest-updates/binary-i386/Packages.gz  404  Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.

and

Quote
E: Couldn't find package pluto-dcerouter

followed by:

Quote
ERROR : Failed to install and configure the base software

Pages: [1] 2