KCHUNG wiki | Manuals »
Raspberry Pi |
Editing Manuals.RaspberryPiAn author name is required.
Preview Manuals.RaspberryPiBeginning 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 |
Page last modified on May 20, 2017 |