Created
February 12, 2014 19:22
-
-
Save fabiosoft/8962644 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installazione "Wicd" Network Manager per WiFi e Eth | |
# Start as Root or sudo. | |
# Solo root può eseguire lo script | |
if [[ $EUID -ne 0 ]]; then | |
echo "Avvia lo script come ROOT o SUDO" 1>&2 | |
exit 1 | |
fi | |
apt-get update | |
apt-get install wicd | |
cp /etc/network/interfaces /etc/network/interfaces.default | |
printf "auto lo | |
iface lo inet loopback | |
iface eth0 inet dhcp | |
allow-hotplug wlan0 | |
iface wlan0 inet manual | |
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf | |
iface default inet dhcp\n" > /etc/network/interfaces | |
read -p "Adesso mi riavvio, al boot configura Wicd da desktop (VNC) dal menu Start > Internet > Wicd Network Manager" | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment