Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DEBIAN SQUEEZE 6.XX WPA_SUPPLICANT SET UP
- FORGET NETWORK MANAGER OR WICD.
- THIS TYPE OF SET UP IS HELPFUL WHEN USING VARIOUS WM's SUCH AS SCROTWM, DWM, AWESOME, etc
- # reference
- http://crunchbanglinux.org/forums/topic/16624/howto-connect-and-roam-wifi-networks-with-wpasupplicant/
- # will prove helpful with roaming
- sudo apt-get install wpagui
- # set wpa_supplicant to utilize roam file
- # in /etc/network/interfaces
- auto lo
- iface lo inet loopback
- auto eth0
- iface eth0 inet dhcp
- allow-hotplug wlan0
- iface wlan0 inet manual
- wpa-roam /etc/wpa_supplicant/wpa-roam.conf
- # create the /etc/wpa_supplicant/wpa-roam.conf file, and add some options and out networks:
- update_config=1
- ctrl_interface=DIR=/var/run/wpa_supplicant
- GROUP=netdev
- iface default inet dhcp
- iface work inet dhcp
- iface School inet dhcp
- #iface home inet dhcp
- #iface xyz inet dhcp
- # This one is for connecting to any unsecured network your machine comes into contect with, just comment out if you don't like this:
- network={
- key_mgmt=NONE
- }
- # The actual roaming settings go here:
- network={
- ssid="YOUR SSID AT HOME"
- psk="PASSWORD"
- id_str="home"
- }
- network={
- ssid="YOUR SSID AT WORK"
- psk="PASSOWRD"
- id_str="school"
- }
- # when confident everything is working as you want it
- sudo update-rc.d network-manager remove
- # not ready for that yet? other options
- sudo update-rc.d network-manager disable
- sudo update-rc.d network-manager defaults
- # Oh, one more thing to do? -> remove nm-applet from autostart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement