Schedule

Schedule

Wednesday, March 4

1425486600 FLOSS Weekly
1425492000 Tech News Today
1425495600 Windows Weekly
1425502800 This Week in Google
1425513600 Tech News 2Night
1425515400 Android App Arena
1425520800 Ham Nation

Thursday, March 5

1425578400 Tech News Today
1425582000 Know How...
1425587400 Marketing Mavericks
1425592800 Home Theater Geeks
1425600000 Tech News 2Night
1425601800 The Giz Wiz

Friday, March 6

1425664800 Tech News Today
1425668400 This Week in Law
1425679200 Before You Buy
1425686400 Tech News 2Night
1425690000 Padre's Corner

Saturday, March 7

1425754800 The Tech Guy

Sunday, March 8

1425837600 The Tech Guy
1425852000 This Week in Tech

Monday, March 9

1425920400 Tech News Today
1425924000 Triangulation
1425929400 iPad Today
1425936600 Coding 101
1425942000 Tech News 2Night

Tuesday, March 10

1426006800 Tech News Today
1426010400 MacBreak Weekly
1426019400 Security Now
1426028400 Tech News 2Night
1426032000 All About Android

Wednesday, March 11

1426087800 FLOSS Weekly
1426093200 Tech News Today
1426096800 Windows Weekly
1426104000 This Week in Google
1426114800 Tech News 2Night
1426116600 Android App Arena
1426122000 Ham Nation

Thursday, March 12

1426179600 Tech News Today
1426183200 Know How...
1426188600 Marketing Mavericks
1426194000 Home Theater Geeks
1426201200 Tech News 2Night
1426203000 The Giz Wiz

Friday, March 13

1426266000 Tech News Today
1426269600 This Week in Law
1426280400 Before You Buy
1426287600 Tech News 2Night
1426291200 Padre's Corner

Most Recent Episodes

All About Android

Mobile World Congress, HTC One M9 and hands on with the Samsung Galaxy S6.

TWiT Live Specials

Acer Liquid M220, Alcatel OneTouch Idol 3, Gionee Elife S5.1, and more.

Security Now

SoHo router backdoors, web-based encryption service, evolution of DNS

Tech News 2Night

Shilling pitches back at trolls.

MacBreak Weekly

Apple Watch leaks.

Tech News Today

Updates from Mobile World Congress Day 2.

Coding 101

We finish our Arduino clock.

Tech News 2Night

Google Wireless is coming.

Triangulation

Becky Worley is the tech contributor for ABC.

TWiT Live Specials

Samsung Galaxy S6 Edge, HTC One M9, Acer Liquid Jade Z, and more.

Know How... 82

RasPi Web Server and Panning Timelapse

February 27 2014

Cryptocurrencies wasted energy, a Raspberry Pi Web Server, and use an egg timer for time-lapsing.

Check out our transcripts.

Segment One

Raspberry Pi Webcam Server

What You'll need!

  1. Raspberry Pie
  2. SD card of 16GB or higher
  3. USB Keyboard
  4. USB Mouse
  5. HDMI Cable
  6. HDMI Monitor
  7. MicroUSB Power Adapter and Cable
  8. Ethernet cable and Internet connection

What you'll Do!

  1. Download all the files that you'll need for the project. (Formatting Tool & NOOBS) You'll find all files at the Raspberrypi.org Download Page
  2. Extract the files to your desktop
  3. Install the SDFormatter Software
  4. Format your SD card with the SDFormatter. Make sure to select the option to allow it to expand the volume.
  5. Copy ALL the contents of the extracted NOOBs folder onto the SD Card.
  6. Connect the Raspberry Pie - Plug the Mouse and Keyboard into the powered hub. Plug the Webcamera into and the bug into the two on-board USB ports. Connect the HDMI port to your monitor. Put the SD card into the card slot.
  7. Power! - Connect the power port of the RasPi to the powered hub.
  8. Install - You'll get a screen that lets you select which distro you want installed on your Pie. Select "Raspbian" and then click "install"
  9. Click "OK" and the RasPi will reboot into the configuration tool.
  10. Change your Password - Using the arrow keys, choose option #2 and change the default password. (Your username will be "pi" and your password will be whatever value you choose.)
  11. -
  12. Set Language and Time Zone - Scroll down to option #4 "Internationalisation Options" and set the Pi to your language and time zones.
  13. Select "Finish" then hit ENTER
  14. * You'll now see the Raspbian command prompt which should look like this: "pi@raspberrypi ~$_"

    You now need to update the list of available packages, install Apache, MySQL, PHP5, PEAR, and phpMyAdmin, then set the Apache Configuration.

    Update Packages
    sudo apt-get update

    Install Apache
    sudo apt-get install apache2

    Install MySQL
    sudo apt-get install mysql-server
    * In the middle of the installation, you'll be asked to change the root password for the MySQL database.

    Install PHP5 & PEAR
    sudo apt-get install php5 php-pear php5-mysql
    sudo service apache2 restart

    Install phpMyAdmin
    sudo apt-get install phpmyadmin
    * It will ask you, halfway through the installation, which web server you want to use. Select Apache and then select "OK"
    * It will also ask you to confirm that you want to use the MySQL database installation that you just completed. Give it the password that you selected and continue.
    * Lastly, it will ask you what password you want to use for the phpMyAdmin page.

    Set the Apache Configuration
    sudo nano /etc/apache2/apache2.conf

    Add the line:
    Include /etc/phpmyadmin/apache.conf

    Start the server
    sudo service apache2 restart

    Test It!
    Type: ifconfig and you'll get a status screen that includes the "eth0" IP address. Type that address into your browser and you should see the "It Works!" screen.

    If you append "/phpmyadmin/" to the IP address, you'll enter the phpMyAdmin page.

    Add an FTP Server!
    Take ownership of the web root by typing:
    sudo chown –R pi /var/www

    Install the vsftpd package by typing:
    sudo apt-get install vsftpd

    Edit the vsftpd configuration file by typing:
    sudo nano /etc/vsftpd.conf

    You need to make four changes to the configuration file:
    - First, change "anonymous_enable=YES" to "anonymous_enable=No"
    - Remove the comment, the pound sign, from "local_enable=YES" and "write_enable=YES"
    - Go to the bottom of the file and add the line: "force_dot_files=YES"
    Hit CTRL & X to save and exit.

    Now start the FTP server by typing :
    sudo service vsftpd restart

    Finally, we're going to create a FTP shortcut. Type:
    ln –s(space) /var/www/ (space) ~www

    Segment Two

    GoPro Egg Timer Timelapse

    Parts List

    - IKEA Ordning Kitchen Timer $12
    - GoPro
    - 1/4” to 3/8” Convert Screw Adapter

    We’re breaking things so you don’t have to!

    Step 1: Stick on the GoPro!

    - Apply GoPro sticky mount to the top of the timer
    - Be sure to have your Settings properly set up
    - Still picture mode, set for 2 second shots.
    - Twist the Timer!

    Step 2: Make the Timer Tri-Pod Mountable

    - Drill at 5/16 hole carefully
    - Insert the screw adapter
    - Be sure to not make the hole too big, so that you can't fit the screw adapter in the bottom case.
    - I used a hammer to make sure the screw adapter was flush

    Connect with us!
    Don't forget to check out our large library of projects on this site. If you want to search for a topic, try this custom search engine.
    - Google+ Community at gplus.to/twitkh
    - Tweet at us at @padresj and @Cranky_Hippo
    - Email us at knowhow@twit.tv