element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs Getting Started - Loading Raspbian-lite and Exploring
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: alanmcdonley
  • Date Created: 1 May 2016 6:39 PM Date Created
  • Views 515 views
  • Likes 0 likes
  • Comments 0 comments
Related
Recommended

Getting Started - Loading Raspbian-lite and Exploring

alanmcdonley
alanmcdonley
1 May 2016

My configuration:

Home Computer:  Apple Mac Mini

Monitor:  LG 24" 21:9 split - one side for Mac, one side for RPi 3

Location:  US

(micro) SD card:  16GB

 

These are my first steps and session.

 

==== Get Raspbian (lite)

— Download Raspbian (Raspbian Lite)

    http://www.raspberrypi.org/downloads/

    Unzip

 

=== get SD card formatter:  https://www.sdcard.org/downloads/formatter_4/

  install

 

=== Format the (micro) SD card

put micro SD card into SD card adapter

insert (micro) SD card adapter into computer

  -Run SDFormatter

  -select diskn/16.0GB/

  -select Quick Format

  -Set name

  -Click Format

 

 

=== put Raspbian-lite on the (micro) SD card

 

BE VERY CAUTIOUS TO GET THE RIGHT DISK!!!!

 

  -diskutil list (find 16GB card)

 

ARE YOU BEING VERY CAUTIOUS?  what disk number is the sd card?

 

  -(sudo) diskutil unmountDisk /dev/disk5

  -cd /Volumes/Sg4TB_500G/PiStuff/OS_Images_and_more/Jessie

  -sudo dd bs=1m if=2016-03-18-raspbian-jessie-lite.img of=/dev/rdisk5

   3276800000 bytes transferred in 248.436511 secs (13189688 bytes/sec) 4 minutes

  -eject the card (sudo diskutil eject /dev/rdisk5 )

 

==== Raspbian First Boot with kbd, monitor, (optionally mouse)

-insert micro SD card

-connect HDMI monitor cable

-insert USB wireless keyboard transciever

-insert USB mouse reciever

-connect power

 

=== First Login 

The default login for Raspbian is username pi with the password raspberry.

Note you will not see any writing appear when you type the password.

This is a security feature in Linux.

 

Login: username: pi  password: raspberry

 

=== Configure for locale, timezone, and expand filesystem to fill card

$ sudo raspi-config

   (You can exit menus by using Tab key, move to Finish, enter key)

 

 

  dn-arrow to 5 Internationalization Options

  press enter key

 

  (I'm in US so I want to change the default en-GB locale)

  (opens with I1 Change Locale highlighted)

  press enter key

  dn-arrow till see [*] en_GB.UTF-8 UTF8

  press space bar to un-asterisk

  dn-arrow to en_US.UTF-8 UTF-8

  press space bar to set asterisk

  press Tab to get to <OK>

  (opens to Default locale selection: None)

  dn-arrow to en_US.UTF-8

  Tab to <Ok>

  press enter

 

 

  dn-arrow to I2 Change Time Zone

  press Enter

  (I'm in US)

  dn-arrow to America

  press enter

  up/dn-arrow to my timezone: NewYork is US Eastern time

  press enter

   - expand filesystem

   - advanced options:

  [def on] [Enable SSH],

  [Enable Device Tree],

  Enable SPI,

  Enable load SPI kernel module

    MemorySplit->128

Tab to OK, Tab to Finish

   - OK the reboot

 

 

=== LOG IN Again

 

pi:raspberry

 

==== Check  TEMPERATURE

 

 

To view the Pi's temperature

   vcgencmd measure_temp

 

It's generally a good idea to keep the core temperature below 70 degrees

 

 

 

=== info about processor, memory, disk partitions ===

cat /proc/cpuinfo

cat /proc/meminfo

cat /proc/partitions

cat /proc/version

 

 

free -h     displays memory usage

 

=== get memory usage program htop

sudo apt-get install htop

htop

q to exit

 

 

 

===== Configuring WIFI DHCP for my SSID and WiFi password ====

 

$ sudo cp /etc/network/interfaces /etc/network/interfaces.bak

$ sudo cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf.bak

$ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

cntl-w

cntl-v

add at bottom:

 

network={

    ssid=“xxxxSSIDxxxx”

    psk=“myWIFIpassphrase”

    key_mgmt=WPA-PSK

}

ctl-x,y,enter

 

=== cycle the wireless interface:

$ sudo ifdown wlan0

$ sudo ifup wlan0

 

 

=== To see if success:

$ ifconfig

should see

  wlan0  ...

  inet add: xxx.xxx.xxx.xxx ...

 

 

Record the ipV4 addresses:

  wired: 

  wifi:  

    Pi3         : 10.0.0.xx

 

=====GETTING WIFI NETWORK DETAILS

 

To scan for WiFi networks, use the command

   iwlist scan | less

 

 

=== check time zone

$ date         to check if correct time

 

 

========= SSH from mac to Pi =====

(SSH enabled in raspi-config)

 

 

ssh -l pi 10.0.0.xxx   (wireless)

or

ssh pi@10.0.0.xxx

password: raspberry

 

 

 

 

===== rebooting ====

sudo shutdown -r now  (or sudo reboot)

 

==== check disk file systems =====

df -h 

 

disk space of a directory: du -h

 

===== update and upgrade ===

 

$ sudo apt-get update

$ sudo apt-get upgrade

 

===== test internet speed ====

$ speedtest

 

 

Speedtest Result

  2016Apr29:  29.5 Mbps Download, 11.0Mbps Up 38ms ping

  2015Jan25:  19.3 Mbps Download, 5.5 Mbps Up 40ms ping

 

 

===== describe hardware =====

 

sudo apt-get install lshw 

 

sudo lshw

 

 

=== check memory ===

sudo lshw

...

*-memory

          description: System memory

          physical id: 4

          size: 862MiB

 

or

 

$ free -o -h

             total       used       free     shared    buffers     cached

Mem:          862M       232M       630M       5.9M        14M       177M

Swap:          99M         0B        99M

 

 

======  Testing Disk speed =====

hdparm -t /dev/mmcblk0  (sudo apt-get install hdparm)

 

reports

  Pi3: 62 MB in 3.06s = 20.27 MB/sec

  pi B+: 54 MB in 3s = 17.7 MB/s

 

======= check OS version ======

cat /etc/os-release

 

 

PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"

NAME="Raspbian GNU/Linux"

VERSION_ID="8"

VERSION="8 (jessie)"

ID=raspbian

ID_LIKE=debian

HOME_URL="http://www.raspbian.org/"

SUPPORT_URL="http://www.raspbian.org/RaspbianForums"

BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

 

==== check Pi firmware version

 

 

vcgencmd version

uname -a

 

 

 

==== SHUTTING DOWN Pi ======

sudo poweroff  ( or shutdown -h now )

Safe to remove power when green light blinks a bunch (12 times) and then stops blinking

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube