dotfiles/Utils/unige.sh

20 lines
406 B
Bash
Raw Normal View History

2013-09-26 21:46:43 +00:00
#!/bin/bash
2013-10-01 11:59:54 +00:00
while (! sudo netctl start wlan0-eduroam); do true; done
2013-09-26 21:46:43 +00:00
2013-10-01 11:59:54 +00:00
sudo killall dhcpcd
while (! sudo dhcpcd wlan0); do true; done
#sudo killall wpa_supplicant
#sudo wpa_supplicant -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf &
2013-09-26 21:46:43 +00:00
#sleep 10
#Ugly
#sudo ifconfig wlan0 10.9.3.208 netmask 255.255.252.0
#sudo ip route add 10.9.0.0/22 dev wlan0
#sudo ip route add default via 10.9.0.1 dev wlan0