Skip to content

Instantly share code, notes, and snippets.

@WaterSibilantFalling
Created September 21, 2017 14:10
Show Gist options
  • Save WaterSibilantFalling/60d2b17d2c566fe2176eea836c830fa6 to your computer and use it in GitHub Desktop.
Save WaterSibilantFalling/60d2b17d2c566fe2176eea836c830fa6 to your computer and use it in GitHub Desktop.
my network/interfaces file
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# NOTE: there MUST be only ONE (1) gateway, even over wirless, dhcp, static...
# there is a workaround, assigning different gateways "metrics" (qv). dragons
#sdm# this is reccomended on https://wiki.debian.org/WiFi/HowToUse which is the
# least-resistance path to getting wifi going
# The loopback network interface
auto lo
iface lo inet loopback
# auto eth0
# iface eth0 inet dhcp
# auto eth0
# iface eth0 inet static
# address 192.168.1.66
# netmask 255.255.255.0
# network 192.168.1.0
# broadcast 192.168.1.255
# gateway 192.168.1.1
##If you want NetWorkManager to manage your wireless connection,
## then you need to clean up the /etc/network/interfaces so that the file
## only contains the following 2 lines:
##
## auto lo
## iface lo inet loopback
##
## If you add more configuration lines,
## then the NetworkManager icon will not work correctly anymore.
# # TTNet national wifi
# iface wlan0 inet dhcp
# wpa-ssid "TTNET WiFi"
# # via nihan's cellphone
# auto wlp3s3
# allow-hotplug wlp3s3
# iface wlp3s3 inet dhcp
# wpa-ssid "iPhone"
# #wpa-psk "15CatleyRoad"
# wpa-psk a91958e3285d535a0c81c26362f7687378f6c8e5f69e720bd22a856a6cae01bd
#
# putting the encoded wpa-psk key in SHOULD trigger wpa2 connection
# # Cağdaş sk TTNET router
# now 2017-06-25 dhcp is a DISASTER - destroys the routing table
# [ "$IFACE" != "wlan0" ] || exit 0
# iface wlp3s3 inet dhcp
# wpa-ssid "Te Horo Beach"
# wpa-psk "15CatleyRoad"
# --- router at ATA2
iface wlp3s3 inet static
pre-up modprobe ipw2200 led=1
# the same wpa_supplicant.conf for both ATA2 and Cagdas
pre-up killall wpa_supplicant
pre-up sleep 1
pre-up wpa_supplicant -B -iwlp3s3 -c/etc/wpa_supplicant.conf
# - ATA2
# wireless-essid "yunus"
# wpa-ssid "yunus"
# wpa-psk "nihan1972"
#
# - router from Cagdas sk
# wireless-essid "Te Horo Beach"
# wpa-ssid "Te Horo Beach"
# wpa-psk "15CatleyRoad"
# address 192.168.1.66
# netmask 255.255.255.0
# gateway 192.168.1.1
# network 192.168.1.0
# broadcast 192.168.1.255
# post-up ip route add default via 192.168.1.1
#
# - Kapanui St, Waikanae
wireless-ssid "Tech_D00197682.4G"
wpa-ssid "Tech_D00197682.4G"
wpa-psk 1ef5d124e1f139a94f6dd5dceea13c79dd237d8f5624211cd5049b495645f222
address 192.168.0.66
netmask 255.255.0.0
gateway 192.168.0.1
network 192.168.0.0
broadcast 192.168.0.255
post-up ip route add default via 192.168.0.1
#
post-down killall wpa_supplicant
# --- our TTNET router from Cagdas sk
# iface wlp3s3 inet static
# pre-up modprobe ipw2200 led=1
# pre-up wpa_supplicant -B -iwlp3s3 -c/etc/wpa_supplicant.conf
# address 192.168.1.66
# netmask 255.255.255.0
# gateway 192.168.1.1
# network 192.168.1.0
# broadcast 192.168.1.255
# post-up ip route add default via 192.168.1.1
# wireless-essid "Te Horo Beach"
# wpa-ssid "Te Horo Beach"
# wpa-psk "15CatleyRoad"
# post-down killall wpa_supplicant
# # ## via semra's cellphone
# iface wlan0 inet dhcp
# wpa-ssid "AndroidAP"
# wpa-psk "ncoh6126"
# #- reccomended on ""the internet""
# #auto wlan0
# iface wlan0 inet dhcp
# wpa-ssid twinkleberry
# wpa-psk m00nl1ght
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment