Wykres commitów

208 Commity (ahrs_dev)

Autor SHA1 Wiadomość Data
Eric Westphal 9b675a3f28 Merge remote-tracking branch 'cyoung/master' into ahrs_dev 2018-01-14 20:05:32 -05:00
Christopher Young bd10be4f63 Add logrotate conf. Keep two days of logs. Run logrotate on boot. 2017-11-17 11:12:20 -05:00
Christopher Young a3fda2aa3c Turn off wireless power management, from D. DeMartini. 2017-11-10 09:57:29 -05:00
cyoung 7f6f1394e0 Activate config change block for $OPT_P (-p option).
Ref #667.
2017-09-22 10:55:54 -04:00
Eric Westphal e5631bd38f A few more changes from @peepsnet. 2017-07-21 17:03:16 -04:00
Eric Westphal 7e74615ce6 Remove hostapd_manager_quiet.sh per @peepsnet. 2017-07-21 16:00:37 -04:00
Eric Westphal ef3c8d526a Whitespace fixes 2017-07-20 17:35:55 -04:00
Eric Westphal 57a1bd9c7c Merge remote-tracking branch 'cyoung/master' into peeps 2017-07-20 17:30:09 -04:00
peepsnet 10475445fd added allow-hotplug eth0
Seems this is useful now that we have the static IP option in developers
2017-07-11 21:07:40 -04:00
peepsnet d47bea63c9 added hostpad_manager_quiet.sh 2017-07-08 18:55:07 -04:00
peepsnet c8c43e6638 A quiet hostpad_manager script for app calls
# This script is almost identical to hostapd_manager.sh except all the
# screen outputs are supplressed except for error messages. 
#
# Usage:
# hostapd_manager_quiet.sh -s Stratux-N12345 -p SquawkDirty! -c 5
# Command above sets the SSID to "Stratux-N12345, secures the network with the passphrase "SquawkDirty!, and changes the network channel to "5"
#
# hostapd_manager_quiet.sh -o
# Command above opens the network(removes any passphrase)
#
# hostapd_manager_quiet.sh -e
# Command above secures the WiFi network using the default passphrase "SquawkDirtyToMe!"

# Options:
# -s	--Sets the SSID to ${BOLD}ssid${NORM}. -s stratux
# -c	--Sets the channel to chan. -c 1
# -o	--Turns off encryption and sets network to open. Cannot be used with -e or -p.
# -e	--Turns on encryption with passphrase SquawkDirtyToMe!. Cannot be used with -o or -p
# -p	--Turns on encryption with your chosen passphrase pass. 8-63 Printable Characters(ascii 32-126). Cannot be used with -o or -e. -p password!
#
# Important:
# After each call of this script the wifi network will disconnect and restart all associated services to apply the changes
2017-07-08 18:49:23 -04:00
peepsnet da8c3a74fd Restart Stratux on exit
The script will now restart your stratux service if you exit the script before completing.

And some aesthetics things
2017-06-03 11:27:50 -04:00
peepsnet 94d8f8813e Update hostapd_manager.sh 2017-06-01 15:20:01 -04:00
peepsnet 321273f8d4 added an easy alias for securing/opening WiFI
Added "open" and "secure" as aliases to easily open or secure your WiFi

It simply calls the hostapd_manager.sh script with either -o or -e
2017-06-01 10:49:55 -04:00
peepsnet a72219bae5 Added encryption back to script
Help documentation for hostapd_manager.sh.

Basic usage: hostapd_manager.sh -s ssid -c chan -p pass

The following command line switches are recognized.
-s  --Sets the SSID to ssid. "-s stratux"
-c  --Sets the channel to chan. "-c 1"
-o  --Turns off encryption and sets network to open. Cannot be used with -e or -p.
-e  --Turns on encryption with passphrase SquawkDirtyToMe!. Cannot be used with -o or -p
-p  --Turns on encryption with your chosen passphrase pass. 8-63 Printable Characters(ascii 32-126). Cannot be used with -o or -e. "-p password!"
-q  --Run silently. Still a work in progress, but quieter.
-h  --Displays this help message. No further functions are performed.

Example: hostapd_manager.sh -s Stratux-N3558D -c 5 -p SquawkDirty!
2017-06-01 10:28:22 -04:00
peepsnet 95d0b97564 updating to add encryption back.
It seems to work in my testing!!

#### Stratux HOSTAPD Settings ####


Help documentation for hostapd_manager.sh.

Basic usage: hostapd_manager.sh -s ssid -c chan -p pass

The following command line switches are recognized.
-s  --Sets the SSID to ssid. "-s stratux"
-c  --Sets the channel to chan. "-c 1"
-o  --Turns off encryption and sets network to open. Cannot be used with -e or -p.
-e  --Turns on encryption with passphrase SquawkDirtyToMe!{NORM}. Cannot be used with -o or -p
-p  --Turns on encryption with your chosen passphrase pass. 8-63 Printable Characters(ascii 32-126). Cannot be used with -o or -e. "-p password!"
-q  --Run silently. Still a work in progress, but quieter.
-h  --Displays this help message. No further functions are performed.

Example: hostapd_manager.sh -s Stratux-N3558D -c 5 -p SquawkDirtyToMe!
2017-06-01 10:15:23 -04:00
Christopher Young 0264383389 Add new fancontrol install to .sh update packager and image maker script.
#593.
2017-05-13 10:24:12 -04:00
Luke Palmer 01cc01f8fa Rework fan PWM control 2017-05-11 00:32:45 -04:00
kjablonski 64dca38480 Merge pull request #1 from cyoung/master
Merge Cyoung
2017-04-03 14:17:27 -05:00
kjablonski b8dd5d7b2c Update stxAliases.txt
Typo fixes
2017-04-03 14:12:18 -05:00
Christopher Young bcd62e7c00 ssd1306 python driver - version change. 2017-03-28 17:18:53 -04:00
Christopher Young 7e0205be17 Limit main CPU to 900 MHz and set "sdram_freq" / "core_freq" as in pre-Jessie.
Issue #573.
2017-03-20 15:27:26 -04:00
Christopher Young 4b63351c9c Disable hciuart. 2017-02-15 02:37:59 -05:00
Christopher Young 6b10432240 dhcpcd disable. 2017-02-02 10:44:59 -05:00
peepsnet 069db15e1e Update stratux-wifi.sh 2016-12-21 23:22:46 -05:00
peepsnet e5c694ac88 moved to function based
I moved all the code to functions and commented to reflect the file format
2016-12-21 22:46:55 -05:00
peepsnet 575d51c172 Removed encryption options
Since I am unable to get the encryption to work with the edimax I commented all the code out for now in hostapd_manager.sh
2016-12-21 22:45:23 -05:00
peepsnet 1b73935838 Added the hostpad.user creation code here 2016-12-21 12:17:21 -05:00
Helno d4ed2d1b0c Update fancontrol.py
Update note on line 6 to reflect the currently used pin.
2016-12-20 11:58:59 -05:00
peepsnet ac3a36251a Update interfaces 2016-12-18 11:53:27 -05:00
peepsnet ed1b908188 Cleaned up the comments
I cleaned up these comments and added the code that worked for me to get his running. I can now connect to my home wifi and cell phone hotspot with these settings.
2016-12-18 11:51:30 -05:00
peepsnet 806473455a simplify creating the tmp file 2016-12-18 11:12:19 -05:00
peepsnet eec6e2c7db nope 2016-12-18 09:53:55 -05:00
peepsnet 3b56dc7c3b added notes 2016-12-17 17:28:12 -05:00
peepsnet 6c927417c3 path typo
path typo for edimax driver
2016-12-17 15:40:43 -05:00
cyoung de93c79a07 Merge pull request #529 from peepsnet/master
Move user configurable options out of hostapd.conf and hostapd-edimax.conf to hostapd.user and build temp hoatapd.conf on the fly with stratux-wifi.sh
2016-12-12 14:39:33 -05:00
Christopher Young 720a7aad72 Clean up libimu ref. 2016-12-12 12:41:21 -05:00
peepsnet ed0cc5bd74 set a default passphrase if not choosen
Fixed the script to use a default passphrase("Squawk1200") if option -e used but no passphrase entered.
2016-11-24 12:00:24 -05:00
peepsnet a951410f3f Restart WiFi in script
This change now restarts the WiFI services in the script and no longer needs a restart!!
2016-11-24 11:48:14 -05:00
peepsnet 469a413bb3 Change is logic placement
I removes all my code from this file and moved to stratux-pre-start.sh. This seems like a logical place to monkey around with stuff that must be ready for the start of stratux.
2016-11-24 10:41:50 -05:00
peepsnet 737df68e46 clean up 2016-11-24 00:00:52 -05:00
peepsnet 2ef42ea8d0 add sleep
add sleep to make sure the file write has time to finish before checking for the file
2016-11-23 23:51:18 -05:00
peepsnet 6c5352e3a1 clean up code 2016-11-23 23:35:14 -05:00
peepsnet 18b0bf53ef clean up 2016-11-23 23:31:03 -05:00
peepsnet 27db95f749 hopefully better speed 2016-11-23 22:09:35 -05:00
peepsnet e3e7fd7aab logic reorder 2016-11-23 21:20:42 -05:00
peepsnet 7b104be3dc formatting 2016-11-23 20:37:19 -05:00
peepsnet 94da60ed06 formatting 2016-11-23 19:35:36 -05:00
peepsnet 226b8442f7 Check for and handle hostapd.user
This script now not only starts hostapd using the proper driver(standard/edimax). 

It now checks for the existance of the hostapd.user file and if found uses it. if not found creates it with the values from the existing hostapd.conf

I choose to only carry over the values from the hostaod.conf and not the edimax because they should be the same. 

If there is no user configurable values in hostapd.conf and no hostapd.user file then a default hostapd.user file is created.
2016-11-23 19:22:18 -05:00
peepsnet 454da41fd2 Update stratux-wifi.sh 2016-11-23 17:25:21 -05:00