-
Notifications
You must be signed in to change notification settings - Fork 365
Change SSID, Channel, or Encryption
As of Stratux version 1.5b2 the SSID, Channel and encryption are configurable via the settings tab on the web interface (192.168.10.1). If you enable encryption be sure to make the password memorable as there is no easy way to retrieve it!
This script will allow you to change the SSID of your Stratux, Change the WiFi channel, and enable or disable WiFi security.
Secure your Stratux
- SSH into your Stratux
- type
sudo su -
- type
secure
- READ THE SCREEN
- DON'T COMPLAIN IF YOU DON'T KNOW THE PASSWORD! YOU SHOULD HAVE READ THE SCREEN!
Open your Stratux
- SSH into your Stratux
- type
sudo su -
- type
open
- READ THE SCREEN
Typing hostapd_manager.sh
will run the script and display the help file but not make any changes to your Stratux.
Help documentation for hostapd_manager.sh.
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!
Examples:
hostapd_manager.sh -s stratux-N3558D
-This will set the SSID(WiFi name) of your Stratux to "stratux-N3558D"
hostapd_manager.sh -c 6
-This will set the wireless channel to 6. Channels must be from 1 to 13
hostapd_manager.sh -e
-This will turn on WiFi Security and set the password to "SquawkDirtyToMe!". Passwords must be from 8 to 63 characters
hostapd_manager.sh -p SquawkDirty!
-This will turn on WiFi Security and set the password to "SquawkDirty!". Passwords must be from 8 to 63 characters
hostapd_manager.sh -o
-This will remove the WiFi security.
You can also combine options like this:
hostapd_manager.sh -s stratux-N3558D -e -c 6
-SSID, Security, and Channel will all be changed.
hostapd_manager.sh -s stratux -o
- This will set the SSID to stratux and remove Security
If you are connected to your Stratux via SSH through 192.168.10.1 then you will be disconnected, as the wifi needs to be restarted.
Here is a link to a Reddit post which might help answer a few questions if you're stuck.Trying to create the SSID, channel change sctipt
Info on WiFi Channels: