Changes

Jump to: navigation, search

Pidora-Headless-Mode

428 bytes added, 15:50, 29 April 2014
Known Bugs and Features
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.
'''====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.
RESIZE
SWAP=[Size of swap in megabytes]
 
====How do I find my IP Address? ====
 
Once Headless Mode has been Enabled, and the Raspberry Pi has finished booting, the IP Address of the Raspberry Pi will be read out through the speakers or headphones that are connected to the Raspberry Pi. Additionally, the IP Address will be flashed through the LED on the Raspberry Pi soon after the IP Address is read through the speakers.
 
1 - 9 short flashes indicate the digits 1 - 9
10 short flashes indicate the digit 0
a long flash indicates an octet separator (dot)
a brief pause separates digits
 
[https://github.com/ctyler/ip-info/blob/master/README.md For more information about IP Address reading and IP Address flashing, click here]
== Static Configuration ==
If you would like to set a static, non-changing, IP Address on your Raspberry Pi, you will need to modify the "headless" file, adding an IP Address, Gateway, and Netmask, to the file for the configurations to work properly(see samples configs below).
'''====Required Configuration:'''====
IPADDR=[IP Address of Raspberry Pi]
GATEWAY=[IP Address of router/gateway]
'''====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.
= Sample Headless Mode Configurations =
Below are sample configurations, they may require you to enter valid ip information specific to the network you are running it on. ====Static Configuration(without rootfs resizing or swap creation):====
IPADDR=192.168.1.105
NETMASK=255.255.255.0
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
====Dynamic Configuration(with rootfs resizing and swap creation):====
RESIZE
SWAP=512
= SSH to The Headless Mode DHCP Configuration -- How do I find my IP Address? Pi =
Once Headless Mode has been Enabled, and the Raspberry Pi has finished booting, the IP Address of the Raspberry Pi will be read out through the speakers or headphones that are connected to the Raspberry Pi. Additionally, the IP Address will be flashed through the LED on the Raspberry Pi soon '''after''' the IP Address is read through the speakers. Default User: root Default Password: raspberrypi ssh root@{ip_address}
1 - 9 short flashes indicate the digits 1 - 9 10 short flashes indicate the digit 0 a long flash indicates an octet separator (dot) a brief pause separates digits [https://github.com/ctyler/ip-info/blob/master/README.md For more information about IP Address reading = Known Bugs and IP Address flashing, click here]Features =
= SSH ===Two IP Addresses====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 headless Pi =single boot, until a reboot takes place.
ssh root@{ip_address}Default user: root/raspberrypi ====Graphical Mode Not Disabled===== Known Bugs Headless Mode does not disable X, and Features =can run in both Run Level 3 or 5. This means that if you are not planning on using X while in Headless Mode, you should switch to Run Level 3 to save memory.
Two IP Addresses - 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 single boot[https://fedoraproject.org/wiki/Systemd#How_do_I_change_the_target_.28runlevel.29_.3F For more information about changing Run Levels on Pidora, until a reboot takes placeclick here.]
Graphical Mode Not Disabled - Headless Mode does not disable X====Slower Boot====When running headless mode, and can run in both Run Level 3 or 5. This means that if you are not planning on using X while in Headless Modethe speed of the boot is slowed down, you should switch this is due to Run Level 3 to save memorya network change during boot.
198
edits

Navigation menu