Giter VIP home page Giter VIP logo

raspbian-recipes's Introduction

Raspbian Recipes

This repo contains various scripts to configure for Raspberry Pi. They can also be used with other Linux distributions by making slight changes.

If you want to make your raspberry pi a router or something than you won't have to spent days to make it work. You just have to grab right recipe and put it in correct place and install few basic packages.

How to use them

First of all, make sure you have install dnsmasq because it the backbone of most of the recipes.

sudo apt-get update && sudo apt-get install dnsmasq

List of all recipes with decriptions

Download anyone one of it on to Raspberry. Place it at /home/pi/.

Open up /home/pi/.config/lxsession/LXDE-pi/autostart file

nano /home/pi/.config/lxsession/LXDE-pi/autostart

Add the last line :

@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@point-rpi
sudo bash /home/pi/wifi-to-eth-route.sh

Make sure you give full path to the file. And you're done. Now reboot to see the changes

sudo reboot

There are few things which can't be automated and has to be done manually. Below are some tutorials to help you get things done

Tips

Enable SSH

When you have written the Image file on to the SD Card. Mount the boot partition and create a file named ssh. Eject the card. Start the Raspberry Pi. You will be able to have SSH connection to it. After boot the /boot/ssh file gets deleted automatically. So, type this to start ssh service on every boot.

sudo systemctl enable ssh

WiFi Connection

Connect to RPi through SSH by providing it Ethernet. If you don't any Lan cable lying around than plug the SD card into PC. Mount the second partition of the SD Card.

WiFi connections are stored at /etc/wpa_supplicant/wpa_supplicant.conf. Edit this file with root priviliege

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

It should look like this after filling network details

country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
    ssid="Home WiFi"
    psk="password_goes_here"
}

Configuration for eap should look like this

network={
        ssid="SSID_NAME"
        key_mgmt=WPA-EAP 
        password="PASSWORD" 
        eap=PEAP
        identity="USERNAME" 
}

Any Suggestions and PRs are welcomed to make these recepies more useful.

raspbian-recipes's People

Contributors

arpitjindal97 avatar

Watchers

 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.