Skip to content
Snippets Groups Projects
Commit 91479e30 authored by Phuc Tran Truong's avatar Phuc Tran Truong
Browse files

Add script that resets the wifi card

parent e11d99c1
Branches
No related merge requests found
# Switch from AdHoc Network to eduroam
IFACE="wlan0"
# Reset wifi card
sudo ifconfig IFACE down
sudo iw IFACE set type managed
sudo ifconfig IFACE up
sleep 0.5
# Connect to wifi and obtain IP address
sudo wpa_cli
sudo dhclient -r
sudo dhclient
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment