Blog

How to install PIzeroKaraoke

Quick Tutorial

 

  1. Setup your raspberry pi to boot to console.
  2. Follow the instructions form Raspberry PI site to setup nginx + php (https://www.raspberrypi.org/documentation/remote-access/web-server/nginx.md)
  3. Create a folder called songs in /home/pi/.  Songs should be stored in : /home/pi/songs/
  4. Download all the files from https://github.com/hcgonzalezpr/PIzeroKaraoke
  5. Copy cvlc.service to /etc/systemd/system/ and enable it by issuing sudo systemctl enable cvlc
  6. On /boot/config.txt change the framebuffer resolution to:  ( To improve performance on RPI1 and PIzero )
    framebuffer_width=288
    framebuffer_height=192
  7. copy the html folder to /var/www/
  8. Reboot and browse to your Raspberry IP, IP and if you have songs in the folder they should up and play when selected.

 

 

 

Ouvis veezon VZ1 Hacking ( and clones alike )

When I first bought this camera, I read the reviews from all the people that complained their camara got hack because they left the default (no pass) password, and someone took control over their cam. Been a bit savvy and having a “decent” firewall (Fortigate) at home, the first thing I did when connecting the camera to my home is to look at all the active connections the device was trying to make.

 

The camera software claimed it didn’t need the IP of the device, just a qr code that would pair the camera with the app on my phone. From the screenshot below it looks like it’s a UDP tunnel, but keep in mind I don’t have upnp enabled, so it’s probably using some magic to connect the 2 devices through UDP.

 

The other connections are:
8.8.8.8 = Google DNS
54.186.68.220 = AWS server on port 32100
54.186.116.85 =AWS server on port 32100
182.92.233.118 = Chinnese IP on port 32100 ( I blocked it for now and all functions still work. )

 

Looking a bit more into the chinese ip it looks like from Aliyun Computing. A quick google search tells me it seems aliyun is the chinese counter part of Amazon AWS services, it seem like Aliuyun is now Alibaba Cloud services.

 

Looking at the communication generate from the app on my phone. It seems the trick the camera uses to have both devices to connect to a third party device, that will help out do a UDP Pinhole between both devices to connect directly via UDP without doing port forwarding.


For now I blocked access to the for the China IP and keep an eye on what traffic goes on the system. Based on the research the encoder process is the one that connect between devices, but i’m worried about the sh process listening on those udp ports.

 

How to put the Motorola NVG589 in pseudo ‘bridge mode’ and forward IPv4 + IPv6 to your router.

Overview

I recently got ATT U-verse service and I rapidly notice it started giving me all sorts of issues, like blank screen, slow loading, etc. So I started checking for possible issues ping was ok, there were not packet loss, it turns out the issue is forced ATT DNS timing out, causing all the trouble.

I said ok let me switch to Google DNS… It turns out ATT disabled the option to put custom DNS, I said ok I got a Asus RT-AC66U let me put the NVG589 as bridge mode and the RT-AC66U takes care of the rest.

Tried google how to turn the the NVG589 into pure bridge mode, and found something that look promising a way to gain Root Access to the router to enable true bridge mode, but it turns out my brand new modem has an updated firmware with the exploit fixed. After some more googling I found that ATT uses 802.1x to authenticate their devices, so I cant give all the responsibilities to the RT-AC66U, I must used their DMZ+ ( Pseudo ‘Bridge mode’ ).

I found a great tutorial on the ATT forums to put my NVG589 into pseudo ‘bridge mode’ but when I did at first I lost IPv6 on my network. After some more reading it seems ATT enabled IPv6 in most places using a 6rd tunnel, my RT-AC66U has support for that type of tunnel, so I googled around what settings ATT used disabled IPv6 support on the NVG589 ( It basically turns off the tunnel. ) and applied the settings to my RT-AC66U and Boom, my RT-AC66U got both IPv4 and IPv6 public Ip Addresses and my whole network was able to browse the internet via IPv4 + IPv6.

Now my internet is blazing fast, I get no hang pages, or slow loading on youtube because of timed-out dns queries.  One thing still holds true since this is a psudo bridge mode, the NVG589 still does the NAT for IPv4 and its limited to 2560 but this only applies to IPv4 as IPv6 is via a tunnel and does not count.

****Disclaimer: I am not responsible for any damage to your device(s) or anything that goes wrong. Proceed at your own risk.*****

First Steps

  • Make sure you have a laptop or a computer that you can connect directly into the NVG589.
  • Unplug all ethernet cables from the NVG589 except for the one going into the aforementioned laptop.
  • Write down the MAC address of your personal router (the WAN MAC address if you see different ones for LAN and WAN)

Settings on the NVG589

  • Login to your NVG589 by going to 192.168.1.254
  • Go to ‘Home Network’ then ‘Subnets & DHCP’.  Your password is on the side of the modem.
  • If your ‘Device IPv4 Address’ is the same subnet as your local router, I suggest changing it.
    • I changed mine to 192.169.255.1 but you can stick with whatever you like / need.
    • And changed my subnet mask to 255.255.255.248 ( Limit valid Ip Addresss to only 6 )
    • Change ‘DHCPv4 Start Address’ to 192.169.255.2 (or whatever your above Device IPv4 address is but with a 1 at the end instead of .254)
    • Change ‘DHCPv4 End Address’ to 192.169.255.6,  We need these for any IPTV STB, but It’s important that you only have the laptop plugged into the ethernet at this point.
  • Click  -> ‘SAVE’ at the bottom.
  • Go to ‘Home Network’
    •  Got to ‘Wireless’
      • Turn wireless off.
    • Go to ‘Configure’
      • Turn IPv6 off.
  • Go to ‘Firewall’ then ‘ ‘Packet Filter’.
    • Click -> ‘Disable Packet Filters’  ( Again, we want our router to do the work. )
  • Make sure you don’t have any of your own settings turned on in ‘NAT/Gaming’ (don’t worry if you see 1 in there already that you can’t delete).
  • Go to ‘Firewall’ then ‘IP Passthrough’.
    • For ‘Allocation Mode’ select ‘Passthrough’
    • For ‘Passthrough Mode’, select ‘DHCPS-Fixed’
    • Type in the MAC address for your router under ‘Manual Entry’, lowercase is fine.
  • Click -> ‘SAVE’  ****  It will tell you that it needs to reboot.  Hang on for a minute. ****
  • Go to ‘Firewall Advanced’ at the top and turn everything OFF.
  • Near the top of your screen, you should see an option telling you to reboot the router. Go ahead and do this now. It takes about 2 minutes.
  • While the NVG589 reboots unplug your laptop from it, and connect your RT-AC66U and the IPTV STB to the back of the NVG589.

Settings on my RT-AC66U ( You can use other routers. But this instructions are aimed for RT-AC66U  )

  • Login to your RT-AC66U.
  • Go to ‘WAN’
    • Change ‘WAN Connection Type’ to ‘Automatic IP’.  ( This will give your personal router the external IP of the NVG589 )
    • ‘Enable WAN’,
    • ‘Enable NAT’ and ‘Enable UPnP’ is all set to YES for me.
    • I recommend Setting your own DNS server ( This is the main point of the tutorial replacing the ATT DNS with something better. )
      •  I use Google’s but you use whatever you like.  Google’s is 8.8.8.8 and 8.8.4.4
    • ‘Account Setting – Authentication’ is ‘None’.
    • There are no Special requirements from ISP at the bottom.
    • Hit ‘APPLY’ at the bottom and your router will reboot.
  • After the reboot your RT-AC66U should have a public IP Address and access to the internet but still missing IPv6.
  • Go to ‘IPv6’
    • Conection type ‘6rd’
    • DHCP option ‘Disabled’
    • IPv6 Prefix ‘ 2602:300:: ‘
    • IPv6 Prefix Length ’28’
    • IPv4 Border Router ‘12.83.49.81’
    • For DNS use I use Google’s but you use whatever you like.
      • Google’s is 2001:4860:4860::8888 and 2001:4860:4860::8844
    • Hit ‘APPLY’ at the bottom and your router will reboot.

Thats it after this if everything went correctly you should have both IPv4 + IPv6 on your RT-AC66U with custom DNS.

 

This tutorial is the merged of two post that I found on the internet :
http://forums.att.com/t5/Features-and-How-To/How-to-put-the-Motorola-NVG589-in-bridge-mode-or-as-close-as-you/td-p/3552057
https://forums.he.net/index.php?topic=2293.0

LG 32LD450 Source Code

http://www.lg.com/global/support/images/opensourceGSZ/GP2_MSTAR_2.tar.gz

——Reply to Your Inquiry——-
Dear Harry,
I apologize for any delay and inconvenience you may have experienced. I can assure you, I will do what I can to assist.

The 42 and 32LD450 are identical except for screen size. You can consider the 32LD450 and the 42LD450 license and source code identical.

Other than adjusting your antenna, maybe raising it higher, there isn’t much else we can do. If the issue persists, then it may require service.

If you have other questions or concerns, please do not hesitate to contact us again either via email, or by calling our customer service division at 800-243-0000 at your convenience.

Scott B.
E-mail Administrator
Customer Interactive Center
LGEAI

This communication is confidential, intended only for the named recipient(s) above, and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. Thank You.

Click here to reply

———–Original Customer Inquiry————
Received Date : 12/17/2010 19:18 41
The type of inquiry : Others
Product/Model No. : Conventional/Flat TV/32LD450

I was unable to find the Firmware sources for this set at http://opensource.lge.com.
There are the sources for 32LD350 and 32LD420 and 42LD450 but not 32LD450. Based on the In-start menu the model is a GLOBAL-PLAT2 and the Chip Type Saturn 7, the same as 42LD450 and LE5300. Can you make public the sources of this model as GPL License requires. And if posible please respond to this email to now the it was at least read.