Stargate dialing simulator written in Python designed to run on Raspberry Pi.
-
sudo nano /etc/network/interfaces
-
Add the following:
auto wlan0 iface wlan0 inet dhcp wireless-essid myessid #router ssid wireless-mode managed wpa-ssid myessid #router ssid wpa-psk my-encryption-key #router password
-
For a static IP, change/add the following:
address 192.168.1.6 #desired IP address of Pi netmask 255.255.255.0 network 192.168.1.0 #low IP range of network broadcast 192.168.1.255 #high IP range of network gateway 192.168.1.1 #IP address of router
-
Edit the config file to control dongle power settings:
sudo nano /etc/modprobe.d/8192cu.conf
-
Add the following to disable power management:
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
-
Edit the crontab:
sudo crontab -e
-
Add the following to set the Pi to ping the router every 500ms:
*/1 * * * * ping -c 1 192.168.1.1 #replace IP address with that of your router
-
Connect to internet via wired network.
-
Run
sudo apt-get update
-
Run
sudo apt-get install wpasupplicant
-
Reboot the Pi