Raspberry Pi Zero Headless Setup
davidmaitland.me
davidmaitland.me
There are modules that have variable I/O voltage, very handy when dealing with devices that have 1,8V, 2.5V, 3.3V or 5V logic: https://www.sparkfun.com/products/12731
Equipped with such a cable, you can also observe any errors that might occur on bootup, such as when you have made a mistake in configuring your config files on the filesystem.
For normal "Rasperry Pi"-Level work, the cheapest eBay-cable will probably be ok. If you have more exotic devices you'll appreciate UARTs that can produce almost arbitrary baudrates, or might support inverted Tx/Rx pins. I found some chinese knockoffs using a "CH310" UART/i2c/spi chip to be particularly broken.
(EDIT: Added last paragraph, fixed a few typos)
I dug up this text on their site: https://www.sparkfun.com/support#IntExportRestrictions, which says:
[...] These are products designed for civilian use, but that could be used for devious purposes in the wrong hands. [...]
So, I guess that tells me there are weapons or other "dangerous" machines that have UARTs. Who would have thought that, huh? :| Really dubious restriction, but I guess they don't have a choice.
On most orders for electronics parts, even if it's European distributors shipping to me, in Europe, I'll have to click some boilerplate where I assert to not make the chips available to terrorists on the Denied Persons List of the US department of commerce, which is conveniently available in ASCII...
That, and clauses about not using it to controller missiles. Which is admittedly more applicable than the weapons of mass destruction (exaggerated) clause in iTunes.
This SuperUser post talks about it: http://superuser.com/questions/365999/how-do-i-recover-data-...
http://howto.starahead.com/?p=61
http://www.overclock.net/t/457286/seagate-bricked-firmware-d...
https://sites.google.com/site/seagatefix/Home
I had backups, but still, it was nice to be able to do this.
Is there any reason why Pi plus Raspbian can't/won't/doesn't have a Chromecast style setup built in, i.e. boots up, finds wifi adapter but no known network, hosts own network allowing connection from smartphone app to configure wifi settings for new network?
[0]http://spin.atomicobject.com/2013/04/22/raspberry-pi-wireles...
I used to use 'Diet Raspbian,' which took plain Raspbian and stripped it down, but this is a much nicer alternative, since it's an official build!
UbuntuSC requires ARMv7 ISA CPU, which among Raspberry Pi models is only featured on the BCM2836/BCM2709 SoC in "Rasbperry Pi 2 Model B" (note the "2").
DietPi http://dietpi.net/
Minibian https://minibianpi.wordpress.com/
Both Raspbian-based
And, in just 80MB, Slitaz-ARM http://arm.slitaz.org/
Though I don't know if the latter has SSH enabled by default.
Look also at the official Raspberry Pi documentation[2], which is more succinctly summed up on SO[3].
For WiFi, you can configure the microSD card in another Pi (I usually mint cards on my Mac, then configure a master copy in a Pi 2, then drop it into other Pis headless) so it has the SSID/PSK in the wpa config file.
[1] http://www.overlooksoft.com/fing [2] https://www.raspberrypi.org/documentation/troubleshooting/ha... [3] http://raspberrypi.stackexchange.com/a/13937/6506
Changing a string like 'foo=yes' to 'foo=no ' would be easy enough - as long as the filesystem does not checksum data.
Adding multiple lines to multiple files is not going to work very well.
This allowed me to set up the RPi headless and keyboardless.
Of course the filesystem was dirty, but it's nothing an fsck couldn't solve.