Code Monkey home page Code Monkey logo

pitor's Introduction

Install Opscode Chef-Solo and a TOR WiFi router with a Chef recipe on Raspberry Pi.

>>> This will only run if the Raspberry Pi ethernet port is connected to the Internet !


setup_pitor.tar.gz contains all the files in the directory setup_pitor

Read the more extensive documentation: PiTOR_info.pdf

Send setup_pitor.tar.gz from a windows workstation to a Raspberry Pi target:
- Start psftp (PuTTY FTP) on the mswindows workstation
- Open psftp connection:   open ip_nr
- Send file with psftp:	 put x:\dir\setup_pitor.tar.gz
 
Unzip the configuration file on the Pi:
- cd /home/pi/
- sudo tar xzvf setup_pitor.tar.gz

EDIT Chef Attributes Files:
- sudo nano /home/pi/setup_pitor/chef-repo/cookbooks/pitor/attributes/default.rb
- At least configure the Access point password
	
To run the installation file:
- cd /home/pi/setup_pitor/
- sudo ./_start_here_install_chef_wheezy_pitor.sh

Restart: sudo shutdown -r now


>>> Only plug-in a USB WiFi/WLAN adapter when the power is off.

Find networkaddress  ifconfig -a

__________________________________________________
Compatible USB WiFi sticks
This is tested with a TP-Link adapter with a Realtek Semiconductor Corp. RTL8188CUS chipset

__________________________________________________
TODO
Create a list of USB WiFi sticks that function and add the the installation of the needed software (drivers, hostapd, etc.) and the configuration to the chef recipe.
Please tell your results with USB sticks.

__________________________________________________
Help

If the Access Point does not show up in the WiFi list, than check the network setup of the Pi.

Check:  sudo ifconfig
Result: wlan0 must have an ip address, default is 192.168.42.1

To set the network address of wlan0 on the Raspberry Pi commandline:
sudo ifconfig wlan0 192.168.42.1

pitor's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.