kopia lustrzana https://github.com/cyoung/stratux
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.pull/550/head
rodzic
806473455a
commit
ed1b908188
|
@ -4,10 +4,6 @@ iface lo inet loopback
|
||||||
iface eth0 inet dhcp
|
iface eth0 inet dhcp
|
||||||
|
|
||||||
allow-hotplug wlan0
|
allow-hotplug wlan0
|
||||||
#iface wlan0 inet manual
|
|
||||||
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
|
|
||||||
#iface default inet dhcp
|
|
||||||
|
|
||||||
|
|
||||||
iface wlan0 inet static
|
iface wlan0 inet static
|
||||||
address 192.168.10.1
|
address 192.168.10.1
|
||||||
|
@ -16,21 +12,41 @@ iface wlan0 inet static
|
||||||
|
|
||||||
##
|
##
|
||||||
## Second Wifi Dongle for local work and internet access
|
## Second Wifi Dongle for local work and internet access
|
||||||
## wifi must be open for these settings to work
|
## This template is for adding a second wifi dongle to your PI for internet access while debugging
|
||||||
|
## Modify /etc/wpa_supplicant/wpa_supplicant.conf with your settings also( see below )
|
||||||
##
|
##
|
||||||
## uncomment the next two lines to activate the service as well as modify the settings and comments below
|
## Uncomment the following lines as needed.
|
||||||
#allow-hotplug wlan1
|
|
||||||
#iface wlan1 inet static
|
|
||||||
|
|
||||||
# The SSID you want to connect to
|
# allow-hotplug wlan1
|
||||||
# uncomment the next line and modify if necessary
|
# iface wlan1 inet manual
|
||||||
# wireless-essid 6719
|
# wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
|
||||||
# The address you want to use on your network
|
# iface name_of_WPA_Config inet dhcp
|
||||||
# uncomment the next line and modify if necessary
|
# iface name_of_other_WPA_Config inet dhcp
|
||||||
# address 192.168.1.50
|
|
||||||
# The address of your netmask
|
|
||||||
# uncomment the next line and modify if necessary
|
## End of interfaces
|
||||||
# netmask 255.255.255.0
|
|
||||||
# The gateway of your router that you are connecting to
|
|
||||||
# uncomment the next line and modify
|
#contents of wpa_supplicant.conf
|
||||||
# gateway 192.168.1.1
|
#############################################################
|
||||||
|
# ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
|
||||||
|
# update_config=1
|
||||||
|
|
||||||
|
# network={
|
||||||
|
# ssid="SSID_1"
|
||||||
|
# id_str="name_of_WPA_Config"
|
||||||
|
# scan_ssid=1
|
||||||
|
# key_mgmt=WPA-PSK
|
||||||
|
# psk="mypassword"
|
||||||
|
# priority=1
|
||||||
|
# }
|
||||||
|
|
||||||
|
# network={
|
||||||
|
# ssid="SSID_2"
|
||||||
|
# id_str="name_of_other_WPA_Config"
|
||||||
|
# scan_ssid=1
|
||||||
|
# key_mgmt=WPA-PSK
|
||||||
|
# psk="mypassword"
|
||||||
|
# priority=3
|
||||||
|
# }
|
||||||
|
#############################################################
|
||||||
|
|
Ładowanie…
Reference in New Issue