Tags

    Raspberry Pi goals checklist

    Comments

    /groups/advancedcomputerscience/search/index.rss?tag=hotlist/groups/advancedcomputerscience/search/?tag=hotWhat’s HotHotListHot!?tag=hot1/groups/advancedcomputerscience/sidebar/HotListairport extreme setup pagesadminadmin2014-09-22 19:45:24+00:002014-09-22 19:45:24updated4Added tag - hotadminadmin2014-09-22 19:45:23+00:002014-09-22 19:45:23addTag3adminadmin2014-09-22 19:45:09+00:002014-09-22 19:45:09updated2First createdadminadmin2014-09-22 19:38:45+00:002014-09-22 19:38:45created1wiki2014-09-22T19:45:24+00:00groups/advancedcomputerscience/wiki/0554cFalseairport setup pages/groups/advancedcomputerscience/wiki/0554c/airport_setup_pages.htmladmin4 updatesairport setup pages Basic Airport extreme setup pages, using utility 6.3.2 Basic config screen, notice MAC addresses of clients: [Screen Shot 2014-09-...Falseadmin2014-09-22T19:45:24+00:00hot/groups/advancedcomputerscience/search/index.rss?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcomelist/groups/advancedcomputerscience/search/?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcomeRecent ChangesRecentChangesListUpdates?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcome0/groups/advancedcomputerscience/sidebar/RecentChangesListmodifiedDateallRecent ChangesRecentChangesListUpdateswiki/welcomeNo recent changes.reverse5search

    Raspberry Pi task checklist:

    1. install pi from noobs
      1. connect HDMI, keyboard and mouse
      2. insert SD card
      3. connect power
      4. select Raspian install, click install
      5. once install is finished, in raspi-config, choose third line (startup options)
      6. select login to gui automatically
      7. tab to save, restart
      8. login with pi/raspberry
    2. configure IP address with /etc/network/interfaces
      1. open terminal app (LX terminal)
      2. cd to /etc/network
      3. ls to verify you are in the right place
      4. sudo nano interfaces
      5. change dhcp to static on the first interface (eth0), which is the ethernet
      6. insert the following lines below static:
        1. address 10.14.88.x (your teacher will give you your number)
        2. netmask 255.255.0.0
        3. gateway 10.14.0.1
      7. control-o to overwrite
      8. return
      9. control x to exit
      10. return
      11. sudo shutdown -r now
    3. ssh into from local mac
      1. from another machine, ping the address of your Rπ box
      2. note the response time
      3. ssh into the unit with: ssh pi@10.14.88.x
      4. use the normal password
      5. test your connection with who, last and man
      6. man ps
      7. note ps ax (no flags) and other options
    4. apt-get update
      1. from either your ssh connection (terminal) or the LX terminal, run sudo apt-get update
      2. sudo shutdown -r now
    5. install apache2
      1. sudo apt-get install apache2 -y
      2. after install, restart
      3. navigate to the apache configuration files in /etc/apache2/sites-enabled/
      4. sudo nano 000-default
      5. change the lines /var/www to /home/pi/www (both times)
      6. restart
    6. install netatalk
      1. sudo apt-get install netatalk
      2. after install, restart
    7. scp index.html from /var/www/
      1. ssh into the unit from your mac
      2. using the scp commands, copy the index.html page from the web directory of your Rπ box:
      3. scp pi@10.14.88.x:/var/www/index.html /Users/yourname/Desktop
      4. open the index.html page with textwrangler, note the html structure
      5. change a few words, then drag the changed file onto the safari icon to view your changes
    8. mkdir www in /home/pi/
      1. ssh into the unit and navigate to /home/pi:
      2. cd /home/pi
      3. mkdir www
      4. sudo ln -s /home/pi/web /var/www/ (this negates need to edit 000-default)

    9. chmod 777 www
      1. still in the /home/pi directory, change mod:
      2. chmod 777 www
      3. this will enable you to add pages to your apache web server
    10. scp new index.html into /home/pi/www
      1. copy your new index.html file into the /home/pi/www directory:
      2. scp /Users/admin/Desktop/index.html pi@10.14.88.x:/home/pi/www/
      3. test using your browser: http://10.14.88.x
    11. mount using afp://x.y.z.a
      1. on your mac, hit command-k and login to your Rπ box
      2. check to see if your index.html file is in the www folder
    12. copy jpg into www, change index.html into index2.html
      1. using the mounted directory on your mac, insert a jpg file
      2. change the name of index.html to index2.html
      3. view the site in a browser-what changed?
      4. open the index2.html file and the jpg file in a browser
    13. demonstrate directory listing
      1. add a few more items to your directory
      2. check to see if the directory is listed
    14. go on to html5 task list