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

Pages: 1 [2]
16
Users / Re: Stop asterisk from being hijacked
« on: May 03, 2009, 07:50:30 pm »
I've added an entry to /etc/hosts.allow for Asterisk and it seems to get the job done:

Code: [Select]
asterisk : proxy01.sipphone.com : allow
asterisk : 192.168.80. : allow
asterisk : localhost : allow
asterisk : ALL : deny

Before, I was able to easily connect the N800 SIP phone app from any external network and make dialed calls using default extension info (for example: 200,200). Now I can at least limit that access to specific hosts (or none at all) but I'm not sure if there are any security loopholes still open. Am I missing anything obvious by not trying to upgrade FreePBX and locking it down there?

17
Developers / Re: FreePBX upgrade
« on: November 13, 2008, 04:35:19 am »
Tekoholic, you just saved me a looooooooong ISO download. Thanks! I'll keep those debs in my back pocket for future Asterisk meddling! Also, what features did you gain with that FreePBX upgrade? Just curious.

18
Developers / Re: FreePBX upgrade
« on: November 13, 2008, 03:05:00 am »
So, I've been mucking around with Asterisk lately and decided to destroy my install!  ;D

Realizing what I had done, I went hunting for the original asterisk-pluto and/or pluto-asterisk packages to repair things but could not find them anywhere locally. I searched ("find | grep [Aa]sterisk") my local deb-cache and the install DVD to no avail. (I'm using the 7.10 RC2 i386 single layer ISO if that matters.)  I noticed Tekoholic had similar issues...

In the meantime, I wiped the drive clean and put a fresh install to find asterisk-pluto happily running! Using the adept-manager, it shows the proper package relationships and installed files, but any information for the source package or filename is blank. (I figured the installation grabbed an updated .deb file from the repository and was going to stash it away for safe keeping.)

So, where should I reliably go to pull down the packages if I screw things up again? Apt-get recognizes that other packages depend on asterisk-pluto and pluto-asterisk but tells me it can't locate them in the repositories. Should I add another repository to the apt/sources.list? Do I need to pull down the dual layer DVD ISO? AMD64? Should I rebuild the package from the source? Just looking to make life easer in the future so that small tweaks don't lead to a 6-hour reinstall.

Thanks.


19
Users / Re: Suggest me a TV-Tuner card (least CPU requirements)
« on: October 11, 2008, 02:32:57 pm »
Thanks. HDHomeRun is a tax bit expensive for me.

Are there any other PCI TV Tuner cards, which are ATSC/QAM the one capable of recording HDTV.

Did anyone test any other cards, which have less CPU requirements?

Thanks.

Well, depending on your threshold of pain (and type of cable box) you could buy a cheapo FireWire cable then follow these steps: http://www.mythtv.org/wiki/index.php/FireWire

It's a little tricky to get set up but provides a pure digital path from the cable box to the computer (and most HD). I've used it to pull some clips here and there but you're stuck with only 1 channel at a time and it has to be tuned live. Since you end up capturing the decoded transport streams just like they would be sent to an HDTV the CPU won't do much more than handle the data transfer.

With that, I also ended up getting the HD HomeRun and as tschak909 said it's worth the extra few dollars in headaches.

20
Users / Re: Digital media receivers
« on: October 08, 2008, 02:28:25 am »
Oh, and why do I need 2 NICs?

I tried testing and running the system with only one NIC and even though I was able to get it to work (installed with router providing DHCP, set static IPs, tweaked LMCE's network settings, etc.) it wasn't worth all the effort and gave me many sleepless nights.

At the very least (and if you run out of PCI slots) you should get something simple like the Linksys USB200M and use that for your connection to the Interweb. LMCE likes to have control of its subnet for better support of PNP and diskless Media Directors so I'd dedicate your GigE port for that.

So, even though it's possible, you should avoid it if you can and just buy a MB with 2 NICs.

So, if I am understand you one NIC is for communication with the server and the other is for streaming media?

I started writing out an explanation but then remembered there was a diagram on the Wiki that makes tons more sense: http://wiki.linuxmce.org/index.php/Image:Diagram1.jpg

You only need to worry about the Core having 2 NICs. Every other device will see the Core as the DHCP server and get an IP from it (using its single NIC). The Core will stay on all the time and as new resources pop onto the network it will try and make them available to every other device. It's very transparent so that all drives on the network will be visible as if you just streamed it locally or from the Core.

As an example, you might have an XP laptop (with MP3 files shared) that you connect to the LMCE wireless network. After the laptop gets its IP from the Core, LMCE will then notice the new shares and ask you if you want to use them on the network. Automagically, you should then be able to listen to those files from any other Media Director even though it's coming from a non-LMCE source.

I, personally, have 2 full separate networks in my home: one for LMCE and the other for my other testing and development. LMCE is actually a subnet beneath my main network and the external NIC is connected to the Internet through my main network. I did it this way so that I could tear down and rebuild LMCE at will and not destroy everything else. I also have a homebuilt NAS with 2 NICs that spans both networks so I can access my files/web/ftp servers regardless of which network I'm on (and the current state of my LMCE setup  ;D).

21
Users / Re: Digital media receivers
« on: October 08, 2008, 01:50:30 am »
Oh, and why do I need 2 NICs?

I tried testing and running the system with only one NIC and even though I was able to get it to work (installed with router providing DHCP, set static IPs, tweaked LMCE's network settings, etc.) it wasn't worth all the effort and gave me many sleepless nights.

At the very least (and if you run out of PCI slots) you should get something simple like the Linksys USB200M and use that for your connection to the Interweb. LMCE likes to have control of its subnet for better support of PNP and diskless Media Directors so I'd dedicate your GigE port for that.

So, even though it's possible, you should avoid it if you can and just buy a MB with 2 NICs.

22
Users / Re: Problems with 1080 @ MS-7329, black bar on the left
« on: October 08, 2008, 12:47:47 am »
I had a similar problem with my 42" Westinghouse and an NVIDIA 8600GTS. The solution (for me) seems a little Rube Goldberg-esque but it did work. Basically, you need to adjust the porch values to shift the timing of each line.

Usually, you would either run a command like "gtf 1920 1080 60 -x" to get your Modeline or even look through the Xorg.0.log file but neither of those worked for me.

Hopefully, you still have XP installed with the newest driver. Using the NVIDIA control panel, open the "Manage Custom Resolutions" panel then click on create. Write down all the numbers listed for your monitor. You'll use these to build the custom Modeline. Here's what I got for my monitor:

Horizontal:
-- front porch: 88
-- active pixels: 1920
-- total: 2200
-- sync width: 44
-- polarity: +

Vertical:
-- front porch: 4
-- active pixels: 1080
-- total: 1125
-- sync width: 5
-- polarity: +

Pixel Clk: 148.5000

Here's the final line I used in xorg.conf:
Modeline "1920x1080" 148.5 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync

How I got the values:
148.5 = pixel clk
1920 = horizontal resolution
2008 = 1920 + front porch
2052 = 2008 + sync width
2200 = total (or previous + back porch)
1080 = vertical res
1084 = 1080 + front porch
1089 = 1084 + sync width
1125 = total (or previous + back porch)

Oh, yeah, I was tweaking this on a diskless Media Director and Xconfigure.sh kept overwriting my xorg.conf on reboots. The wiki mentions a workaround by adding "exit 0" at the top of the file to prevent this. Once you figure out the proper settings you should probably rewrite the script, though.

Hope that helps!

23
Users / Re: New Z-Wave driver
« on: October 02, 2008, 12:14:11 am »
I finally got a chance to try out the new driver and it seems to work perfectly... very fast. When I plugged in my ZWave dongle (the USB HA22 from Intermatic) the setup wizard never asked me to copy my devices over (from the HA07). I just had to send the command from the Admin panel, manually. I'm not sure if that's intentional but other than that it works great.

In case you're curious, I'm using a random assortment of Leviton and Intermatic lamp modules and dimmers. All seem to work just fine.

Nice work, Hari!

24
Users / Re: Core/Hybrid Locking up: Possible Solution?
« on: September 18, 2008, 09:32:06 pm »
No dice. The Hybrid is unresponsive on the UI level (can't CTRL-ALT-Fx to other shells) but I can still SSH into it. I tried looking at log files but many of them are either zero'd out or 20 bytes long (gzipped files). In particular xorg.conf.log and xorg.conf.log.1 have no information.

DCERouter.log has messages about "Going to rotate logs..." then a few messages further has a "Query failed (MySQL server has gone away)". After that it repeats (hundreds of times) "Event #75 has no handlers". I'm sure this is more of a symptom than the source of the problem but I'm not sure where to look next.

FWIW, pluto.log is zero'd out, as well. In pluto.log.1 the last few messages are "20 (spawning device) ... Device died..." and variations of the same.

Any ideas on where I should be looking next?

Thanks

25
Users / Core/Hybrid Locking up: Possible Solution?
« on: September 17, 2008, 08:47:06 pm »
Recently, I've been enjoying the 100% usage lockups and every day or so having to cold boot my system once it goes fully unresponsive. I've put LMCE on 3 separate newly built machines with different hardware and pretty much ruled out any cooling issues. Finally, I came across some postings about the ACPI BIOS functionality hosing up Linux systems and decided to try and disable it in BIOS.

Well, so far the current system's been fully functional for about 4 days straight with no signs of squirrelly behavior. It might not be the magic bullet (I've been playing with kid gloves on this box) but it seems to be working rather well. I'll probably try this on the other 2 Core/Hybrid machines and see if it helps them out, too.

Note: Current test with Phoenix BIOS and LMCE 7.10 RC2

26
Users / Re: Xorg.conf settings for Intel 965 chipset
« on: June 20, 2008, 05:53:26 pm »
Hi there,

The problem is that the AVwizard is not detecting the 965 chipsets video chip correctly I would guess... we've seen this already with other chipsets. I guess that the 965 chipset in your Aopen is using a gma3000 series GPU and we will be testing some of these in the next few weeks. Once we have those tests completed we should be able to release an update to fix this issue.

Andrew

Yeah, that's exactly what I'm running into. I guess it doesn't hurt to keep mucking around with it some more. If I can get it working I'll post it up here, too.

Thanks!  :)

27
Users / Re: Xorg.conf settings for Intel 965 chipset
« on: June 19, 2008, 03:43:04 pm »
Well, that brings me to the real question, then.

Kubuntu 8.04 doesn't seem to use xorg.conf at all but somehow it sets the resolution perfectly. LMCE 7.10 RC2 can't set the resolution higher than 1024x768. Even when I manually stick in the proper modeline values from "gtf" it defaults back to a lower resolution.

Is LMCE using a different (older) driver for the intel chipset? Do I need to just pull the sources off of intellinuxgraphics.org and manually compile the driver?

Or, is there a repository I can point LMCE to that already has the driver packaged up?

I only mentioned 8.04 because it shows that there's an "off-the-shelf" Linux driver and configuration out there. I'm just having trouble translating that to LMCE 7.10.

I feel like an idiot having to ask this but I'm not sure where else to look (searching the kubuntu/ubuntu forums for xorg.conf related info only answers how to enable multiple-displays). No one on those forums is trying to roll-back the configuration because it works fine in 8.04.

28
Users / Xorg.conf settings for Intel 965 chipset
« on: June 17, 2008, 03:40:20 am »
I've been having some trouble the last few days finding the correct xorg.conf settings for the Intel 965 graphics chipset (for the newer AOpen MiniPC). First off, everything is great if I boot up using the Kubuntu 8.04 Live CD. Maybe I'm just not that familiar with the way Hardy tweaks the video card but there's no useful info in the xorg.conf file. After a quick search, it looks like you have to use the command "gtf [horiz] [vert] [refresh]" to find out the proper modeline settings. So, I grab those numbers (which can be found using 7.10, also) and punch then manually into xorg.conf and xorg.conf.pluto.avwizardr.

No dice.

I've tried using apt-get to upgrade xserver-xorg-video-intel for the newest drivers with no luck. I've also manually punched in the i810 driver but it still keeps me restricted to low resolution settings.

What's different on the video config side between Kubuntu 8.04 and the LMCE 7.10? How can I use the settings in 8.04 for 7.10 RC2?

It's really frustrating because the MiniPC looks great on 4 different monitors/HDTVs in 8.04 but I can't get above 1024x768 in LMCE.

I'm sure I'm not the only person chomping at the bit to use the MiniPCs as Core/Hybrid and Media Directors. They're so beautiful!

29
Users / Re: Survey: What Graphics Chip is Working for You?
« on: May 28, 2008, 10:26:47 pm »
Main Survey Questions:

1. What graphics chip is working for you? (if you don't know but know your motherboard model, just put that down)
nVidia GeForce 8600GTS (Tried and returned 8500 and 8800 -- both working, somewhat)

2. What is the highest definition video that you are successfully playing with this chip?
1080p (VGA); 1080i (Component); can't get DVI->HDMI to generate anything other than 640x480

3. Are you using UI2 with masking or UI2 with alpha blending?
UI2 with masking. I get the same tearing problem with alpha blending -- even with a Quad Core OC'd to 3GHz.

4. What version of LinuxMCE are you using?
7.10 RC2


Optional Survey Questions:
5. Is your graphics chip on the motherboard or a separate graphics card?
Separate

6. What model of motherboard or graphics card are you using?
XFX nForce 680i LT

7. Did you have to perform any special installation steps to get your graphics chip working for you?
Just some minor tweaking of xorg.conf to work with my Westinghouse (TX-42F430S). Never worked above 1280x1024 "out of the box" until 7.10 RC1. For B4 and below I would have to choose a lower res then overwrite all the xorg* style files (via SSH) and reboot.

8. Is there anything else that you think others should know about your graphics chip?
I will be forever grateful to anyone who can figure out the nVidia tearing issue. I've spent many a caffeine fueled night trying to fix it... and still failing miserably!

Pages: 1 [2]