clear
# check welke driver loaded
#lspci -k

# list wireless interfaces
#ip link

#echo "beschikbare draadloze netwerken:...."
#iw dev wlp16s0 scan |grep SSID | more

echo "interface up ip verkrijgen, en connecten..."
sudo ip link set wlp16s0 up
sudo wpa_supplicant -B -i wlp16s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
sudo dhcpcd wlp16s0


# inhoud van bestand: /etc/wpa_supplicant/wpa_supplicant.conf
#
#ctrl_interface=/run/wpa_supplicant
#update_config=1
#network={
#	ssid="ZyXEL81C450"
#	key_mgmt=WPA-PSK
#        psk="onlinenie"
#}
#sh ./scripts/tmuxke.sh
