Manuals »

Raspberry Pi

Editing Manuals.RaspberryPi

An author name is required.

Must enter valid code
v

Summary:
Author:
Enter value:
v

Basic editing - Text formatting rules - Documentation index

Tables: simple - advanced

Paragraphs: for a new paragraph, use a blank line;

Line break: \\ or [[<<]]

-> to indent text, -< hanging text

Join line: \

Lists: * for bulleted, # for numbered, :term:definition for definition lists

Emphasis: ''italics''   '''bold'''   '''''bold italics'''''   @@monospaced@@

References: [[another page]], [[http://example.com/]], [[another page | link text]], [[#anchor]], [[#anchor | link text]]

Groups: [[Group/Page]] displays Page, [[Group.Page]] displays Group.Page, [[Group(.Page)]] displays Group, [[Group/]] links Group homepage

Separators: !!, !!! for headings, ---- for horizontal line

Prevent formatting: [=...=]

Other: [+big+]   [++bigger++]   [-small-]   [--smaller--]   '^superscript^'   '_subscript_'   {+inserted+}   {-deleted-}

Preformatted: [@...@] or >>pre<<...>><<

Preview Manuals.RaspberryPi

Beginning of preview -- page is unsaved

to configure the raspberry pi to connect automatically to a wireless network (with a connected USB wifi adapter):

once you've ssh'd into the raspberry pi, type:

sudo nano /etc/network/interfaces

edit the text file as follows. replace "skychud" with the name of the network you want to use, and "solomister207" with the password.

this configuration will still allow you to connect with ethernet cable.


auto lo iface lo inet loopback

allow-hotplug eth0 iface eth0 inet dhcp

auto wlan0 iface wlan0 inet dhcp wpa-ssid "skychud" wpa-psk solomister207


to clone / backup an SD card using mac OS terminal and "dd":

with the SD card in the mac's card reader, open terminal and type:

diskutil list

to find which drive is the SD card - it will be about the size you'd expect (8gb / 16gb / etc) and will have a linux partition.

once you've determined which disk it is (disk1, disk2, etc), type:

sudo dd if=/dev/rdisk2 of=/path/to/backup.img bs-1m

(change "rdisk2" to the correct identifier for the disk you want to back up)

…wait for the backup process…


to make a new SD card from a backed-up disk image using mac OS terminal and "dd":

with the new SD card in the mac's card reader, open terminal and type

diskutil list

to find which drive is the SD card - it will be about the size you'd expect (8gb / 16gb / etc) and will have a linux partition.

once you've determined which disk it is (disk1, disk2, etc), type:

diskutil unmountDisk /dev/disk1

(change disk1 to the correct identifier for the disk you want to copy onto)

then, to begin copying from a backed-up image type:

sudo dd if=/path/to/backup.img of=/dev/rdisk1 bs-1m

(again - and this is critically important - change rdisk1 to the correct identifier for the disk you want to copy onto)

…and wait for the process

End of preview -- remember to save
^ Top ^

Page last modified on May 20, 2017

Edit - History - Print - Recent Changes (All) - Search