Created
October 3, 2019 01:15
-
-
Save olmosleo/5252dad7f123c15e9e94f7efbe8207bc to your computer and use it in GitHub Desktop.
Rasberry Pi iwconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo iwconfig wlan1 mode ad-hoc | |
sudo iwconfig wlan1 channel 6 | |
sudo iwconfig wlan1 essid "Rasputin" | |
sudo iwconfig wlan1 key '4566546' | |
auto lo | |
auto eth0 | |
iface lo inet loopback | |
#iface eth0 inet dhcp | |
# INTERFASE ADMINISTRACION | |
iface eth0 inet static | |
address 10.10.1.2 | |
netmask 255.255.0.0 | |
########################### | |
allow-hotplug wlan0 | |
auto wlan0 | |
######## Casa Wifi ################ | |
iface wlan0 inet dhcp | |
wpa-ssid "lacomarca" | |
wpa-psk "Martinezolmos" | |
#################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment