Difference between revisions of "Pidora-Headless-Mode"

From CDOT Wiki
Jump to: navigation, search
(What is headless mode?)
(Enabling headless mode on Pidora)
Line 9: Line 9:
 
== Enabling headless mode on Pidora ==
 
== Enabling headless mode on Pidora ==
  
Tutorial Video:
+
To enable headless mode, you will need to create a file named "headless" in the boot filesystem on your SD card ''before'' you insert the card into your Pi.
  
http://youtu.be/ALUAmw6Mz_o
+
'''On Linux''':
  
If you would like to enable headless mode, you will need to create a file named "headless" in the following directory on your SD card.
+
Tutorial Video: http://youtu.be/ALUAmw6Mz_o
  
/boot
+
Insert the SD card into your system, and create a file named "headless" in the filesystem labelled "boot".
 +
 
 +
'''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 that
  
 
{{Admon/important| Note | If you are using a Windows OS you will need to remove the .txt file extension on the headless file.
 
{{Admon/important| Note | If you are using a Windows OS you will need to remove the .txt file extension on the headless file.
More information on removing file extensions:
+
[http://www.ehow.com/how_6394953_create-file-extension.html More information on removing file extensions on eHow]}}
 
 
http://www.ehow.com/how_6394953_create-file-extension.html}}
 
  
 
There are two possible configurations for headless-mode "DHCP" configuration and "Static" configuration.
 
There are two possible configurations for headless-mode "DHCP" configuration and "Static" configuration.
  
 
=== DHCP Configuration ===
 
=== DHCP Configuration ===
If you would like to obtain an ip address dynamically via DHCP
+
 
create an empty file in the boot directory named "headless"
+
If you would like to obtain an ip address dynamically via DHCP, leave the "headless" file empty.
  
 
=== Static Configuration ===
 
=== Static Configuration ===
If you would like to specify a specific IP address you will need to include the IP Address, Netmask and Gateway.
+
 
Create a file called "headless" and include the following information
+
If you would like to specify a specific IP address you will need to include the IP Address, Netmask and Gateway, place the following information in the "headless" file:
  
 
=== Sample headless file Static Configuration ===
 
=== Sample headless file Static Configuration ===

Revision as of 23:54, 21 May 2013


What is headless mode?

Headless mode is a system configuration in which the display device, keyboard, or mouse is lacking. When this feature is enabled, firstboot is bypassed.

Important.png
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 on Pidora

To enable headless mode, you will need to create a file named "headless" in the boot filesystem on your SD card before you insert the card into your Pi.

On Linux:

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".

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 that

Important.png
Note
If you are using a Windows OS you will need to remove the .txt file extension on the headless file. More information on removing file extensions on eHow

There are two possible configurations for 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.

Static Configuration

If you would like to specify a specific IP address you will need to include the IP Address, Netmask and Gateway, place the following information in the "headless" file:

Sample headless file Static Configuration

IPADDR=192.168.1.105
NETMASK=255.255.255.0
GATEWAY=192.168.1.1

Headless Mode is enable how do I find out what my ip-address?

After you have enabled headless mode with either the DHCP configuration or Static IP configuration, the ip address that has been assigned to Raspberry Pi will be played through the speakers "2 minutes" after you have powered the Raspberry Pi, "30 seconds" after the ip information has been played it will also flash your ip address through Pi's LED lights.

More information about ip-read and ip-flash:

https://github.com/ctyler/ip-info/blob/master/README.md