-
Notifications
You must be signed in to change notification settings - Fork 22
Setup SD Card memory...OS installation
TinyOS Lover (3PO_Kang) edited this page Aug 23, 2018
·
64 revisions
- Download prepared image file
- Why use this pre-setting image ?
- This image includes BerePi source code to run CO2, SHT2x, LCD, LED...
- Also, required python packages are pre-installed, such as requests, twisted, pip, I2C...
- Many of shell config files are all set, /etc/rc.local, /etc/networks/interfaces...
- Download on the Macbook Terminal
wget http://tinyos.asuscomm.com:2081/open/2018_08_hawaii.zip
- if you loose connection, you can continue download,
wget -c
option
-
unzip raspi_4G_2015_0707.zip
will give raspi_4G_2015_0707.img - unzip message but it is working properly
unzip raspi_4G_2015_0707.zip
Archive: raspi_4G_2015_0707.zip
warning [raspi_4G_2015_0707.zip]:76 extra bytes at beginning or within zipfile (attempting to process anyway) error [raspi_4G_2015_0707.zip]: reported length of central directory is -76 bytes too long (Atari STZip zipfile? J.H.Holm ZIPSPLIT 1.1 zipfile?). Compensating...
inflating: raspi_4G_2015_0707.img
note: didn't find end-of-central-dir signature at end of central dir.
(please check that you have transferred or created the zipfile in the appropriate BINARY mode and that you have compiled UnZip properly)
- Copy download file to SD card
- Follow ApplePi Baker image writer instruction, ApplePi Image Writer
- You need uncheck application security option which approves run permission, Internet download application on the Control Panel
- or Shell command-line SD card write, Mac OSX command-line SD Card
- Insert SD Card to RaspberryPi
- Connect RaspberryPi with Laptop LAN port
- Be sure connect LAN cable, before power up RaspberryPi
- Power UP
- Plug Micro USB cable to supply power port of RaspberryPi
- Ping to RaspberryPi from Laptop
ping 169.254.0.2
- 169.254.0.2 is pre-defined fixed IP address for Direct LAN connect
- if you remove this
odd networking conf.
, after setup all Linux, you can edit /boot/cmdline.txt - get rid of wordsip=169.254.0.2
- if Ping is not working, try to turn off Wi-Fi connection to Internet, make LAN connection alone without other network
-
ssh [email protected]
- ID : pi
- Pasword : tinyos
-
sudo raspi-config
will give you graphical tool
- Expand SD memory size to use maximum capacity
- Download Image file was generated for 4G SD card memory, without expand this, we will just use 4G Byte disk memory. Thus this expand process should be done every new install SD card.
- Change Hostname which you want
- Reboot
sudo reboot
- After rebooting, you may check
df -h
if expand SD has done well