View by:

Linux RC Rovers, PHP Compiled and Napera

Wednesday, February 25th, 2009 – running time 43:38
Darren's got a soldering iron and knows how to use it. In this episode we kick off the HakHouse Rover project and web enable an inexpensive RC Tank using a Phidget USB Interface Kit. Then Jody Franklin joins us to talk about compiling PHP and using Netsh to renumber IP addresses in Windows. And Matt has a follow up to your questions about Napera. Plus our weekly trivia, LAN Party and a ton of fun.

HakHouse Rover - Web Enabling a RC Tank

There comes a time in every geeks life when building a web enabled, crowd sourced, remote controlled vehicle is an imperative. For us that time is now.

The HakHouse rover project kicks off this week with the basics of controlling our inexpensive RC Tank. The toy itself was a mere $15 locally and this is important because cheap RC toys usually have cheap controls. Namely micro switches to control forwards, backwards, left and right. In this segment we break open the controller and solder leads to the board that correspond to movement.

Next we connect the leads with a Phidget Interface Kit. This little board talks to our PC via USB and has programming APIs for C/C++, Python and Java.

With a little hacked together C code in Linux weíre able to control the vehicle. If youíre a C coder weíd greatly appreciate your input on the code. Itís not very pretty at the moment.

Next we toss in a little PHP on Apache and control it from the web. I had originally slapped together a simple page with a form directed at php_self with an if isset and a case switch that initiated exec but itís already been replaced by jzmanís sweet ajaxy code.

This projected is intended to be open source so Iíve got all the code, hardware and other details on our wiki. If youíd like to build one yourself or contribute ideas, code or otherwise itís appreciated.

In the next installment of the HakHouse Rover project weíll be installing a wireless web camera and laser turret to annoy our cat Kerby.

--Darren Kitchen

IP Renumbering w/PHP And A Compiler

In episode 424 a viewer question led to Darren and Matt discussing renumbering a whole subnet of Windows machines using the netsh command in a script, but how would you specify an IP for each machine with only one script? PHP to the rescue, because it's not just for web pages anymore.

Since most Windows workstations don't have PHP installed a compiler will let you prepare your code to run on systems that don't have PHP installed.

First we have Roadsend PHP, which is available for Linux, FreeBSD, Mac OS X and Microsoft Windows. It's released under GNU GPL, and it's runtime libraries are GNU LGPL so compiled programs may be used for both open source and commercial projects.

Roadsend PHP is not just to package up your PHP into nice friendly bundles, it comes with Roadsend Studio, a full development environment (IDE) with support for the Glade interface builder (*nix/Win32), to give your PHP a GUI front end.

It supports PHP 4 and 5, and so far all the code I've compiled with it runs just as it would if launched from the command line using the php command. The only drawback to it is the compile process seems to take a while even on relatively small projects, and the file sizes are a little large (simple scripts weighing in at over 3MB); but if you want to stay in one environment from start to finish Roadsend will do the job.

Second is the Bambalam PHP EXE Compiler/Embedder, which as the name implies is for Windows only. Like Roadsend PHP, Bambalam PHP is free to use as it's released under the PHP license, generates code that will run without a full PHP install, and with the use of the WindBinder library can produce programs with GUI front ends. That is about where the similarities end.

Bambalam is small, consisting of a hand full of files, and is only for the actual building of the executable code. Bring your own editor, debugger, GUI builder, and project manager. That's not what Bambalam is for. What it is for, though, is producing small, fast programs out of any PHP that will run under PHP 4.4.4. The same +3MB code that Roadsend produced came in at just over 1MB with Bambalam, and under 700KB with compression turned on.

The problem my code solves is how to write one script to renumber a whole group of machines without having to issue a different version of the script to each machine. As this is more of a proof of concept we will assume that only the last octet of the IP address will be changing.

The command is issued with the following options:

[DNS] [WINS]
The new IP is given as the first three octets in xxx.xxx.xxx format, subnet and gateway will be a full four octets a peice. IP, DNS, and WINS can each be assigned as DHCP (using DHCP for IP preclueds the need for subnet and gateway). DNS and WINS can also be assigned as NONE so long as IP is not DHCP. Furthermore specifying WINS requires that some value be given for DNS.

If a new first three octets are given without specifying DNS or WINS and those values were already staticly assigned then the new first three octets will be used for those values as well. Also if IP is currently assigned via DHCP that can't not be changed at this time.

Full source and future updates are available at http://www.elder-n00b.org/2009/02/ip-renumbering-wphp-and-compilers.html

Thanks to those who've contributed to the success of Hak5. Your donations are greatly appreciated!

Highlights
Hak5 ( 0:27, 17:29, 17:45, 18:12, 27:38, 31:09, 36:37, 36:44, 0:27, 17:29, 17:45, 18:12, 27:38, 31:09, 36:37, 36:44 ) USB interface ( 6:08, 6:31, 6:08, 6:31 ) Chesapeake Virginia ( 2:31, 18:52, 2:31, 18:52 ) PHP code ( 17:01, 41:09, 17:01, 41:09 ) Hak5 ( 0:27, 17:29, 17:45, 18:12, 27:38, 31:09, 36:37, 36:44, 0:27, 17:29, 17:45, 18:12, 27:38, 31:09, 36:37, 36:44 ) USB interface ( 6:08, 6:31, 6:08, 6:31 ) Chesapeake Virginia ( 2:31, 18:52, 2:31, 18:52 ) PHP code ( 17:01, 41:09, 17:01, 41:09 )

Automatically Generated Transcript(may not be 100% accurate) ( more )

" War."

" Coming up on the show filming a web enabled remote control tape. Darren kicks that I put part -- house rover project and -- back what the second part of an apparently good data. And can HP code be compiled study frankly comes by with a -- IP would happen ex -- all of that and it's. Freezing theaters unless episode of Hak5. This episode a -- five is brought to you by GoDaddy Netflix square space and viewers like you. Hello and welcome to this episode -- pack five this is it weekly does technolust my name is not --"

" I less -- loop like every episode is changing wouldn't have caller before this novels it's not today's should daisies shenanigans."

" It sounds like an -- Blake."

" I know that's not -- I do not."

" Well it sort of write code that Clinton's. Yeah it's like it's like a global warmup snobs. Excellent show -- guys as always on excited about season five lots of new prospects like I'm. Karen part ways and -- And the whole. I'm gonna start building stuff. -- for its hardly busy and the end seasons though. We kind of -- a bunch of stuff off season fine including thing that. Need to get really really I think I'm ready you have got enough I always senate think it is yeah I'd yeah. It's an okay about over there repair it won't over the speakers and yes I'm so excited to be perfect yeah. Hardy. But before that I am going to -- kicking off the first or are packed house rover this is something that is web enabled is. Based on RC tank and with cameras are idea eventually all fun stuff when I'm oh. -- So so let's -- a while also we have just a Franklin coming down from Chesapeake Virginia. About PHP and it turns out you can compile it and -- kind of -- do you basically keep remembering which talked about power. -- animation. And we're like a brief moment at the end and I."

" Issues I just realized why it's not working out of the poker hyper somehow seeing it do that for you think I've got its what is wrong my. --"

" It's a marble. It's from dependence on careful cost of the and that's gotta be like one dangers drinks."

" It's awesome it's a much fun whenever you're sitting in a mall and you put it on the grading you just -- they and it's use anyway. Yeah."

" let's start it I."

" You guys I have with your little we are talking apparently right now now now now. No apparent. I was really shocked at the amount of response. War comparison. Last week -- and he's been software of course. The negatives I got an email from Todd Hooper the SEO and founder of -- Some clarifications and exactly what the product is something that's -- really look you. No actually -- its entire office -- actually. -- blown away about it but via over wow so really don't through a couple things and clear up some. You know. Things that work really counts but you glide."

" You get some cool box -- nightly blues anyway because. Politics and yet Canadian version of the public -- filled out I want assurances after all that. Add that it is. -- you have all collapsed it that at any systems have negotiated that has dealt with held up on the level that you RI have will know that. That was I'm run about -- sleek cool well let's concerns that we can get you to you know these ads yes it's so you guys have if you were over action. And over it."

" And -- a laptop a soldering iron and RC car and it take over here."

" The book are you doing and you know last sure when he and hot when he things."

" We don't know he didn't get her last season and you have to get her in this -- I'm not going to. Laugh. If I keep --"

" We are building a rover that you can drive around your house and will eventually have all -- of these features like -- hands."

" And RFID readers like a wireless webcam on it -- okay."

" So the idea is that. He may have seen things out there -- all sorts of other things on and -- expenses. And otherwise -- there there the idea why this on this is basically doctors. Brown played with them there's some good stuff got -- So I went with of the line these kids. And basically. Just going to keep. You look like fifteen dollars -- Keep. Keep controller that -- on switches. -- Okay I'm going to take -- USB interface. And it and -- he -- commuter wired and altogether. And basically went. What's so it. Is this nifty little web that's very today on. It's not -- she. It the people that got four awesome. Real days. And USB interface you can find them to just come. Here and it got there is different it's available this is the report one model. Italy has war. Output but you can also get ones with. Sixteen. Yeah. And then usually use analogue in all sorts of stuff. This. Will -- in the gratefully we had some other features on it but. But the main idea here is. Sixty bucks I will really from. It's. And then what really are basically the answer and it's it's just. Oh yeah and that's exactly how it works so it which access the demo here another vehicle it's. This was. Commerce. And I when I took the -- apart -- Syria or at this 18."

" Actually goes on to make this happen. When you. The joystick is nominally it's like when you hit the joystick all it does. Is circuits and you can actually see. Now. We're moving -- so that's nifty have gone ahead and put some. Some. Jumpers on -- the can -- when I think these jones'. Case than -- yes me so I'm working. And it's great to have gotten dumped and I can just go ahead wired arrangement -- but that's really not gonna look pretty on the and I'm not saying that that this looks pretty trusting him. But eventually wants in the -- and that the project box Sony to slaughter this all together. Here's thing I don't want to slaughter on two. These points and on to that board you know right onto this little contact area what I want to do. Is find the areas in here that he's actually the traces. Yes we have a multimedia -- continuity when we touch those."

" It will be so that means if we take I'll take one here and put on the green. On that -- there and if you what we're trying to do here is find where this face up going to you okay so. Good news lately I see miles on and let. And you know there'd. And white one. Here it."

" Alice had great so we have a point that it that it ends up. You know terminating at some times on niceties and it's not. But what we want to do -- that point to go ahead and slaughter -- okay all right you know you can slaughter here what that you."

" I'll take a wired here that it's gotten simpler that is in my -- and and I'm really good -- that. --"

" Normally head that there's a little bit to make it easier. And the answer. More intense. Area as it hop so we use will win this thing on -- makes it'll be easier and I've gone ahead and on the same thing with. -- different times yes. With eight different points on here I like 71 of disparate kind of weird way that -- would there. A the other thing that have done is -- replace the 27 megahertz crappy antenna that came with it with. -- to pick along there and put a little antennas that are ripped off of routers and it putting what nine media and on this and that's me for. When he said -- it's not two point four gigahertz but. We need all the range we can either work maybe ham operator will email -- lots of technical details about why am absolutely wrong but he. So this works so this guy works and so we -- to -- these votes yes so this is now the green wire so it. For instance he -- this one to this one. Now. All what a awesome awesome that it requires you Aaron let's get this guy Adam way. So it is time to go ahead and accept -- look at the -- and what actually makes this work yes on the assembly of this guy is is not that exciting but it will the average happy -- pictures on Flickr and and well one. And we can see people along whom if you view and planning this particular model otherwise like it said one -- slaughter them but on the board. And now. She can."

" Ruling may see code. I'm excited -- excited."

" Put her other hand -- The cool thing about digits is that they have eight PIs and example code. Board. Four -- interface -- as well that in the mortgages and it's consistently temperature sensors and serve those motors all sorts of cool stuff that you're interested. Is starting electronics like I obviously -- right now. -- But they do provide lots -- documentation an example -- so I'm using C in but expert here -- Java and python but looks. You look at some of the actually out. This is an example file. That basically just nationalize the devices like the simple little example you write this note. There's all did with anyone in here modified the place where. Where this is like they're starter Kotelly that you and your projects or anyone else who got it -- the -- slides. And all I'm really doing and is making use of this function here seat the interface case that output state. That tells our. Are are really what you. I've got the wired into the normally. Normal open position on all my wires here which means that -- switches. If they are -- paktia at -- open. Internet connection it's not doing yes and that's what we when we say and that the prisoners that we pass. The argument we -- to this function -- FK interface can. 12. And three with a different realize once and either easier or one. So says. Once exactly that. So this particular file tells. He fidget to make a a right turn it acts of spins right so what we want to do is run that again once we zero everything out. Until zero and three to go closed and no because that label here zero tells the -- track to go forward. And three tells the right track to go backward. And since it's -- and yet sensitive tanks. Left. -- it says that isn't. And that that's nice thing about in the tank rather than like you know more -- can do to get more I was up these. Now once that. What's important to do that I need it -- and just wait a minute while those connections are closed before we -- them again. So normally. NCA -- sleep but that's only for seconds. So in this particular instance when you sleep I've said it for 500 milliseconds means nano seconds. So what is that 500000. And a second. And then we just put everything we reset everything again. I've gone ahead and take in this example code and you're gonna like you can -- taking this example file and created. Twelve different copies. When of them tells to go forward per second per second for three seconds. And for backwards and cane or turn left turn right for 200 milliseconds you -- second in 12 -- I probably need help and see. But but not that we can do that I'll see you in in the command line back in just you know pop over to here and he just okay and it that's should back. Low. I gotta drive around right or can. SpinRite that's. That -- Analysts a rite spin and it's been a spin -- like some other like harder it's. How do that on him left. And you autograph. And non X thank you. So technical and the -- we really when he used on the web. Oh god of course it would either action and yet when did your segment look at it in an Apache and inoculate grabbed a cell phone and useful from there. So cliche of the web interface and I will have the code for this up on the web but basically. He's here I have missed you guys have got these different bonds and all of all they simply do is. It's a performance. That as well -- that PHP page it checks and there's that there's that case very. Something else which is which -- says. If its this of the diseases and then -- to exact -- system. That little program an agency or modified. Togethers return. Well already the idea project is -- to show you as we progress through this and build this -- for you guys to play with -- packed house com. All of the additional features that when we get the webcam and and some pots with that we get the -- be all that stuff. Own security guys who here is the first step it's started already. Whatever you you stream -- man. Went ahead hazy mist is synergies even connect. Sent us this updated. It's much prettier -- can manipulate. -- these people under. Sort. Well it -- I'm actually it works by Ajax so anyway it's much freer. I don't have all the control of parts and everything up on the website in the Wiki so we can collaborate and and make this even better. And I look forward to all of your suggestions as to what kind of crazy stuff we put in addition to cameras and lasers and our own users -- God's country Spencer -- I won't really. Well a little later we're going to be talking to -- Franklin about the compiling PHP code. I know. Yeah how I have been hampered everything looks like -- mean what can I -- he's gonna -- dangerous. But first let's check -- with that he was going on in the Lan party."

" Our guys you've only got three days left for the zombie invasion that's right left for dead and zombie -- source. We're going to be playing games February 28 at 3 PM that's when the left for dead campaigns ourselves. Go ahead head on over to Hak5 -- where space dot com want to sign up for the left for dead games that we've got going on. And there you can also sign up for attorney's. Hand. You know check out past games we played recommend your own games that you would like us to play on the Lan. And Hak5 land that's where space dot com. With square space you can create amazingly beautiful and complex web sites. Just like you were using frontpage and you remember that that's good stuff. But creating forms in square space is a whole lot easier than Dreamweaver frontpage or even know. Simply drag and drop -- values and look at that your all good to go. So head on over to square space dot com -- code Hak5 for 10% off the life of your contract. Now coming up a little later in the show me and take a look at and a -- and -- you. -- answers your questions and stuff like that right now going to go ahead and bring -- Franklin and to talk about how easy it is to re number -- crap what carriers and the agency is inexcusable. Really know how that works but. He does so is gonna come over here and we're -- Angela."

" I guess -- frankly is joining us from Chesapeake Virginia which is about what we're on its way about. A 45 minutes away he comes over every Friday and has great -- wings with us that need to be three's. And -- you're here because you obviously watched the show. And unfortunately. You happen to watch the episode where there and I. Started you know contemplating how difficult it would be too. -- number. Multiple computers on you know. -- You got to do -- code which I'm surprised your still months. And have taken that and taught yourself PHP."

" Yet it's actually the the raw what was the first experience with the PHP and actually the first -- written anything more than two lines long about seniors. I -- are right. Well you've got maybe in in terms you know motivation to learn a language. So what are we going to be playing with today. Well with two different things one the code itself. Power handling -- running multiple computers using anything -- code. And to looking at two different. Tyler's sort of to build this into something they can be distributed computers that don't -- install. Useless that the computer can run it. Right exactly as it was the first we're gonna take a look at. The first one is the pretty one. -- Called. Roads and it comes with its on ninety accountability thing in the program do debugging. Who run the code real time give you break points right. Has a nice little editor and it. You can give all the different files if you want to put everything in its own PHP script and compile them later while. It produces large -- date and gave it three times lots of tiny things. But it's pretty. And -- you can do everything it easy -- open it up typing code compiles -- getting it wrong you're done and and story. It is us big editor little windows. If you know PHP and I'm like I didn't started and just do your thing. When you're done. Go to your project and -- build wait for it to finish. And when it's done you in the XE it. You do have the option. Inventing an icon files so that you can actually have something click on -- the you can have a smiley face or whatever right to recognize your you know. -- And that is really about it it. There's nothing to know you click on and I items and they do what they say they do the the other one which I hope I'm saying it is called -- AME AL AM. -- is just the command line. Application that does these things -- it guidelines compiled its it. -- to run time interpreter package it together it even does a compress the XE so it makes it painting -- as opposed to aren't making it ain't so what -- size difference well. Wrote send you can about. The will be script I had command three with academics -- him with no compression options came out and about one point three. With the compression came out about it's okay. And the compressed version doesn't seem running slower than you can prosper once the application launches. At fusion -- is is to say it's."

" These are now what is the actual code remain. Using to re number of these different computers because I -- and an infrastructure. Now. 1500 computers and you need to go through react he. That's a little bit of pain in the ass to get the bodies to actually go through and manually do it so you've created. With your limited knowledge of PHP and only to -- you know code as a reference point. A PHP script that we can run -- anything to do this -- so let's -- go to."

" Well the code itself centers around using the assistant men do run command line argument and uses that this page another thing that I don't know anything about to start. I run Mac previous. The states is just and noble letters to. And after looking at all information on tech it is still illegible letters to and its and its command. The short version of what this does is it uses that it needs to pull occurred information -- the machines using using the ACP and so -- right. War if not. What is IP. -- have -- what is -- enemies and wins -- that address. You give -- a right now -- me up tents -- required. Later I plan on making its give 12 or three. -- now it's on class but right now you have to give it three you have to give us that that I don't assume anything. And which is always good and you have to give the game. You can give it. DNS wins or not it will do its best to work out what should be done with those if you don't you can specified by IP address. Let's say you already have everything that would with that these people -- let your -- and -- are static. You have the option use the command to set them too easy. It will take the Cardenas and wins and grabbed the last I ought to -- just like it has IP address. And paste in what you gave it. To build a -- right. So now how long -- actually taking from start to finish to get it working. Version of this right Nazis. I watched that the on Thursday after -- before. What about 10 -- capitalist Inman but do soda bottle and started learning PHP at twelve. And by 5:6 in the morning I had version one. So it would change at. About news for now. Five's it and I was so. It was analyst. I don't know what it can't be perfectly honest is well I mean approach approach dare I issue there."

" Mad props I think it's so where can we find are you going to be releasing the code or what are you going to be doing here."

" Originally I was gonna -- hello the next version but -- versions posing some problems. And how to handle some things and that would put this out now is technically versions you when you went for a it's gonna go to zero point one but I like Alex aerosols that with you know. My main. Recently started theory currently on populated. Tech blog elder news dot org -- the yard dash N double zero B down or awesome. As world the hopefully some more detail on exactly how works and plus one -- an expert and you're always welcome -- always open to you know people's tastes. Keep in mind like I said until this started. I didn't know PHP. And there's and buying code experience is basic. See Coble RPG and clipper. So. Keep that in mind you look at it ignore how it works -- if you want something -- can see something I can do better faster. Cheaper. Please let me so it's elder -- dot elderly dash those elder dash new Democrat. Dot org that's zeros not a nation are. Coming up I'm going to be taking a look at part two are apparently still beta software. And right now -- is going to let us know. What trivia is for this week."

" It's eight. These big big -- bad."

" Okay you get picture -- nobody got it right so we're gonna do it again this week. You can answer in the first 24 hours from when this episode releases going to Hak5 dot org slash trivia and get your chance to win -- giveaway actually Schwartz tells. Documentary -- hackers are people TU and of course this trip yet is sponsored by. That can if you want to make an impact online editing dot com has what you need dot com names as low as a dollar 99 plus world class hosting -- music website for others and much more. Get reliable secure web hosting without a long term contract. Good that he's hosting plans are bigger and better than ever before with 99% on time 247 support in -- annual commitment. Plus if you use and -- one that's HEK one you can get 10% off. Your -- some restrictions apply see the website for details and -- pieces CNN that. Tiny dot com Matt I'm gonna throw back to you and I. -- Sarah felony."

" Or current. -- Cake."

" Our guests on him back here to talk about staged to. And a pair opt in to -- beta now when I first went and talked about it last week. -- might have gotten some things wrong. And probably after -- episode was released on an email from the CEO and founder and a pair up on Hooper. Really great got a talked about it. Now. A -- there's two different parts and there there are and there are. Network devices and an apparent -- beta software which is actually what we're testing. Now the software. The Perry indigo is meant to go on to. You know third party manufacturers switches and devices and things of that nature there and making it so that it can be installed pretty much anything that a company. You know who wants to license the software do you know I should just -- and a higher level overview of some health monitoring. And when I was. Sleep deprived last night repairing a VMware -- SCSI stand. And it occurred to me that there's another really powerful mechanism inside Perry indigo software that allows you guys to lock down your enterprise. I'm not only you know using help monitoring but authentication. A bowl add the you know wired level as well as wireless want to do is I'm just gonna. And briefly cover those because the the feature -- on isn't. So we're gonna do. It's gonna take a look at the interface. Might remember from last week. Then a pair interface is very streamlined and it's beautiful it's pretty it's web 2.0 all bad chest. We're gonna do -- were actually make sure that port eight is as the authentication module enabled. So here we could see that authentication is checked. And it's good sign I got home today at when I hadn't set up eight windows 2008 enterprise active directory server. Amazing job at Microsoft did I'm not a Microsoft fan boy even though you may think I am but it's incredibly easy to set -- and -- it. So when I went ahead and did is come over here to configuration and we're gonna go and click on the off. Now what we can actually do is active directory. So there aren't Paris which is now -- to our Hak5 dot org domain name which is sitting inside of the -- running on my desktop machine upstairs -- level of this beautiful -- house. Still with. Username. Now I've actually tested it in -- she heard that it worked which is always a good thing and we try to do that here. So what I'm gonna do his political marketed devices I'm going to delete the record. That is capturing my information. And -- to come up and go to. A new address. A -- so now in the captive portal is back but it looks a little different instead of health monitoring. We now have authentication. Request so on and enter my username. Widget man -- is. A lot of people. And I think that's my -- Sign and failed but we -- that would've thought. I've -- now. So on signed an asthmatic and is you know going through active directory authenticated by credentials. -- you'd see I'm on a Macintosh. And it's asking me to you know report my computer's how well how do we do that well turns out the parent actually wrote. A now compatible application for Mac. -- and what can do is download that open that would dismount. That's what you do. Verifies that let's finish and -- The pair agent is going to be installed and after we install this. On Macs because Macs are really becoming more prevalent in the enterprise. If you don't believe me just -- take a look at all the white -- on line recently. So once this this is this is installed is similar to the enabler on windows. We come back over here and we refresh and now I have full network access and now we have two factors that we can protect against we can protect against malware. And we can protect against on authorized people outside of our domain for accessing social network resources. All these different options can be set up beaver castor and -- printers blah blah blah. All inside a -- but there's one other thing that I wanted to talk to -- about and that's Wi-Fi security. Now the repair software. Supports up to 200 different devices. On that can be tagged along out onto the switch. One of those devices being. Why -- actually throw your access point out there that has. Authentication. For WPA enterprise now. Before when you would go to set up you know enterprise security and things of that nature. It's a pain in the ass on the radius and it was certificate to you know to. Not one acts and so on and so forth but. With an apparent it's exceedingly easy to go ahead and set up WPA enterprise to authenticate back to your active directory that you've already set up. Or do is come back in here to the alt tab where a select enable authentic vacation with radius now. Radius is built in to compare our ballot certificates inside an apparent. Software. So all you have to do you. Is enable it here -- shared secret overture Linksys route are able radius pointed to the static IP address of the -- this year secret and bull you now have a WPA enterprise that is authentic -- Looking for credentials insider active directory so. After talking with Todd and you know gone over all of the things that -- looking to do that that's really. Really great new features and I'm excited to tell you about. -- So what we'll do is after idea either updated software here war -- permission from on. Google had let you no about all the great -- goodness that -- actually cooking and brewing. On at a later show but. Check it out apparent dot com and I think they might still have a couple beta test slots open. Four beta testing this which I gotta say it's a completely different way to look at. The and -- security at the switch level so I highly suggest anybody with you know. And -- for socially discotheque parent not so right now I'm going to go ahead and wrap this sleazy ass at up. And -- and Chan and or priority over their reading and that."

" We have. We -- questions viewers show and -- coming up. Before then let's cut and was beautiful people that -- today."

" Click think he's so much for sponsoring this episode of pat buzz button at -- he went over. -- Netflix you can rent over 90000 titles online including possible titles with free shipping both ways to your house. They now have over forty should be -- summons up deliveries happen in just one business day. Netflix plans start at 99 and as of you -- at Hak5 you can get noticed two week free trial membership. Eight years at www. Netflix.com slash Hak5 and please forget the WWW."

" I am I boxes a picture -- Yeah that the but. -- accurate. But that's that's. Yet. Haven't done recently -- never done. Writing. Because we hue and patterns. But there's actually late this crazy. Setup or where you can not only watch the participate in the chat room and even squirrels -- well. This is a bad. It'll add up there one -- Matt dean."

" That's okay last week for me baby yet."

" But as one statement last week in eight and today as -- all the beans. I did but I have a feeling they're gonna come out again. On the juggernaut doesn't moments -- I think I can make it."

" And yours. So what's especially if they that you got the special. The package that I want here's."

" Way indicate that and put it up and then -- know. All shipped. Unlike the taxi and get over act but stickers which contain all the -- actually -- with -- and often and art and from all of that. You will get off stickers like pineapple authors -- technolust -- Yet. One. Technolust up your your you could ever ends. The next. 500 orders I think it is. An last week. I've temporary that views that Google was and I was wearing when the other days that -- These all right now. Actually feel differently and we you really -- it. Anyway. If you put the show by getting it backpack all of them come with some -- And however you beat it against actions. On you're with the board will be -- show. --"

" I'll want to let you guys know about -- school Brian Brushwood does a great show about getting free drinks -- bar. Come on his -- hearing -- bond market you can learn some -- you can learn some magic for your friends or yourself a free drink the same time by watching -- will. Brian has a ton of easy magic tricks funny games -- in minutes this week you'll learn the spelling B. Magically predict your friends selected are by using spelling in a little bit of algebra initiative sort of skip school every Thursday at noon eastern. Version."

" Net Bryant. Are actually. It's easy and one you know. What -- And just a bit cynical can magically everything you've written here aside from you know this use. Curling and as long as it was. That was their -- and --"

" I had lot highlights that school who that. When my hair was likes. Here we you know who I see in the pictures yeah spike yeah and you know. And yeah. Call those -- him."

" Where. Did that what is story when place Friday night at Newport News, Virginia -- Arms. So -- house almost and oh so not your question but of course you can send us feedback or or."

" Question that or. We're evil server -- other he's actually hybrid eating now I think he's in the systems wonders. -- is. Whether yeah. But he'll attack you -- him for. But I wanted to show off this awesome little. Inspired by five Twitter -- got key PHP. Code extravaganzas that has now inspired both to people let -- know how -- know I'll come out of the woodwork you play. -- dad who inspired people but done. But Daniel here in the Antarctic not even going to attempt to last name. Has -- blog here where he outlined how he used the Twitter on the got you PHP -- to kind of put together it's weird. -- it basically. Uses Apple script and canceled. The people that act Twitter him and then. -- Late suggest a song and then -- first result at all so I was thinking do we should running here to people act -- our come in -- control stereo. Crowd source like it was a -- yeah -- know it's never -- Yeah I use it works."

" It. Might fall burn out in like it yeah. I didn't look. -- I think that right. Not just -- that -- Apple's -- and and it was coming and this --"

" I would. Coming. --"

" Did in this all that his -- bids did."

" Yeah."

" We'll call this is the dysfunctional one that. Hi. There were -- Andy there."

" left the Arctic. It doesn't think."

" War."

" Coming up on the show filming a web enabled remote control tape. Darren kicks that I put part -- house rover project and -- back what the second part of an apparently good data. And can HP code be compiled study frankly comes by with a -- IP would happen ex -- all of that and it's. Freezing theaters unless episode of Hak5. This episode a -- five is brought to you by GoDaddy Netflix square space and viewers like you. Hello and welcome to this episode -- pack five this is it weekly does technolust my name is not --"

" I less -- loop like every episode is changing wouldn't have caller before this novels it's not today's should daisies shenanigans."

" It sounds like an -- Blake."

" I know that's not -- I do not."

" Well it sort of write code that Clinton's. Yeah it's like it's like a global warmup snobs. Excellent show -- guys as always on excited about season five lots of new prospects like I'm. Karen part ways and -- And the whole. I'm gonna start building stuff. -- for its hardly busy and the end seasons though. We kind of -- a bunch of stuff off season fine including thing that. Need to get really really I think I'm ready you have got enough I always senate think it is yeah I'd yeah. It's an okay about over there repair it won't over the speakers and yes I'm so excited to be perfect yeah. Hardy. But before that I am going to -- kicking off the first or are packed house rover this is something that is web enabled is. Based on RC tank and with cameras are idea eventually all fun stuff when I'm oh. -- So so let's -- a while also we have just a Franklin coming down from Chesapeake Virginia. About PHP and it turns out you can compile it and -- kind of -- do you basically keep remembering which talked about power. -- animation. And we're like a brief moment at the end and I."

" Issues I just realized why it's not working out of the poker hyper somehow seeing it do that for you think I've got its what is wrong my. --"

" It's a marble. It's from dependence on careful cost of the and that's gotta be like one dangers drinks."

" It's awesome it's a much fun whenever you're sitting in a mall and you put it on the grading you just -- they and it's use anyway. Yeah."

" let's start it I."

" You guys I have with your little we are talking apparently right now now now now. No apparent. I was really shocked at the amount of response. War comparison. Last week -- and he's been software of course. The negatives I got an email from Todd Hooper the SEO and founder of -- Some clarifications and exactly what the product is something that's -- really look you. No actually -- its entire office -- actually. -- blown away about it but via over wow so really don't through a couple things and clear up some. You know. Things that work really counts but you glide."

" You get some cool box -- nightly blues anyway because. Politics and yet Canadian version of the public -- filled out I want assurances after all that. Add that it is. -- you have all collapsed it that at any systems have negotiated that has dealt with held up on the level that you RI have will know that. That was I'm run about -- sleek cool well let's concerns that we can get you to you know these ads yes it's so you guys have if you were over action. And over it."

" And -- a laptop a soldering iron and RC car and it take over here."

" The book are you doing and you know last sure when he and hot when he things."

" We don't know he didn't get her last season and you have to get her in this -- I'm not going to. Laugh. If I keep --"

" We are building a rover that you can drive around your house and will eventually have all -- of these features like -- hands."

" And RFID readers like a wireless webcam on it -- okay."

" So the idea is that. He may have seen things out there -- all sorts of other things on and -- expenses. And otherwise -- there there the idea why this on this is basically doctors. Brown played with them there's some good stuff got -- So I went with of the line these kids. And basically. Just going to keep. You look like fifteen dollars -- Keep. Keep controller that -- on switches. -- Okay I'm going to take -- USB interface. And it and -- he -- commuter wired and altogether. And basically went. What's so it. Is this nifty little web that's very today on. It's not -- she. It the people that got four awesome. Real days. And USB interface you can find them to just come. Here and it got there is different it's available this is the report one model. Italy has war. Output but you can also get ones with. Sixteen. Yeah. And then usually use analogue in all sorts of stuff. This. Will -- in the gratefully we had some other features on it but. But the main idea here is. Sixty bucks I will really from. It's. And then what really are basically the answer and it's it's just. Oh yeah and that's exactly how it works so it which access the demo here another vehicle it's. This was. Commerce. And I when I took the -- apart -- Syria or at this 18."

" Actually goes on to make this happen. When you. The joystick is nominally it's like when you hit the joystick all it does. Is circuits and you can actually see. Now. We're moving -- so that's nifty have gone ahead and put some. Some. Jumpers on -- the can -- when I think these jones'. Case than -- yes me so I'm working. And it's great to have gotten dumped and I can just go ahead wired arrangement -- but that's really not gonna look pretty on the and I'm not saying that that this looks pretty trusting him. But eventually wants in the -- and that the project box Sony to slaughter this all together. Here's thing I don't want to slaughter on two. These points and on to that board you know right onto this little contact area what I want to do. Is find the areas in here that he's actually the traces. Yes we have a multimedia -- continuity when we touch those."

" It will be so that means if we take I'll take one here and put on the green. On that -- there and if you what we're trying to do here is find where this face up going to you okay so. Good news lately I see miles on and let. And you know there'd. And white one. Here it."

" Alice had great so we have a point that it that it ends up. You know terminating at some times on niceties and it's not. But what we want to do -- that point to go ahead and slaughter -- okay all right you know you can slaughter here what that you."

" I'll take a wired here that it's gotten simpler that is in my -- and and I'm really good -- that. --"

" Normally head that there's a little bit to make it easier. And the answer. More intense. Area as it hop so we use will win this thing on -- makes it'll be easier and I've gone ahead and on the same thing with. -- different times yes. With eight different points on here I like 71 of disparate kind of weird way that -- would there. A the other thing that have done is -- replace the 27 megahertz crappy antenna that came with it with. -- to pick along there and put a little antennas that are ripped off of routers and it putting what nine media and on this and that's me for. When he said -- it's not two point four gigahertz but. We need all the range we can either work maybe ham operator will email -- lots of technical details about why am absolutely wrong but he. So this works so this guy works and so we -- to -- these votes yes so this is now the green wire so it. For instance he -- this one to this one. Now. All what a awesome awesome that it requires you Aaron let's get this guy Adam way. So it is time to go ahead and accept -- look at the -- and what actually makes this work yes on the assembly of this guy is is not that exciting but it will the average happy -- pictures on Flickr and and well one. And we can see people along whom if you view and planning this particular model otherwise like it said one -- slaughter them but on the board. And now. She can."

" Ruling may see code. I'm excited -- excited."

" Put her other hand -- The cool thing about digits is that they have eight PIs and example code. Board. Four -- interface -- as well that in the mortgages and it's consistently temperature sensors and serve those motors all sorts of cool stuff that you're interested. Is starting electronics like I obviously -- right now. -- But they do provide lots -- documentation an example -- so I'm using C in but expert here -- Java and python but looks. You look at some of the actually out. This is an example file. That basically just nationalize the devices like the simple little example you write this note. There's all did with anyone in here modified the place where. Where this is like they're starter Kotelly that you and your projects or anyone else who got it -- the -- slides. And all I'm really doing and is making use of this function here seat the interface case that output state. That tells our. Are are really what you. I've got the wired into the normally. Normal open position on all my wires here which means that -- switches. If they are -- paktia at -- open. Internet connection it's not doing yes and that's what we when we say and that the prisoners that we pass. The argument we -- to this function -- FK interface can. 12. And three with a different realize once and either easier or one. So says. Once exactly that. So this particular file tells. He fidget to make a a right turn it acts of spins right so what we want to do is run that again once we zero everything out. Until zero and three to go closed and no because that label here zero tells the -- track to go forward. And three tells the right track to go backward. And since it's -- and yet sensitive tanks. Left. -- it says that isn't. And that that's nice thing about in the tank rather than like you know more -- can do to get more I was up these. Now once that. What's important to do that I need it -- and just wait a minute while those connections are closed before we -- them again. So normally. NCA -- sleep but that's only for seconds. So in this particular instance when you sleep I've said it for 500 milliseconds means nano seconds. So what is that 500000. And a second. And then we just put everything we reset everything again. I've gone ahead and take in this example code and you're gonna like you can -- taking this example file and created. Twelve different copies. When of them tells to go forward per second per second for three seconds. And for backwards and cane or turn left turn right for 200 milliseconds you -- second in 12 -- I probably need help and see. But but not that we can do that I'll see you in in the command line back in just you know pop over to here and he just okay and it that's should back. Low. I gotta drive around right or can. SpinRite that's. That -- Analysts a rite spin and it's been a spin -- like some other like harder it's. How do that on him left. And you autograph. And non X thank you. So technical and the -- we really when he used on the web. Oh god of course it would either action and yet when did your segment look at it in an Apache and inoculate grabbed a cell phone and useful from there. So cliche of the web interface and I will have the code for this up on the web but basically. He's here I have missed you guys have got these different bonds and all of all they simply do is. It's a performance. That as well -- that PHP page it checks and there's that there's that case very. Something else which is which -- says. If its this of the diseases and then -- to exact -- system. That little program an agency or modified. Togethers return. Well already the idea project is -- to show you as we progress through this and build this -- for you guys to play with -- packed house com. All of the additional features that when we get the webcam and and some pots with that we get the -- be all that stuff. Own security guys who here is the first step it's started already. Whatever you you stream -- man. Went ahead hazy mist is synergies even connect. Sent us this updated. It's much prettier -- can manipulate. -- these people under. Sort. Well it -- I'm actually it works by Ajax so anyway it's much freer. I don't have all the control of parts and everything up on the website in the Wiki so we can collaborate and and make this even better. And I look forward to all of your suggestions as to what kind of crazy stuff we put in addition to cameras and lasers and our own users -- God's country Spencer -- I won't really. Well a little later we're going to be talking to -- Franklin about the compiling PHP code. I know. Yeah how I have been hampered everything looks like -- mean what can I -- he's gonna -- dangerous. But first let's check -- with that he was going on in the Lan party."

" Our guys you've only got three days left for the zombie invasion that's right left for dead and zombie -- source. We're going to be playing games February 28 at 3 PM that's when the left for dead campaigns ourselves. Go ahead head on over to Hak5 -- where space dot com want to sign up for the left for dead games that we've got going on. And there you can also sign up for attorney's. Hand. You know check out past games we played recommend your own games that you would like us to play on the Lan. And Hak5 land that's where space dot com. With square space you can create amazingly beautiful and complex web sites. Just like you were using frontpage and you remember that that's good stuff. But creating forms in square space is a whole lot easier than Dreamweaver frontpage or even know. Simply drag and drop -- values and look at that your all good to go. So head on over to square space dot com -- code Hak5 for 10% off the life of your contract. Now coming up a little later in the show me and take a look at and a -- and -- you. -- answers your questions and stuff like that right now going to go ahead and bring -- Franklin and to talk about how easy it is to re number -- crap what carriers and the agency is inexcusable. Really know how that works but. He does so is gonna come over here and we're -- Angela."

" I guess -- frankly is joining us from Chesapeake Virginia which is about what we're on its way about. A 45 minutes away he comes over every Friday and has great -- wings with us that need to be three's. And -- you're here because you obviously watched the show. And unfortunately. You happen to watch the episode where there and I. Started you know contemplating how difficult it would be too. -- number. Multiple computers on you know. -- You got to do -- code which I'm surprised your still months. And have taken that and taught yourself PHP."

" Yet it's actually the the raw what was the first experience with the PHP and actually the first -- written anything more than two lines long about seniors. I -- are right. Well you've got maybe in in terms you know motivation to learn a language. So what are we going to be playing with today. Well with two different things one the code itself. Power handling -- running multiple computers using anything -- code. And to looking at two different. Tyler's sort of to build this into something they can be distributed computers that don't -- install. Useless that the computer can run it. Right exactly as it was the first we're gonna take a look at. The first one is the pretty one. -- Called. Roads and it comes with its on ninety accountability thing in the program do debugging. Who run the code real time give you break points right. Has a nice little editor and it. You can give all the different files if you want to put everything in its own PHP script and compile them later while. It produces large -- date and gave it three times lots of tiny things. But it's pretty. And -- you can do everything it easy -- open it up typing code compiles -- getting it wrong you're done and and story. It is us big editor little windows. If you know PHP and I'm like I didn't started and just do your thing. When you're done. Go to your project and -- build wait for it to finish. And when it's done you in the XE it. You do have the option. Inventing an icon files so that you can actually have something click on -- the you can have a smiley face or whatever right to recognize your you know. -- And that is really about it it. There's nothing to know you click on and I items and they do what they say they do the the other one which I hope I'm saying it is called -- AME AL AM. -- is just the command line. Application that does these things -- it guidelines compiled its it. -- to run time interpreter package it together it even does a compress the XE so it makes it painting -- as opposed to aren't making it ain't so what -- size difference well. Wrote send you can about. The will be script I had command three with academics -- him with no compression options came out and about one point three. With the compression came out about it's okay. And the compressed version doesn't seem running slower than you can prosper once the application launches. At fusion -- is is to say it's."

" These are now what is the actual code remain. Using to re number of these different computers because I -- and an infrastructure. Now. 1500 computers and you need to go through react he. That's a little bit of pain in the ass to get the bodies to actually go through and manually do it so you've created. With your limited knowledge of PHP and only to -- you know code as a reference point. A PHP script that we can run -- anything to do this -- so let's -- go to."

" Well the code itself centers around using the assistant men do run command line argument and uses that this page another thing that I don't know anything about to start. I run Mac previous. The states is just and noble letters to. And after looking at all information on tech it is still illegible letters to and its and its command. The short version of what this does is it uses that it needs to pull occurred information -- the machines using using the ACP and so -- right. War if not. What is IP. -- have -- what is -- enemies and wins -- that address. You give -- a right now -- me up tents -- required. Later I plan on making its give 12 or three. -- now it's on class but right now you have to give it three you have to give us that that I don't assume anything. And which is always good and you have to give the game. You can give it. DNS wins or not it will do its best to work out what should be done with those if you don't you can specified by IP address. Let's say you already have everything that would with that these people -- let your -- and -- are static. You have the option use the command to set them too easy. It will take the Cardenas and wins and grabbed the last I ought to -- just like it has IP address. And paste in what you gave it. To build a -- right. So now how long -- actually taking from start to finish to get it working. Version of this right Nazis. I watched that the on Thursday after -- before. What about 10 -- capitalist Inman but do soda bottle and started learning PHP at twelve. And by 5:6 in the morning I had version one. So it would change at. About news for now. Five's it and I was so. It was analyst. I don't know what it can't be perfectly honest is well I mean approach approach dare I issue there."

" Mad props I think it's so where can we find are you going to be releasing the code or what are you going to be doing here."

" Originally I was gonna -- hello the next version but -- versions posing some problems. And how to handle some things and that would put this out now is technically versions you when you went for a it's gonna go to zero point one but I like Alex aerosols that with you know. My main. Recently started theory currently on populated. Tech blog elder news dot org -- the yard dash N double zero B down or awesome. As world the hopefully some more detail on exactly how works and plus one -- an expert and you're always welcome -- always open to you know people's tastes. Keep in mind like I said until this started. I didn't know PHP. And there's and buying code experience is basic. See Coble RPG and clipper. So. Keep that in mind you look at it ignore how it works -- if you want something -- can see something I can do better faster. Cheaper. Please let me so it's elder -- dot elderly dash those elder dash new Democrat. Dot org that's zeros not a nation are. Coming up I'm going to be taking a look at part two are apparently still beta software. And right now -- is going to let us know. What trivia is for this week."

" It's eight. These big big -- bad."

" Okay you get picture -- nobody got it right so we're gonna do it again this week. You can answer in the first 24 hours from when this episode releases going to Hak5 dot org slash trivia and get your chance to win -- giveaway actually Schwartz tells. Documentary -- hackers are people TU and of course this trip yet is sponsored by. That can if you want to make an impact online editing dot com has what you need dot com names as low as a dollar 99 plus world class hosting -- music website for others and much more. Get reliable secure web hosting without a long term contract. Good that he's hosting plans are bigger and better than ever before with 99% on time 247 support in -- annual commitment. Plus if you use and -- one that's HEK one you can get 10% off. Your -- some restrictions apply see the website for details and -- pieces CNN that. Tiny dot com Matt I'm gonna throw back to you and I. -- Sarah felony."

" Or current. -- Cake."

" Our guests on him back here to talk about staged to. And a pair opt in to -- beta now when I first went and talked about it last week. -- might have gotten some things wrong. And probably after -- episode was released on an email from the CEO and founder and a pair up on Hooper. Really great got a talked about it. Now. A -- there's two different parts and there there are and there are. Network devices and an apparent -- beta software which is actually what we're testing. Now the software. The Perry indigo is meant to go on to. You know third party manufacturers switches and devices and things of that nature there and making it so that it can be installed pretty much anything that a company. You know who wants to license the software do you know I should just -- and a higher level overview of some health monitoring. And when I was. Sleep deprived last night repairing a VMware -- SCSI stand. And it occurred to me that there's another really powerful mechanism inside Perry indigo software that allows you guys to lock down your enterprise. I'm not only you know using help monitoring but authentication. A bowl add the you know wired level as well as wireless want to do is I'm just gonna. And briefly cover those because the the feature -- on isn't. So we're gonna do. It's gonna take a look at the interface. Might remember from last week. Then a pair interface is very streamlined and it's beautiful it's pretty it's web 2.0 all bad chest. We're gonna do -- were actually make sure that port eight is as the authentication module enabled. So here we could see that authentication is checked. And it's good sign I got home today at when I hadn't set up eight windows 2008 enterprise active directory server. Amazing job at Microsoft did I'm not a Microsoft fan boy even though you may think I am but it's incredibly easy to set -- and -- it. So when I went ahead and did is come over here to configuration and we're gonna go and click on the off. Now what we can actually do is active directory. So there aren't Paris which is now -- to our Hak5 dot org domain name which is sitting inside of the -- running on my desktop machine upstairs -- level of this beautiful -- house. Still with. Username. Now I've actually tested it in -- she heard that it worked which is always a good thing and we try to do that here. So what I'm gonna do his political marketed devices I'm going to delete the record. That is capturing my information. And -- to come up and go to. A new address. A -- so now in the captive portal is back but it looks a little different instead of health monitoring. We now have authentication. Request so on and enter my username. Widget man -- is. A lot of people. And I think that's my -- Sign and failed but we -- that would've thought. I've -- now. So on signed an asthmatic and is you know going through active directory authenticated by credentials. -- you'd see I'm on a Macintosh. And it's asking me to you know report my computer's how well how do we do that well turns out the parent actually wrote. A now compatible application for Mac. -- and what can do is download that open that would dismount. That's what you do. Verifies that let's finish and -- The pair agent is going to be installed and after we install this. On Macs because Macs are really becoming more prevalent in the enterprise. If you don't believe me just -- take a look at all the white -- on line recently. So once this this is this is installed is similar to the enabler on windows. We come back over here and we refresh and now I have full network access and now we have two factors that we can protect against we can protect against malware. And we can protect against on authorized people outside of our domain for accessing social network resources. All these different options can be set up beaver castor and -- printers blah blah blah. All inside a -- but there's one other thing that I wanted to talk to -- about and that's Wi-Fi security. Now the repair software. Supports up to 200 different devices. On that can be tagged along out onto the switch. One of those devices being. Why -- actually throw your access point out there that has. Authentication. For WPA enterprise now. Before when you would go to set up you know enterprise security and things of that nature. It's a pain in the ass on the radius and it was certificate to you know to. Not one acts and so on and so forth but. With an apparent it's exceedingly easy to go ahead and set up WPA enterprise to authenticate back to your active directory that you've already set up. Or do is come back in here to the alt tab where a select enable authentic vacation with radius now. Radius is built in to compare our ballot certificates inside an apparent. Software. So all you have to do you. Is enable it here -- shared secret overture Linksys route are able radius pointed to the static IP address of the -- this year secret and bull you now have a WPA enterprise that is authentic -- Looking for credentials insider active directory so. After talking with Todd and you know gone over all of the things that -- looking to do that that's really. Really great new features and I'm excited to tell you about. -- So what we'll do is after idea either updated software here war -- permission from on. Google had let you no about all the great -- goodness that -- actually cooking and brewing. On at a later show but. Check it out apparent dot com and I think they might still have a couple beta test slots open. Four beta testing this which I gotta say it's a completely different way to look at. The and -- security at the switch level so I highly suggest anybody with you know. And -- for socially discotheque parent not so right now I'm going to go ahead and wrap this sleazy ass at up. And -- and Chan and or priority over their reading and that."

" We have. We -- questions viewers show and -- coming up. Before then let's cut and was beautiful people that -- today."

" Click think he's so much for sponsoring this episode of pat buzz button at -- he went over. -- Netflix you can rent over 90000 titles online including possible titles with free shipping both ways to your house. They now have over forty should be -- summons up deliveries happen in just one business day. Netflix plans start at 99 and as of you -- at Hak5 you can get noticed two week free trial membership. Eight years at www. Netflix.com slash Hak5 and please forget the WWW."

" I am I boxes a picture -- Yeah that the but. -- accurate. But that's that's. Yet. Haven't done recently -- never done. Writing. Because we hue and patterns. But there's actually late this crazy. Setup or where you can not only watch the participate in the chat room and even squirrels -- well. This is a bad. It'll add up there one -- Matt dean."

" That's okay last week for me baby yet."

" But as one statement last week in eight and today as -- all the beans. I did but I have a feeling they're gonna come out again. On the juggernaut doesn't moments -- I think I can make it."

" And yours. So what's especially if they that you got the special. The package that I want here's."

" Way indicate that and put it up and then -- know. All shipped. Unlike the taxi and get over act but stickers which contain all the -- actually -- with -- and often and art and from all of that. You will get off stickers like pineapple authors -- technolust -- Yet. One. Technolust up your your you could ever ends. The next. 500 orders I think it is. An last week. I've temporary that views that Google was and I was wearing when the other days that -- These all right now. Actually feel differently and we you really -- it. Anyway. If you put the show by getting it backpack all of them come with some -- And however you beat it against actions. On you're with the board will be -- show. --"

" I'll want to let you guys know about -- school Brian Brushwood does a great show about getting free drinks -- bar. Come on his -- hearing -- bond market you can learn some -- you can learn some magic for your friends or yourself a free drink the same time by watching -- will. Brian has a ton of easy magic tricks funny games -- in minutes this week you'll learn the spelling B. Magically predict your friends selected are by using spelling in a little bit of algebra initiative sort of skip school every Thursday at noon eastern. Version."

" Net Bryant. Are actually. It's easy and one you know. What -- And just a bit cynical can magically everything you've written here aside from you know this use. Curling and as long as it was. That was their -- and --"

" I had lot highlights that school who that. When my hair was likes. Here we you know who I see in the pictures yeah spike yeah and you know. And yeah. Call those -- him."

" Where. Did that what is story when place Friday night at Newport News, Virginia -- Arms. So -- house almost and oh so not your question but of course you can send us feedback or or."

" Question that or. We're evil server -- other he's actually hybrid eating now I think he's in the systems wonders. -- is. Whether yeah. But he'll attack you -- him for. But I wanted to show off this awesome little. Inspired by five Twitter -- got key PHP. Code extravaganzas that has now inspired both to people let -- know how -- know I'll come out of the woodwork you play. -- dad who inspired people but done. But Daniel here in the Antarctic not even going to attempt to last name. Has -- blog here where he outlined how he used the Twitter on the got you PHP -- to kind of put together it's weird. -- it basically. Uses Apple script and canceled. The people that act Twitter him and then. -- Late suggest a song and then -- first result at all so I was thinking do we should running here to people act -- our come in -- control stereo. Crowd source like it was a -- yeah -- know it's never -- Yeah I use it works."

" It. Might fall burn out in like it yeah. I didn't look. -- I think that right. Not just -- that -- Apple's -- and and it was coming and this --"

" I would. Coming. --"

" Did in this all that his -- bids did."

" Yeah."

" We'll call this is the dysfunctional one that. Hi. There were -- Andy there."

" left the Arctic. It doesn't think."

mari1ee

Started discussion: February 25, 2009 @ 9:57am GMT

Episode 502 - Linux RC Rovers, PHP Compiled and Napera [Discussion]

Darren's got a soldering iron and knows how to use it. In this episode we kick off the HakHouse Rover project and web enable an inexpensive RC Tank using a Phidget USB Interface Kit. Then Jody Franklin joins us to talk about compiling PHP and using Netsh to renumber IP addresses in Windows. And Matt has a follow up to your questions about Napera. Plus our weekly trivia, LAN Party and a ton of fun.

Watch or download now

computoman
9 months ago
Perfect timing. I am learning php and mysql. Also like the usb interface for controlling the tank.
bugninja
9 months ago

Better PHP Compilers

Roadsend and Bambalam are what most people find first, but you really should have taken a closer look at ZZEE PHPExe

http://zzee.com/phpexe/

It creates EXE's where your code can run safely in a protected browser so you can create front-end's to your code as well in HTML/CSS/JS.

Anyway, pretty good show.
techguy71
9 months ago

Upgrade!

You could make it like a REAL tank by making it shoot out plastic BB's. Just take a Co2 container, connect it to a low powered solenoid and connect that to the barrel on the tank( unless it is not hollow, then you would have to replace it with something that is ). Then connect the solenoid to another cheap RC's board. Then wire the new RC's controller to the Phidget.
hcolyn
9 months ago
I really enjoyed the RC/USB project!

Are you going to be using a larger phidget interface kit once you add the the rest of the components?
vgplayer
9 months ago
I would imagine that a cheaper solution to the Phidget interface is a PIC18F2550/4550 ($8 or can request samples). It can be programmed as a USB HID device and then any language should be able to talk to it. It can programmed in C as well. I am a complete n00b to programming microprocessors but I managed to get a marquee sign working in a day. I currently working on RF wireless NES/SNES controllers that will support the original consoles, GC(Wii VC), and USB as an HID gamepad using these microprocessors.
computoman
9 months ago
You could use the parallel port and a few transistors plus a few other parts to do the same thing and then program it in basic or whatever.
hak5darren
9 months ago
Yeah I know there are plenty of ways to go about it. PIC, LPT, Arduino. I just decided to take this route. There's more than one way to skin a cat.

BASIC, heh. Those were some fun years. Programmed my first text adventures in QBasic.

Anyway, the PIC18F2550/4550 really intrigues me. I looked 'em up on Sparkfun and didn't find anything. I'd be really interested in any info you can provide on the board. I'm currently playing with a $20 board that does USB HID but if I could do the same thing for cheaper I'd be all for it.

Glad you guys enjoyed the episode.
computoman
9 months ago
Nothing wrong in using that board, but like you said there is more than one way to skin a cat. I used to translate the old apple pascal text based adventure games into qbasic. The conversion was probably as much fun as the game. I did a couple very simple shootem ups for the C=64, but never took time to translate them to the pc. Now I wish I had.


http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010280
90093R
9 months ago

wicked

Awesome idea, reminds me of a remote control that I setup up to control an Xbox 1 halo 2 server via the web. I used LPT, perl, apache and a capture card to "see" the options on the screen allowing me to run our halo 2 server at the hosting suite.
View all 10 comments