Interesting error message today:Jan 1 01:01:02 ritchie CRON[1834]: pam_unix(cron:account): account koos has password changed in futureBut it is caused by the system realtimeclock being completely wrong and assuming the date is 1 January 1990 or something. It probably needs a new battery. Or maybe a whole new system, this is from the system ritchie that started life as the wardriving box which was bought in 2008.
When I get around to wardriving lately I use the wigle app for android, so I decided to repurpose the wardrive box as shednet computer. This will also mean I can stop using PLC network to link the shed computer to the rest of the network, replacing it with wifi. Using PLC offends the radio amateur in me and people at the radio club now ask me whether I dumped it already. So, time for different hardware which as a plus will also use less power. I already built in a laptop harddisk in the wardrive box and removed the compact flash holding the wardriving box image (I'll save it so I can restart using the wardriving box if needed). The alix 1c can work nicely with an IDE laptop harddisk.The installation will probably be done with a recent debian jessie distribution. Plans for the new shednet computer include an ntp server, but since the current gps unit (gpskit) seems to fail after running for a few days in the test setup that may have to wait.
The laptop harddisk built into the ritchie mini-itx case
Doing some updates on the wardrivingbox for a friend. It would be really nice if that box would be able to sync its results to an usbstick. So I was trying to find the right flags for rsync to copy the results and kept failing.rsync: mkstemp "/mnt/kismet/.dabox-00:0D:B9:0D:98:50-20061010-1.csv.MK38RC" failed: Invalid argument (22)and then it dawned on me: filenames with an : in them are invalid in vfat (ms-dos and derived). The filenames are derived from the ethernet address of the wired networkcard in the wardrivingbox. Solution: strip the colons when generating the filename:LOGNAME=dabox-`/sbin/ifconfig eth0 | /usr/bin/awk ' $4=="HWaddr" { a=$5; gsub(/:/, "", a ); print a } '`Now filenames are more acceptable to the vfat filesystem on the usbstick.
I used the wardriving box at home after I noticed I hadn't used it at all in over two months. It hung after a while, not responding to network or keypresses but still reporting on ethernet link state changes. I thought the temperature might have something to do with it since the box does get a bit warm and it was in the direct sun. So I loaded the internal sensor driver w83627hf which is mentioned in the voyage linux getting started page and had a check:ritchie:/sys/devices/platform/w83627hf.656# cat temp?_input 72000 56500 5100072 ⁰C seems a bit high, but other reports of measured temperatures list the same values, like this openbsd on the alix1c for www.stare.cz dmesg shows. Later during the day with the wardriving box out of the direct sun it keeps running fine. With the probable hardware for the weather station computer also being an alix1.d the ideas now include measuring and graphing of all available temperatures, if only to keep an eye on possible stability issues. Update: 47 new wi-fi networks found without moving the wardrivebox 1 centimetre... Update 2012-08-24: I wanted to bring the wardriving box on my bike but .. the carrier on the back is slightly broken from earlier wardriving, and there is no place to stick the gps to at the moment.
Today I had a chance to take the wardrivebox out on a trip and I noticed it did not find a lot of networks. On a trip which should give me 1500 or more networks it only saw about 200. So I tried the box at home, and noticed it sees fewer networks than expected, even my laptop wireless utility sees more. It seems the cable to the external antenna is broken, probably near the connector. Using another simple small omni antenna I once bought but never used gives me almost three times as much networks now. Maybe time to rethink the 'big' external antenna.
Doing some updates to the wardriving box documentation because of all the new things I learned while building a wardriving box for a friend. I may put the sources and scripts on-line for others to be able to play with them. One learns a lot from trying to re-do something!
A friend asked me to help him get his own wardrivingbox going. I had a harder time doing this than expected, so I decided to retrace the steps.Read the rest of A second wardrivebox buildHe had installed ubuntu 11.04 on it from usb stick. This wouldn't boot, the grub setup was al wrong. Fixing the grub setup still left it non-booting.
This time I had the Heavy Duty Boot Environment available to help me, since the alix.1c / alix.1d boards are quite capable of PXE booting. This didn't turn everything into a simple install-party as the via_rhine drivers in anything but the most recent linux distro give issues. So the complete pxe load via network works fine but after that the network drivers don't work, making it impossible to do an OS installation which I can reproduce.
From the latest blackhat conference: Flying Drone Can Crack Wi-Fi Networks, Snoop On Cell Phones - Andy Greenberg - The Firewall - Forbes magazine. A bit of a sensationalist article, but the flying platform makes a lot possible and the described attacks on wifi and GSM are not new.DIY Spy Drone Sniffs Wi-Fi, Intercepts Phone Calls - Threat level - Wired is less sensationalist and a better description. And the latest is at the Rabbit-Hole - DIY UAVs for Cyber Warfare – Wireless Aerial Surveillance Platform where the makers of this plane tell about their progress.
I would not mind having a plane like this flying around with an airborne version of the wardriving box. More a 'warflying box'. There is some mention of running kismet on the W.A.S.P.
For as far as I can find 'serious' model plane flying in the Netherlands requires some training and having a view of the plane, which a drone like the one above doesn't have. If you ask model airplane clubs you have to be a member to be allowed to fly a model airplane at all, but opinions outside those clubs are that light planes are permitted (up to a certain height) with permission of the owner of the land where you take of and land.
Update 2011-08-06: An interesting related story: Murdoch accused of operating illegal US air force withThe Daily may be in breach of FAA regs regarding "operations of unmanned aircraft in the National Airspace System". As Forbes notes, the FAA requires wannabe drone pilots to have an airworthiness certificate for their "Unmanned Aircraft System" (UAS) and an "experimental certificate" which limits them to "research and development, marketing surveys, or crew training".Reading the referenced article FAA Looks Into News Corp's Daily Drone, Raising Questions About Who Gets To Fly Drones in The U.S. notes the huge difference between hobby and commercial use:Hobbyists are basically free to use drones as long as they keep them under 400 feet. At this point, civil and commercial use of drones is only allowed for research and development purposes. “Not for compensation or hire” says one FAA notice. To get government permission to use a drone (for non-hobby purposes), a private entity has to jump through hoops including getting an airworthiness certificate — meaning the thing is safe to fly — and an experimental certificate, approving the planned use of the unmanned system (uses are currently limited to research and development, marketing surveys, or crew training).So Murdoch papers can have wet dreams about using something like the W.A.S.P. for news reporting but will find heavy resistance.
Found via quite other ways, but something to keep in mind when rebuilding the kernel for the wardriving box or building a kernel for the future weather station: Debian on Soekris lists some specific Linux kernel compile settings for Geode processors. Another powersaving option could always be a good idea for both. Although I plan to make the weather station also work as ntp server so any power saving which influences timing is a bad idea.
I wanted to install an extra package on the wardriving box but found out that the choice of distribution: Debian etch is not available anymore, not even as 'oldstable'. A bit of searching finds that I need to look in the Debian distribution archives.I'm not sure whether I'll keep using Debian versions for the wardrive-box. I want something nice and small and manageable, and the option for a custom kernel (no initrd, preferably no udev).
The interesting bit is that I built the wardriving box in January - February 2008 and it basically ran regularly since that time without software problems.The extra package I wanted to try is lm_sensors, for the other project: Sundial. I was wondering how high/low the system temperature would get, and whether it would stay within the 0 - 50 ⁰C range. An IP55 rated case might be a good idea for use in the garden shed (which is semi-outdoors). The question is will the mainboard stay above 0 ⁰C when it is -15 ⁰C outside. I know from the wardriving box the Alix board generates some heat, but is it enough to keep itself warm.
The Alix.1c/1d have a temperature sensor, according to Getting started with voyage linux it should work with the w83627hf driver which indeed loads and gives a readout.I came across the alix.1 series hardware while looking for something low-power for project sundial. Later calculations showed the 'powered by the sun or wind' part of that project would be too expensive compared to just using a plug.
Update: The archived etch works, but lm-sensors wants perl, which is not part of the stripped down debian on the wardrive box. For as far as I can see that is because there is one perl script included. Time to rebuild from source with that script removed.
Update 2010-08-03: Looking where you are going helps too: Voyage Linux is Debian-based but optimized for embedded apps. With debootstrap under Ubuntu or Debian I could set up a newer development environment for the wardrive box and test Voyage Linux.