gedit /etc/network/interfaces
I edit the file like this:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
# auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
# auto wlan0
iface wlan0 inet dhcp
wpa-ssid MyFavouriteSSID
wpa-key-mgmt WPA-PSK
wpa-group TKIP CCMP
wpa-psk MyFavouritePassword
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
# auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
# auto wlan0
iface wlan0 inet dhcp
wpa-ssid MyFavouriteSSID
wpa-key-mgmt WPA-PSK
wpa-group TKIP CCMP
wpa-psk MyFavouritePassword
According to the manual, "allow-hotplug
That means that I plug the cable into the computer and use the Internet when the system is still powered up.
This is the second working example. I had another example here.
No comments:
Post a Comment