Skip to content

Scripts

Sarrailh Rémi edited this page Dec 6, 2013 · 25 revisions
  • All files will be backup so feel free to play with the scripts
  • You have to restart la everytime you use a script (I didn't manage to handle returning to the menu safely)
  • As much as possible, instructions are given in script so try them
  • Nothing will be done without confirmation (even if it is REALLY annoying) or output.
  • You can go directly to a menu by typing la Audio for example (this is useful if you have to use multiples scripts in the same menu)

LAZASS MENU 1.7

[Audio] (https://github.com/maditnerd/lazass/wiki/scripts#-audio)

Development

Electronics

File_Sharing

Home_Automation

Main_Menu

Name

Remote_Power

Terminal

Web Server


Audio Audio

google/voicesynth

Script for using google voice synthesis

mic/check

Record Audio from first audio input and play it back

mix/alsamixer

Launch mixer

Development Development

Git/gitpusher

Want to add a new version of your software with git? just type gitpush in your git repo and it is done.

Git/gitsetup

If you don't setup your username and email in git, it will use the linux default one. So better set it up before pushing an update!

Electronics Electronics

I2C

i2c/install

Install i2c

i2c/scan

Scan i2c devices

IR IR

###IR/install Add Lirc support (featuring IR LED/Receiver wiring) ###IR/record Record Raw codes in /root/irtmp.conf ###IR/test_led Put IR Led On/Off ###IR/test_receive Show raw codes (mode2)

radio Radio

###Radio/rcc A script to compile a program with wiringPi and RCSwitch Type rcc nameofprogram ###Radio/rcswitch_receiver A script to test receiving radio commands from an arduino/radio remote (you'll need a radio receiver) ###Radio/rcswitch_sender A script to test sending radio commands (you'll need a radio transmitter)

serial Serial

Serial/install

Activate serial communication with RX/TX Gpio (a reboot will be required)

Serial/test

Test if you receive data from serial port (with minicom)

WiringPi

###wiringPi/wcc A script to compile a program with wiringPi type wcc nameofprogram ###wiringPi/wiringpi Install WiringPi (from repo)

Samba File_Sharing

###Samba/conf Manage your Samba configurations

  • insane.conf : Share everything
  • unsafe_dev.conf : Share /home/pi/code /var/www /home/pi/lazass
  • winbind.conf : Make your Pi visible to Windows Clients (so you can use his samba name for ping/ssh/web...)
  • backup : Backup your current configuration

###Samba/install Install Samba (you will be prompt to modify his configuration)

###Samba/uninstall

Home AutomationHome Automation

YANA is still in development (and in french) ##Yana/yana Install YANA ##Yana/yana_dev Install YANA fork ##Yana/yana_perm Change permissions of every files with CPP source to be executable by the web server ##Yana/yana_secure Erase install.php

Main MenuMain Menu

This is a good place to add your own scripts. ##raspi-config/raspi-config Raspberry Pi Official Configuration Utils ##Update Update Lazass

Name

Name your pi ##netbios-bonjour/setup Add netbios/bonjour support

Remote Power

##Install/install Install tools to do wake on lan and network shutdown (for windows client) ##Power/Shutdown Shutdown a windows client remotely (instructions are giving in the script) ##Power/wol Wake a Computer

Terminal Terminal

##Shell/rooton Activate Root Account / add a password to it and prompted to modify bashrc ##Shell/rootoff Disable Root Account ##Shell/showtty1 Display the last lines displayed on startup (as you would see on video output)

Lighttpd Web_Server

##Lighttpd/accesslog_off Disable access log ##Lighttpd/accesslog_on Enable access.log (in /var/log/lighttpd/access.log) ##Lighttpd/accesslog_tail Show live modification of access.log ##Lighttpd/displayerror Display PHP Error in Lighttpd ##Lighttpd/hideerror Hide PHP Error in Lighttpd ##Lighttpd/install Install Lighttpd Web Server / PHP and SQLite

Clone this wiki locally
You can’t perform that action at this time.