198
edits
Changes
→Enabling headless mode on Pidora
{{Admon/important| Security Warning! | If you are going to use headless mode it is critical that you change the root password as soon as possible, because Pidora is set with a default root password that is publicized.}}
== Enabling headless mode Headless Mode on Pidora == To enable Headless Mode, a file should be created in the boot file system. This file should be named "headless"(the first file found that starts with "headless" will be used). {{Admon/important| Note | This file should be created ''before'' you boot your Raspberry Pi, for Headless Mode to take effect and enable the correct mode of networking.}}
'''On Linux''':
'''On Windows:'''
Insert the SD card into your system. Only the boot filesystem will be made available, because Windows will not be able to read other partitions on the card. Create a file named "headless" on thatpartition
{{Admon/important| Note | If you are using a Windows OS you will need to remove the .txt file extension on the headless file.
[http://www.ehow.com/how_6394953_create-file-extension.html More information on removing file extensions on eHow]}}
There are two possible configurations for headless-mode Headless Mode "DHCP" configuration and "Static" configuration.
=== DHCP Configuration ===
If you would like to obtain an ip address dynamically via DHCP, leave the "headless" file empty.
If you would like to configure the Raspberry Pi to use DHCP, ''leave the "headless" file empty'', and the Raspberry Pi should be assigned an IP Address dynamically.
=== Static Configuration ===
If you would like to specify set a specific static, non-changing, IP address Address on your Raspberry Pi, you will need to include modify the "headless" file, adding an IP Address, Gateway, and Netmask and Gateway, place to the file for the configurations to work properly(see samples configs below). '''Static Configuration:'''Required parameters for a Headless Mode static configuration. IPADDR=[IP Address of Raspberry Pi]NETMASK=[Mask to define network subnet]GATEWAY=[IP Address of router/gateway] '''Optional Configuration:'''If "RESIZE" is in the "headless" file, the following information 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. RESIZESWAP=[Size of swap in megabytes] === Sample Headless Mode Static Configuration ===
Static Configuration(with rootfs resizing and swap creation):
IPADDR=192.168.1.105
NETMASK=255.255.255.0