Jump to content

sirpoonga

Active Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by sirpoonga

  1. On a somewhat related note take a look at the Energizer XP8000 battery. About the same size as the Fon router. I just Velcro it to the routers. I use this battery for all my little electronic projects - like when I am working with the Arduino. I hacked a usb cable to a barrel jack to provide power. At some point I need to find out exactly how long the fonera router can last on that battery. I know my current power hungry arduino project lasts 8 hours so the router should last a long time on one charge. It's a really handy battery since it can also output 12v. I have run a wrt54g off of that. http://www.energizerpowerpacks.com/us/products/xp8000/ I've had issues with the AA pack opening up by accident. Either Velcro this or rubber band it and throw it in a tupperware box.
  2. I was watching the new episode about the pineapple 3. I went to the quick start guide on wifipineapple.com. It says: So if the Windows 7 host's wired Ethernet adapter is configured with a static IP address of 172.16.42.42 and the Internet-facing adapter(for example from another WiFi network or a 3G/4G cellular modem) is configured for Internet Connection Sharing, clients connecting to the WiFi Pineapple will get online through the Windows 7 host's Internet connection. But wouldn't the pineapple interfere with wifi from the laptop? Unless the laptop is connected to the wifi router first before turning on the pineapple? But then that would keep you from issuing a deauth as then the pineapple would pick up your laptop, correct? Is there a way to tell the pineapple to not say yes to a specific mac?
  3. http://code.google.com/p/sdfatlib/ However, the only read() is designed for debugging. It reads a file directly to serial. For a project of mine I had to modify that read() to read a byte at a specified position in the file. It wasn't hard to do. Not that the library does take up a fair amount of memory. You could search for uFat/microFat libraries for the arduino which have some restrictions. There's a big thread on the arduino forums about this. The micro fat libraries are design for datalogging since most arduino users are doing robotics or sensor logs.
  4. Actually, not completely off topic. Twitter could be the tool to have the ducky post commands for a bunch of drones. It's a mini-computer that is easily programmable. I didn't realize the Teensy existed before the ducky existed. I have an arduino project I have been thinking of but wonder if I could implement it. The Teensy is going to make it much easier with the USB support. If I get my current arduino project done I will try to rmember to post something int he everything else forum. it will give you an idea on what you can do with the thing in terms of automation. It's a custom motorcycle led accent lighting project that uses an Arduino mini as the host, a YellowJacket arduino clone as a (very slow) webserver for iphone control, 4 button key fob control, and microsd to store the animations. I could replace the YellowJacket with a Fonera if the Fonera didn't run so hot. It's would be stored inside my storage compartment so there wouldn't be much air flow. Unless anyone knows another small AP that can use dd-wrt or openwrt. Anyway, starting to ramble on an off topic subject :)
  5. This is where understanding the hardware with the programming comes in handy. Based off what I saw in the latest episode Darren is using the Teensyduino. There are a bunch of I/O bins on that board. If you run out then you can use an I/O expander that supports i2c. For dip switches you will end up connecting each switch to an input pin. Then in the setup() function read the dip switch pins to figure out how the dip switch is set and fork the code accordingly. Since it is AVR/Arduino based there is a ton of possibilities with interfacing with other hardware. If the hardware support i2c or spi you should be able to interface with it. This includes SD cards, EEPROMs, sensors, tons of stuff. Add a wifi shield and you could have it twitter its actions.
  6. These adaptor boards have a built in regulator to knock 5v down to 3.3v that the sd cards use. I am using it in my current Arduino projects with sdfatlib.
  7. Thanks. I've seen that $5 mount. I am surprised it works so well. I would have to say the image stabilization of the camera must be pretty good.
  8. What type of camera did you use and how did you mount it? It seemed pretty smooth and not much vibration.
  9. I answered my own question. I found a php serial class. That should work.
  10. Here's an example of what I am looking to accomplish. Let's say I have an Arduino with two LEDs. I wire the Arduino to a FON through the FON's serial port. I would like to control turning on an off the LEDs from a web page on the FON. I am thinking about putting DD-WRT on the FON. Then let's say the default web page of the server will have two buttons to turn on and off each LED. I am not sure what to do on the web server side - how to get the web page button click to a serial command to send to the Arduino. I am making a custom LED controller for my motorcycle. I plan on using an Arduino with many RGB LEDs interfaced through some TLC5947 chips. The Arduino forums have plenty of information on how to wire this and code it. While researching what I could do with the Aduino I noticed there is web server code for it. That got me thinking about controlling it through the web. However, being only a 16mhz device I could see serving up web pages could disrupt the timing of animations. So I would like to off load the web serving. DD-WRT was my first thought. Then I remembered the FON has a serial port available. The FON would be perfect since I plan on powering the system with a 6V battery so I don't accidentally drain the bike's battery. I am going to use it as a social experiment when I go to motorcycle shows. I'll take bets with my friends on what color the bike will end up at :) Another thing I am not sure how to do is have it so when someone connects to the access point that it will have a browser start to the web page on the server. Does anyone know the current draw in mah the FON uses? I am looking at my powering options. I think a large RC car battery will be good. If I have to I will use a 12V pocket bike battery and wire it in parallel with my bike's battery with a switch to disconnect it. That way I can have the bike's alternator charge the battery.
  11. As I said in the episode thread I am looking at how to have multiple ISOs with persistence. I will have the room shortly as I am getting a 16meg drive to turn into a multipass :) My assumption is I need to change the initrd and that's it. I found this link in which I am gong to use as a starting point. My first goal will be to have a different name for the casper-rw file in ubuntu. Looking at the current extracted initrd file it appears there are two lines where casper is mentioned (one the same as those in the above instructions). I haven't looked close at this yet. Then my next goal will be to find out if I can put the casper-rw file in a specified folder. Did you notice something about the script? It looks like you can make a home-rw file to have home persistence. Interesting... Has anyone attempted anything like this yet? What have you found out? Personally I would like persistence with ubuntu and backtrack. FYI, to create a casper-rw file to any size follow these instructions. 1. After your up and running in Linux, insert the flash drive that contains your casper-rw file 2. Type dd if=/dev/zero of=casper-rw bs=1M count=1024 (replacing 1024 with the "size in MB" you wish to use for saving changes persistently) 3. Type mkfs.ext3 -F casper-rw 4. Copy the new casper-rw file to your USB flash drive 5. Restart your computer, booting from the USB flash drive and enjoy the expanded storage for saving changes
  12. Jonathan, figure it out? All I did was put the ubuntu iso and casper-rw file on root. It has persistence as I installed minicom and it is still there. I created my own casper-rw file though, a 1.5g file with these instructions. Creating a larger casper-rw loop file for saving changes 1. After your up and running in Linux, insert the flash drive that contains your casper-rw file 2. Type dd if=/dev/zero of=casper-rw bs=1M count=1024 (replacing 1024 with the "size in MB" you wish to use for saving changes persistently) 3. Type mkfs.ext3 -F casper-rw 4. Copy the new casper-rw file to your USB flash drive 5. Restart your computer, booting from the USB flash drive and enjoy the expanded storage for saving changes
  13. I found out you can boot ubuntu with the iso and have persistence. You need to put a casper-rw file on root and use this: title Ubuntu LiveCD find --set-root /ubuntu-9.04-desktop-i386.iso map /ubuntu-9.04-desktop-i386.iso (0xff) map --hook root (0xff) kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/ubuntu-9.04-desktop-i386.iso quiet splash locale=en.UTF-8 persistent -- initrd /casper/initrd.gz boot Now I am trying to figure out how to have multiple casper-rw files for some different isos.
  14. IF you grab the latest Ultimate Boot CD beta it has both grub4dos and syslinux. There are many examples of how to setup grub4dos.
  15. I was having a problem with Kon-Boot. Using a burned CD it worked fine. But when using the show's notes on Kon-Boot Windows would boot but hang right before the login screen. I read though this site and figured out how to use the floppy image. I tried getting the iso to work but so far no luck. title Kon-Boot (floppy) map (hd0,0)/konboot.img (fd0) map --hook chainloader (fd0)+1 map (hd1) (hd0) map --hook rootnoverify (fd0) map --floppies=1 I am not sure if that last line is needed. Probably not. Otherwise the only difference is te first line. No --mem and added (hd0,0). FYI, you should be able to do a persistant ubuntu based on these instructions. http://www.pendrivelinux.com/usb-ubuntu-90...nstall-windows/
×
×
  • Create New...