Tuesday, April 12, 2016

The new http://tricktraker.com/ web site is born

 The domain http://tricktraker.com/ has been purchased and now has the new version of Trick Traker running on it.

Present Features of Trick Traker:
  • Configurable settings
  • Default user account is auto created, no login needed to post icons and tracks
  • All config settings memorized in browser Local Storage.
  • Map display auto updates with moving tracks and new added icons in real-time
  • Map now has full-screen mode that can enter and exit from.
  • When not in full-screen mode a Menu is now available to switch between Map, Config, Send Trick pages. 
  • Send Trick page allows sending your GPS lat long position when used from a mobile phones like android. (standard computer will also send but not accurate location in most cases)
  • Can create links to send to friends to bring up map views with your location
  • Now have 14 marker icons to choose from and growing
  • New settable time called Track Trail Time to only see tracks and icons on map what was added some number of minutes ago.
  • View a single member or marker contributors track over any period of time by setting of Track ID in configs.
  • Add more popup info on click of marker icon.
  • Default popup info already added with contributor id, timestamp.
  • Config allows modification of what API server to use that contains markers and is the server that you would use to send your targets.
  • server code is setup with CORS to allow API server on different domain than web site.
  • All present project code is open sourced on github  https://github.com/sacarlson/Trick_Tracker

Soon to be added features:
  • TBD

What is tricktraker.com?
 Tricktraker.com was originally thought of to be used to find good girls for hire off the street but has turned into a bit more.  It's really about finding near by fun places to be, in realtime. We have added focus on party marking and location finding.  Ways to tell your friends that this is the place to be at this time.  As your friends can also at some point hook in to be tracked and you can see were a group of them are at any point in time, or you can make new friends that happen to have a party near by your present location.  In some cases with weed parties that are also marked they can still use the police tracking system to keep safe.

We still need more money
The entire project so far has been created with just small donations.  Just think what we could do if we had money to spend on it.  There is nothing we couldn't do.  We are still looking for stake holders in the project.  At present we are looking for an additional 165,000 USD.  We estimate this will be enough to get us started or at least continue development for about 12 months with added consultants and engineers.

Friday, April 1, 2016

Digital Pimp continue development

Update Apr 11 2016:  We have published the first version of Trick Tracker at: https://github.com/sacarlson/Trick_Tracker

We are  using leaflet map in the development of the now renamed website app called "The Trick Tracker".   It looks to make things much simpler than I expected.  The first prototype of a map website with some of  the new custom icon symbols is now fully operational with real time auto updates every 10 seconds here: http://track.surething.biz/map/. that looks like this:

The map now also supports fullpage view that can be entered and exited from the button at the top left of the map (not seen on the above screen shot).

The target entry page of the website can now be accessed directly at: http://track.surething.biz/map/send.html
or can be accessed from the Menu from the map page.

Each target icon symbolizes a different types of tracked items including:

The Sexy Supper Star Icon for girls you would expect to pay 1000+ bhat for.

The Fat Girl Icon:

Nice Normal Girl Icon for a girl that is at least not fat and smiles at you and gives you the 3 second stare indicating she's available to you and expect her to cost less than 1000 baht:

Skinny Small Girl Icon:

Running Cop or Cop in Motion Icon indicating police in pursuit of some girls at this time and place:

Man with money indicating a customer for girls:

Lady Boy icon to symbolize kotoys:

 I'm here icon to show a friend or a girl where you are to help her find you:

New Beer Party icon added:

New Eating Here icon added:

I've also added a few more icons including a static or standing cop indicating he's just there and not chasing any girls yet.  I also have another icon of the police truck that is what they use to pickup the girls so we should keep an eye on it's location.

Update Apr 10 2016 10:16pm
I added the Menu option on Send Trick Position page and new added Config page that allows the setting of the default Map Center lat lon and other new options:  The menu also allows switching to another map screen that also has the menu option, but the default map uses the full page so to make changes in configs you have to manually link to the config or send page at http://track.surething.biz/map/send.html
At the bottom of the Config screen I also added a map link that allows you to send your default settings as a link to send your map info and position to a friend using skype or email or other methods. There is a few things I didn't finish yet that the Configs already have ready to use.  this includes the Track ID.  This will allow you to pick out any members ID and display his last known position and path track over a period of time determined by Track Trail Time (in minutes) that is also settable in config.  All config values are saved in the browser local storage.  At first run it will setup some default values and a random ID number for you.

Update Apr 10 2016
I added a test feature to setup tracks on myself (Scotty) over the last 3 hours so you can get an idea of the path and or if I am moving much at all.  I plan to have this for an option on all users in the future releases.  It will also be an options as to how far back in time the track will display on any tracked object.  Another added feature is a method to send a link to Trick Tracker that positions the center of the map at any point on the planet with options to add an icon at the center lat lon.  I will also later setup default settings of map center at start that will be settable by users in config and stored in the browser storage for the next time you go to the page.

Update Apr 9 2016
The web site now seems to be fully functional and tested on my android Imobile phone as two separate websites. One to control the added icons and another that is just to view what is presently seen on the map.  I will later provide links between the pages to switch between them.  You might notice that the Map website defaults to the location of Pattaya beach as were I live now.  I will later make it so you can set the default position and zoom that will be stored in your browser storage each time you visit the page.  I also have it presently setup on the map section of the site so that the first 10 seconds after you go to the site (no login or sign up needed)  that it will display all the targets collected over all time that are now present in the website database (less the users).  after 10 seconds the page auto refreshes with the user icons added (now only 2 with me Scotty and a test phone that is left in my room).  After 20 seconds on the website it then removes any targets that were not added or updated less than 25 hours before.  After this time the map will auto refresh every 10 seconds with any new target over 25 hours with info and users movements changes shown.  This way you can see what was at your present location just one day before as we find many girls end up in the same place each day about the same time.  You can also click on any target seen on the map to bring up a popup that includes some details of the target including who added it (id code number no names) and time and date that the target was acquired.   In the control website I've setup simple and big buttons as seen above that when you hit one it sends the location of the desired icon target as your present position on the planet.  On the first send of a target, a popup will ask if you want to allow your target to be sent as a security that is built into your browser.  On first entry to the control website a 7 digit random user ID number is generated and saved in your phones browser storage.  This number is also sent with any targets sent by this member over all time every time you run the site from this browser.  This ID number becomes the method that we presently use to reference who has been providing the information of the targets and this id will later be used in determining how accurate the data seen by this member is and weather it should be continued to be allowed to add icons displayed on the site.      

Older info from earlier post:
I will soon have the tracking setup with these symbols as buttons on the app, where a member can mark a location were one of these symbol items can be marked as being seen.  I will also later add color code or gray out as the time of how long ago the item was last seen at this location and then have it disappear after 60 minutes or so.  I will also later over time add new types of symbol items to identify and track other objects including the police truck.  For tracking I found I don't even need the application installed.  We will be using the features in  HTML5 that includes tracking that is supported in many browsers that run on your phone with very good accuracy or even on your standard PC computer as seen from this test example that we are now also running as a prototype to test html5 tracking: http://zipperhead.ddns.net/loc2.html
We can still as an option run the background tracking traccar or other that can run invisible on any android and have autostart at phone bootup to keep a constant track of an item of interest.

Wednesday, March 23, 2016

Prospectus on “The Digital Pimp” android app development

Prospectus on “The  Trick Tracker” Android App Development

What is The  Trick Tracker App?
The Trick Tracker App as we are now calling it (open for change) is an android software application to aide both prostitutes and the john's in arranging connections and providing safety to both prostitutes (now to be called Janes) and Johns by providing feedback from each party or group. The feedback reports generated by members and detectives will generate detailed profiles on each jane and john that can be searched to find desired params. It will also provide information on present law enforcement activities that are involved in the enforcement of such activities in the area of interest. A map of the desired location will be available with symbles providing locations of janes, johns, law with color code of when last seen. 

Example of first prototype running: 

As you can see we have already started with preliminary research and testing phase of the GPS tracking system of members.  here we now have two members on the list that we want to track shown on the website map.  We are testing using the open source code from traccar https://www.traccar.org to start to build from.  This code has a working example of both the android client app and the server side that is written in java that we plan to use and expand upon.  If you would like to help us test it you are welcome to login to http://zipperhead.ddns.net:8082 user: guest pass: guest.  optionally you can also add yourself to be tracked on the map if you install the android app https://play.google.com/store/apps/details?id=org.traccar.client.  in the traccar app change the server address domain from demo.traccar.org to zipperhead.ddns.net hit the ok button then start the tracker.  On the zipperhead.ddns.net:8082 webpage you can then add your device number and you nickname that will then add you to the map to allow tracking.  To track members from your phone you can open the website in chrome or most any browser you have installed on your android.  I  note the zipperhead web site above works very well from my Imobile android phone when used from the Google Chrome browser app on android.  I should also add that this is just a prototype test of one part of the system that we are designing.  This is not the end site that will be used in the final application.

What feature will the Trick Tracker App have?
The app will involve the use of the GPS tracking feature of android phones that will be used to track the location of presently active john's and prostitutes in a given radius range of interest. To provide safety to the girls there will be a profile of each john that will contain his picture, the number of other girls that he has had (provided by other girls that have had him) and a statement that he is not a law enforcement agent of any kind. Any police or government agent that are detected as members of the system will be band from usage until proven otherwise. Advanced facial recognition software will be used to prevent duplicate usage of accounts as a different nick name, to prevent police or any other member from again trying to join with a new nickname. On the john side of the app men (or women?) can find the locations of girls in there proximity and view a profile of the girls that will optionally contain photo's (photo will still be on record for biometrics). It can also contain rankings from other johns that have had her in the past that may also help determine that she is not a government agent setup for as a sting operation. johns can also submit girls into the system that will aid in tracking girls that don't apply to the system themselves. The reports can also be auto linked together if a photo is submitted and processed with facial recognition to provide all the reports on any single individual. Girls the same way can also submit reports on men that they have had as consumers to submit good or bad reports on. Any one on the system can also submit a report if they see a policeman at any time that they see as a threat at there location with a simple click (see cop). This data will show up on the system map page as color coded dots as to how long ago a law enforcement agent was last seen in a location and dots of the locations of both johns and janes that have also been seen or detected and how they rank at the time. This application will originally be specifically designed to support Pattaya that has the biggest percentage of prostitutes to residents in the world but it should also work in most any other place on the planet as there is not much difference in what is needed no mater what the location.

What is needed?
I am going to attempt to start development of the application myself and with my own out of pocket funds to pay for infrastructure and continued costs, but I feel it will take me too long to finish and will never be the quality that I really want if I have to do it alone. So what we need is money to spend on the development. I see the entire project costing about 165,000 USD to be completed in about 12 months with the help of 4 full time software engineers and some other staff with some added part timers and specialists contracts. With less money it will just take longer to complete and won't have all the desired features. Also part of the funds would be used to setup the first database using paid investigators to collect and maintain for a time to get it started before the members continued to collect what data is needed. There will also be continued infrastructure costs for database and website support and system admin, that will continue even after software development is mostly completed and maybe problems with governments trying to close it down if we did start such a thing and it got popular. So we might later also need uncentralized infrastructure using something like Etherium that can't be shutdown by governments. This part of the development will end up costing more money, but will make it an unbreakable entity in itself.

How will the system be funded?
The software development capital needed could be funded by something like kickstarter or if they don't accept such projects we would have to submit equity shares in the project in some way to collect the needed startup and maintenance capital. Later funds can be collected from members for added services fee that would include police, janes, john tracking, message sending between members and other services. Each of the added services will start as free, but will later be added fees at very reasonable rates of like 30 baht per month or 300 baht per year to be a VIP member with all privileges to start. For different regions we may charge different fee's rates.

How to get started?
The project will be broken into stages. My first plans are to develop a simple tracking app on android that sends updates of location to a web database. To me this is one of the most complex and most needed parts of the android app. Other parts of the android application of uploading images to the central database should not be as difficult. Most of the system application will be performed on the website and or cloud side. To start this part of the application will run on my local Linux system but will later be moved to a virtual web cloud server. The more advanced cloud application part includes facial recognition that will be in the later stages of development, will be another one of the most complex parts of the system. In stage 3 if needed we have to convert web site and cloud infrastructure into uncentralized Etherium for all cloud based activity. We won't have to worry so much about this stage until we start getting popular and start having governmental problems but I'm sure in the long run this will be needed and costly in time and money.

Foreseen problems
I see problems on three sides, the technical and legal governmental and popularity sales sides. At this point I can only focus on what I'm good at, that being the technical side. But we should also focus on the problem of how to popularize/sell the systems usage, Making a user friendly easy to use feature rich interface. Later we will probably have to deal with governments dislike of an app that can circumvent crime enforcement. Maybe for some window of time the system may have to go underground to prevent government involvement, but I hope to find a better solution using uncentralized cloud systems and Biometric authentication. The problem with biometric authentication can also be self incrimination of members by submitting this information. So the database must be encrypted and used in a manner that prevents it from ever being used against any members by law enforcement.

New feature ideas:
Geo fencing using https://github.com/mrmans0n/smart-location-lib with GeofenceModel mestalla = new GeofenceModel.Builder("id_mestalla"). This would allow auto disabling tracking within a set radius of one or more points, example your home so girls don't get tracked all the way to where they live or do a day job.

I had a lot of input feedback about changing the name of the app that I think is important and I will add the suggestions here.
digital wingman
HoPS or Ho positioning system
BGF or Bad Girl Finder
courtesan detective
Digital Pimp
puuber ( that is derived from the uber taxi service with pubic added)

• Planed usage of OpenBR http://openbiometrics.org open source facial recognition

• Create bookings requests for girls (setup appointments) with a small prepayment required.  for this you have to be on the girls oked list.  The girl also sets up the time and days she is working on the list.

• Girl auctions.  setup actions for a time and date

• Message girls to see if you might like each other or not

 With enuf funding, there is no end to services that we can provide to help circumvent governments involvement in the worlds oldest known occupation and to provide access to better safer services for johns and provide better money making opportunities and a safer environment for janes.

Sunday, July 26, 2015

Band linking web app proposal

 This is no longer a proposal but a fully functional realeased project.  For more up to date info on this project see: https://github.com/sacarlson/song-list-rank/wiki

This  now remains only as a historic document that shows the first planning stages of the project.

This is a proposal to create some  webapp software  to help bands organize what songs they want or can play together in real-time and later help find new local band members that play the same songs your band likes to plays.  As far a user is concerned it will just be a website on there browser.

This is an idea that came to me after dealing with my attempts to help organize a group of people in a new band to figure out what we wanted or could play together. We originally started by at least getting our group together on a group chat channel to discuss what we wanted to play and exchanged youtube links of songs that we liked so others in the band could listen and feedback weather they liked it or didn't or if they could play it or not. After a while we had lots of song links spread over days of chatting about some of them and forgetting others we had already discussed before. So what I first did was go back over what all we chatted before and collected all the youtube files and again pasted them on the time-line of chat that we were presently chatting about and said OK which of these do we now want. Some of the songs most of us didn't remember so we would have to start playing them again to even know what artist or song it was and we still didn't come to any conclusion of what we all wanted to play. So what I thought might make this work would be this:

I would create a website that each of the band members could add any number of songs to a list that everyone could see all the changes that everyone made in real time. This list would include:
band members name that suggested the song, the artist name, song name, youtube link.
Each line of songs would also have a vertical check mark box that each band member could check off or a symbol that would include , they like it, they don't like it, they can play it, they can't play it, and maybe a few more symbols. With this at a glance the whole group will see what they could play together or not or see if they had anything in common or not.

In later development in the software this data that is collected above in a mysql database could also be used if more than one band that was doing the same thing linked there data to all the local groups in the aria or world groups so that band members could find a better fit in anther group or band of people to play with in a local or world band if playing with something like Jamulus.

I tried to looking for something like this already on the Internet but failed to find it. Maybe I just didn't look long enuf. So before I continue I would like others to point me to something similar before I start this.

I already have the first test version of this website now running that doesn't have all the planed features yet but gives you an idea of what it will basicly look and feel like when it's done.  see: http://wesuk.ddns.net/

The first version doesn't even ask for a nick name.  anyone can add, delete or edit song link lines to or from it.  The ranking system is also now integrated into the system that auto sorts the list by the bands avg rank if you select the optional sort page http://wesuk.ddns.net/sort_list.php default view is sorted by when it was entered into the system. later we will add admin functions so not everyone can delete and edit things.  and later we will add the other planed features discussed here.  The above link can't handle much traffic so may not be up all the time.  I also continue development so might be bugs that show up.

I estimate the first fully functional very simple website app that I could create would only take me a few days but it won't be pretty. It will be bare bones with nothing fancy so it just works and is simple to use with virtually no security or membership features to start. It will be simple if anyone knows the name of the website of the app, they can simply add there nickname and be in the band much like simple IRC bridge websites work that would  look like this:

After you submit your nickname and band you will be sent to the song list page that looks  like this:

This is the first version of the  play list that you can click on youtube links to hear what they sound like and play the video.  Note the link at the very top left "add new song"  click that and you will get the screen bellow to add new songs to the list.

For a band member to add a song they would hit the "add new song" link and would see a simple form like this one:

  Note it's just 4 boxes with song name, artist, youtube link and  rank number 1 - 5.  when the info you want to share is filled in the member would hit the submit botton that would add a line to the song list.  Note you don't have to file all the boxes or any for that mater to submit a song.  You will then be redirected to the song list to view the new updated list.  Remember more than one person on the Internet can edit it the list at the same time so more things may apear with a refresh than you might expect.  Note the 4th rank box is no longer used so just leave it blank.  Use the group ranking links instead under your name on the list.

. In the future other programers will have to add the needed eye candy to make it look good with background images and things to make it popular in the modern worlds view and interface it to the likes of facebook and or G+ or some totally new social networking system.

Other Planed methods of group ranking
I have other plans other than simple average of rankings that we now use in posible future additions.  It might be something like this later: The total ranking number if none of the members ranks the song as 1 is the total average of all the members rankings for that song
if any member ranks a song with a 1 then the ranking will be the total average of all the members that have not ranked as 1 * (times)  each player that ranked 1 with be a multiple of the total band members reciprical or in this case 1/5 or 0.2 .  what I guess I should also add is if parts of the band have not yet ranked the song yet but not sure what to do in that case yet.

The ranking numbers can be thought of as this:
0. unranked default value (no effect on rank)
1. hate it or can't play it
2. can't play it but maybe can learn
3. want to learn to play it with this band
4. can play it
5. love it and can or have played it already in a band

We could make ranking range from 1 - 10 later if desired.

In the sample view above it's just a speadsheet but on a browser the youtube links would be clickable to be able to view the song for the other members of the band to check out before they rank it.

Future aditions
One thing I was thinking about was to a least add a play list export so it would play or export a list that would be downloaded or ported to some kind of player.  I know youtube supports play list so I will have to look into what format they support to allow importing or auto creating playlists in youtube.com

Tecnical plans
I presently plan to write this in php code that will run on an appache server with a standard LAMP install.  It will first reside as a test on one of my local websites that I keep on my local linux system.  It could also be written in ruby or python or many other such programing languages if we find a need.  I might add some ruby links to the php at times if needed as I'm better at ruby programing than php.  The database will be in mysql with supporting apps also linked into the package like phpmyadmin.  It could be designed to install as a deb package in ubuntu or debian dirivitive but also could be just a ziped package that is uploaded to an already running appache LAMP hosting system.   The software will be published on my sacarlon github account as open source as most all my projects are for others to use and improve upon.

Tuesday, April 21, 2015

P2P open source poker program proposal

Note: This is no longer a proposal, This project has already been released  as a fully functional system, details can be seen here: 

This article now only remains as a historic document of when it was just an idea.

I was thinking about setting up a P2P open source poker game for some time and had already done much research on it's possibilities.  My original plan was to use the already running open source pokerth game with some modifications that would allow a payment module to be plugged into it.  The original plan of the payment system was to use bitcoins built in multisign scripting to allow for a completely uncentralized escrow method of payment.  I had already done some programing in bitcoin and created a branch called multicoin that would enable testing using worthless crypto currency to start to just keep score and to test out if the idea would really work for real bitcoins first?   I later had other interests and dropped out of my software development of Multicoin.  I just recently went back to look again at what we now have in open source crypto finance and found something even better than bitcoin for poker p2p finance called Ripple.  Ripple doesn't fully replace Bitcoin but it actually can be used to transact and auto convert bitcoin if desired to any desired currency at even faster speeds of 5 seconds per transaction compared to bitcoin that would take up to 1 hour at times to do a transaction.  Ripple has everything we need to both play with real money in virtually any currency at the same time.  Ripple not only provides a way to transact  funds over a no name no address accounts much like bitcion with just a big number and secrete number, but also has the built in tools of multisign to allow again for the escrow to hold the pot of a game until the winners of the game are determined and can be paid out.  Ripple being uncentralized much like Bitcoin can't be taken down or controlled by governments to sease assets and there is no central point of all assets that can just run off with all the money.    It can also be setup to play in a virtual fake money to start that can be used just to keep score in the beginning and to test for problems so we can debug and fix them.  And to also allow those to continue to play and just keep track of there score by looking at there virtual Ripple coin accounts to see there status.   If that ends up working it would only require switching to the standard Ripple network to allow for real money games at cost per game money transactions of as little as 0.0001usd per game so we are taking about playing poker for 100 years for like $6 for a lifetime.  Ripple also allows for controlled credit limit loans so you could even have poker bankers involved in the games if desired in real or fake money.   Also since the cost of the transactions are so low you can also play in micro pots of like 1 cent or less even in real money.  So at these numbers people wouldn't need to have so much trust to get started in it.  Also inside of Ripple transactions there is memo data that can be added and used to add notes of what games the transaction was used for and who the players were that you won it from and what software was used in the game.   One other thing I think that will be needed is a method of tracking trust of players.   I'm sure there will be some cheaters or attempted cheaters, but at some point there will also be reputable people that many people will get to trust.  With the cryptographic signatures you will be sure you are playing with the same people you know each time.

There are still many unanswered questions as to how all this would have to be setup to make it almost impossible to cheat or at least just work.  

One feature I would like is that it would be cool if you could exit a game at any time and take what you already won or leave with what you have left.  At this point this would be hard for me to do but not impossible.

 At the beginning to make it simple all that join a poker game would be part of the multisign escrow.   Each player would put in some random decided pot amount that would buy you some random number of chips to start the game.  Each player would play until they have no chips left or have won the entire pot.  Any number of players could play from 2 – 10 people.   When the final two players finish the game the destination address for payment is set in the escrow by the winner and each of the players signs off that he was the winner so he gets the total funds transfered into his Ripple account.  In the event that something goes wrong in the game for any reason.  There can be a dispute of the group of players that would have to conclude with more than 50% that there was a problem with software or other.  In this case all the money goes back to each of the players less a small transaction fee if needed in the Ripple transaction.  Ripple also has time values that can be added into the escrow contract, so if no one signs the transaction over some period of time that would also be concluded as something went wrong and the money again returned to the original players.  The escrow time can also be set to allow some time for the players to ether agree or setup a dispute.  In most cases this would not be seen by the players.  It would all be handled invisibly and automatically in most cases by the pokerth payment system.  At some point we could also add a third party trusted entity to some games if desired that can mediate if needed in bigger money games.  In this case the third party would most likely want some money to act in such a capacity.

On the side of cheating. How can we be sure that some players don't use a modified version of the open source game to allow them to cheat by looking at cards or changing card values in play?  I'm hoping others can figure that one out as I'm not really sure.  I haven't looked at the pokerth code that closely yet.  I don't know anyone that presently cheats in pokerth but that maybe due to the fact that it's used to play with fake money not real.   So until we get the fake money in Ripple working with pokerth, we can figure this part of the security out later if we find we need it.   The cryptographic playing card section of p2p poker might be another project in itself for all I know.   I can only say that I've played Pokerth for many hours  with very few problems to date.  It seems very stable as is.

See the references below for more details on the proposed multisign features of Ripple:
https://www.stellar.org    we switched to stellar.org

and the pokerth site:

Present links to the now completed pokerth_accounting project:

Method to contact us to feedback your thoughts in real time chat:

Also note that some of these multisign and contract features of Ripple are said to be future features.  I'm looking to see if the code in any of the Github branches  already has some at least partly working version of  these features that we can start to test with.  I see them speaking about it months ago that sounds like they almost had something.  So we might just have to wait and see.
by Scott Carlson (c) Apr 21 2015

Update Jul 10, 2015
We now have a working prototype of our dream software that is now published on github: https://github.com/sacarlson/pokerth_accounting  also see the more up to date wiki for more details https://github.com/sacarlson/pokerth_accounting/wiki that also contain links to screen shots .  We have now tested the software with over 2300 transactions without any noticable problems.  Added voice status so you can play poker and know what the accounting is doing and what your recieveing.  We still need to integrate Stellars built in escrow system and the mental poker shuffle algorithum and then it will be complete.

Sunday, April 5, 2015

How to pigyback a wifi gateway on an already existing wifi infrastructure system

This is an experimental method to pigyback on the PBC buildings wifi ifrastructure, or most any buildings or shops infrastructure to allow distribution of another available Internet connection to the PBC buildings already available wifi distribution.  Rather than run another wifi system to distribute my network.  I just pigy back on the already installed systems.  This can allow the users a better, faster network service than is presently normally available on the buildings wifi network or at times allow them some service even when the normal wifi service is no longer functional at all.  It was much easier before, but now the system they have installed on this buildings wifi distrubution has added some kind of arp poisoning to there security system that made it a bit more difficult for me to figure out how to do it.  So I thought I would share it here so others didn't have to go through the trouble I did to have to figure it all out.  I have not as yet added any notes on how this can also be done on windows yet but I know it can be done.  I'm a linux guy so I"m slow on windows research.  These notes, scripts and screen shots are for using a tp-link or most any box running an openwrt firmware that acts as the added gateway on the wifi system.  The client_perm_arp.sh is an example of what needs to be run on a linux client to put it in static llc mode.  The settings will be lost when the laptop or tplink box is rebooted.  If you desire it to become permanent on reboot you will have to set that up yourself.  Also for easy setup I saved a backup of the openwrt config as backup-OpenWrt-2015-04-05.tar.gz  that can be installed from luci system restore on openwrt from your browser.  for more details see the link to the files in my google drive here: https://drive.google.com/folderview?id=0B4pSHwxHXW9Sd1NVWTVqa2pyazg&usp=sharing

Thursday, April 17, 2014

How to setup Jamulus with Anvil studio on windows 7

Jamulus is some cool software that enables you to jam in a band over the Internet in real time.  The free Jamulus software is available at http://llcon.sourceforge.net/   As I was hoping to get some of my local friends to try it with me I found it wasn't as easy for them to setup as it was for me on Linux.   I had it working fine in Linux mint 16 but I wanted my friends to have fun with me but they all use window systems.  I don't know much about windows since I haven't been using it since 2003 so I had a hell of a problem helping them setup things on windows.   After all the trouble of relearning windows just for this to work I thought it best I write about what I had to do to get this to work to make it easy for others.  First problem I had was that I didn't  find any documentation about anybody who had already done it when I did a google search.   So this is what I ended up learning.  First thing I did was install Jumulus on the windows 7 box and set it up to connect to my local jumulus server I had running on my local network on another system.  It all seemed to connect ok and I was also able to connect another system to the server from a 3rd computer that was running another client on a linux box and I was able to hear the sounds generated on the other linux client on this new windows 7 Jamulus client with no problems seen as long as Jamulus was the first to capture the sound card as audio output.  Now the next step was to see if I could also send sound from the windows 7 box to be heard on the other clients.  This is were I had the first big problem.  I couldn't find any method to pipe audio from any media player or any other sound generating application in windows that was already installed.  Windows media player would return a message when I ran it after jamulus was running , and that it couldn't play with no real reason I could understand in the error message it displayed.  if I shutdown the Jamulus client and restarted the media player it would play normaly.  So it seems the Jamulus would take away the only method of play back  from the media player or something like that if it captured the audio card first.  So with more research to find out how you rought audio in window 7 the only method I was able to find was to use jackd just as I do in linux.  I didn't even know there was a jackd that ran in windows until now.  I saw a good video of someone that used jackd and jamulus in a similar application here that was very helpful http://www.youtube.com/watch?v=h883l3PUJ50&list=UUmog53DvX6gikyDO_5jls3w.  So the next step was to download and install jackd for window and set that up.  The site I got jackd from is here:      http://jackaudio.org/download .  Make sure you select the correct version for your system as I made the error of downloading the 64/32bit windows version and installed it to find that it would not run on my 32 bit windows 7 computer.   I had to uninstall the 64bit version and download the correct windows xp.... 32bit version for my 32bit window 7 to work with it.  After I installed jackd I still needed an application that would use an ASIO driver.  oh so I also needed an ASIO driver as it seems this is also needed in this system I had didn't have one with the standard sound card install, so for this I need to install  asio4all software that is also free and got it at this location http://www.asio4all.com/ .   So now I was ready for some kind of music software that could drive asio for that I was able to find a free copy of Anvil Studio that can be downloaded from here: http://www.anvilstudio.com/.  After they were all installed I setup and configured each as needed as seen from the screen shots you will later see bellow.  And the short version of the above to install in a better order:

Quick Version
1. Install asio4all  found here:  http://www.asio4all.com/
2. Install Jamulus found here:  http://llcon.sourceforge.net/
3. Install jackd found here:  http://jackaudio.org/download
4. Install Anvil Studio found here:  http://www.anvilstudio.com/

Setup each application as seen bellow in screen shots:

This is the audio settings as seen from within Anvil studio to use the ASIO driver and the Jackrouter
This is the modified link target in jackd port short cut, note I had to add -d "ASIO-ASIO4ALL v2" -r 48000.   This sets the sample rate to 48000 needed in Jaumulus and sets the jackd to use the ASIO4ALL driver software

This is the configuration page as seen from Jamulus when using jackd in windows 7

I note I have a problem each time I playback from anvil I have to reset the conections to Jamulus from Anvil.  I hope we can find a better way that this won't happen in the future.