198
edits
Changes
→Known Bugs and Features
{{Pidora}}[[Category:Pidora 18 (Raspberry Pi Fedora Remix)]]
Headless mode is a system configuration which enables access to a raspberry pi, through ssh on a network, without the use of a monitor or keyboard plugged into the raspberry pi. This mode does require another computer to ssh into the raspberry pi. When this feature is enabled, [[Pidora 18 Firstboot|firstboot]] is bypassed and disabled.
Additionally, Headless Mode will enable services to read your IP Address through plugged in speakers or headphones. It will also flash the IP Address to you on the Raspberry Pi LEDs.
To enable headless modeHeadless Mode, you will need to create a file named "headless" in inside the boot filesystem file system on your the Raspberry Pi's SD card ''. Create this "headless" file before'' you insert the card into boot your Raspberry Pi.
Tutorial Video: http://youtu.be/ALUAmw6Mz_o
Insert the SD card into your system, and create a file named "headless" in the filesystem labelled "boot".
=== DHCP =Optional Configuration ====If "RESIZE" is in the "headless" file, the root filesystem will be expanded to the maximum size of the sd card via the service rootfs-resize. If "SWAP"(requires the value in megabytes) exists in the "headless" file, a swap file will be created of the specified size, and then activated.
=== Static Configuration ==Sample Headless Mode Configurations =
=== Sample headless file =Static Configuration (without rootfs resizing or swap creation)====There have been two added options to the headless file: IPADDR=192.168.1.105*'''RESIZE''' this will initiate a rootfs-resize if you want to use the full amount of space on the SD card NETMASK=255.255.255.0*'''SWAP''' sets the amount of swap you would like to use GATEWAY=192.168.1.1
====Static Configuration(with rootfs resizing and swap creation)====
IPADDR=192.168.1.105
NETMASK=255.255.255.0
SWAP=512
== Headless Mode is enable ==Dynamic Configuration(with DHCP -- How do I find out my ip-address? rootfs resizing and swap creation)==== RESIZE SWAP=512 = SSH to The Headless Pi =
== Headless Mode Script Update ==Two IP Addresses====Initially there were a few issues with dchp and headless mode since our release the headless script has been updated. It has not been officially added When switching in between Headless Mode Configuration states, static ip to dynamic ip, or dynamic ip to static ip, both IP Addresses from each configuration will be active for the updates repo yet butsingle boot, if you are interested in trying this mode out now you can copy and replace the old headon script with the updated one located at /usr/bin/headonuntil a reboot takes place.