This is a very short guide on how to setup your WiFi connection using the /etc/network/interfaces file on Debian. This is a good trick as you'll have WiFi network access even before your graphical interface comes up! ;-)
I don't use any login managers nor network managers. This is enough for me. I hope it helps! :-)
Once you have wireless interface driver loaded and working, check what's your interface with the command "iwconfig".
# This is the wireless interface
auto wlan0
iface wlan0 inet dhcp
# This is your network SSID
wpa-ssid linksys
# This is your AP password
wpa-psk 12345678
Now all you have to do is protect that file as it has your network's secret key ;-)
chmod 0600 /etc/network/interfaces
ls /etc/network/interfaces
-rw------- 1 root root 324 Jul 15 19:14 /etc/network/interfaces
I told you it would be very short! Have fun! ;-)
No comments:
Post a Comment