BTMS proposal

2008-11-30_btms-proposal


Posted on : Dec 01 2008
Posted under Bluetooth Media Sharing, MiG, Uncategorized |

MyDNS

There has been some issues for me to convert the wifi interface of the computer to an AP under ubuntu studio 8.10.

This is my attempt to still enable users to connect to the BTMS server using wifi.

My First attempts included installing chillispot on the system, but that ended up messing up all my network settings and that was not what I really wanted: end up without any networking working at all.

My second attempt, that now seems the correct route to take is to use a hardware router connected to the ethernet port of the server and redirect all the traffic to the server.
To redirect the traffic there are two ways that I have found:

  1. Install DD-WRT on the router and use the captive portal features of the router
  1. This route was tried and miserably failed :(   . This is because the router used is a DIR-300 and it is a cheap piece of useless junk! haha
    Even with the original firmware I find that the router is pretty crap… and failed in many ways (even at simple tasks such as getting an IP through DHCP on startup). With DD-WRT installed, most of the extra features such as VPN serving or captive portals did not want to work :(
  • Install a custom DNS server and simply force the router to use the server as a DNS server for all the clients.
    1. This was done, after a little research, by installing "mydns" (http://mydns.bboy.net/) on the system and redirecting all the incomming DNS requests of the router to that server. The ruling system was simple enough for me to force all the addresses to point to the pages I want. Since it did not allow wildcards for the final domain extensions such as .com, .aero, .hk ….. I simply got the list of all those extensions from Wikipedia and make a simple SQL script to insert them all with the info i required. So far, so good.
      One of the things I would find to say about this system is that if the computer accessing the system does not clear its DNS cache frequently enough or at reconnection with another AP, they will have all the URL accessed during that session show up as inaccurate and inaccessible.

    Posted on : Nov 11 2008
    Posted under Bluetooth Media Sharing, MiG |

    New front-end for BTMS

    Since the ideal for this system is portability, the new interface will not replace totally the originally XHTML/Javascript based front-end, but it will supplement it with much richer and less resource intensive work.

    I am now using Flex to implement the front-end, php provides the backend for supplying with the media info and any new update.

    The interface now polls for new data every 10 seconds and thus, the display can be refreshed every 10 seconds. Since the data is not time-critical I consider those 10 seconds enough for the user not to run away by not seeing his work displayed.

    This switch to flash based medium that does not support the animated GIF images I have in the HTML interface will force me to encode those videos in FLV format.

    Why I picked Flex is because there are now a plethora of 3D engines for flash and also because about 90% of the browsers support flash. Furthermore, this would also enable kiosks to simply run the flash application in a standalone projector instead of having to run a browser that would hog down the system resources.

    For testing, please come to Inno Centre in the SIG area and upload your pictures to "Bluetooth Media Sharing" via bluetooth.

    The wifi extension is ready but not yet enabled so as to keep my system in the short-range availability only.


    Posted on : Nov 09 2008
    Posted under Bluetooth Media Sharing, MiG |

    BTMS update

    Finished the MAC filtering settings on my BTMS system.

    Now, the system will have 3 settings: blacklist, whitelist and OFF. This will enable to filter the content as it come. The three modes work as follows:

    - blacklist: will delete all the submissions done by the registered MAC addresses. It will not even try to process them as they will be deleted straight away

    - whitelist: will automatically approve all the content that is submitted by the registered MAC addresses. Content that is not in the list of approved MAC addresses will be added nonetheless but will need to be approved manually by an admin.

    - OFF: will approve everyone and every content without admin supervision.

    I also finished making the admin page for removing/accepting images. The page was mainly tested on my iTouch and displayed quite well.


    Posted on : Oct 16 2008
    Posted under Bluetooth Media Sharing, MiG |

    Project Update on BTMS

    Trying to work with Red5. It does not really work like i would like it to.

    I might actually go back to a PHP backend for the whole AMF connection between Flash and the database. It was quite snappy when working on http://matchup.morgan.hk/www last year. I was using AMFPHP at the time and quite liked it for its simplicity of implementation. (It is also important to note that I am quite fluent in PHP and have a slight (huge) aversion to Java)

    So far, i can get the video conferencing to work. I only need to implement the interface properly and try to integrate it to the current BTMS platform.


    Posted on : Oct 06 2008
    Tags: , , , , , , , ,
    Posted under Bluetooth Media Sharing, MiG |

    Ref for red5 and Flex

    http://www.actionscript.org/resources/articles/615/3/Getting-started-with-red5-server/Page3.html

    http://www.flashextensions.com/tutorials.php


    Posted on : Oct 02 2008
    Posted under Bluetooth Media Sharing, MiG |

    getting Red5 to work

    Yesterday I was remoting in to the computer I have in the Inno Centre to try to get the Red5 working. (public holiday)

    While remoting in, I could sitll not get it to work how I wanted. I did make sure the firewall was open and I even tried to connect to the server by using a SSH proxy to the computer and no dice. All the time the server would try to get a handshake and timeout.

    In order to solve this problem, I simpy took the problem from the beginning and decided to re-install the whole red5 system.
    I did try to install it on the other machine I have in the Inno Centre, which is a Windows Box, but no dice. I am not a big java fan and apparently the java install I had was giving me trouble.
    What I had done the first time was to install it on the linux box was using the SVN snapshot. This might have been a bad idea since we never know what might have gotten through the latest submission. When going back to the website I found out that there was already a pre-compiled package for debian systems. Which is the underlying system to the Ubuntu box I am using.

    After installing the DEB file, everything ran out of the box and I am now happy to be able to test the server even remotely (tried from a computer lab with webcams in order to test the livre video broadcast)

    More info when I have developped a little more.
    Now, it’s time to install Flash


    Posted on : Oct 02 2008
    Posted under Bluetooth Media Sharing, MiG |

    Installing Red5

    http://osflash.org/red5/ubuntu804

    Tonight after class I installed Red5 on my ubuntu box down in the RA room. It will serve as a Flash Media server for the BTMS/MiG developments. Hopefully by next week we can have live video streaming happening between two clients.

    Then I should get on with authentication.


    Posted on : Sep 30 2008
    Tags: , , , ,
    Posted under Bluetooth Media Sharing, MiG |