Re: [dwm] OT: Wireless in dwm

From: Jeremy Jay <dinkumator_AT_gmail.com>
Date: Mon, 20 Apr 2009 14:28:50 -0400

The wpa_supplicant.conf that comes with the package is really
descriptive. I just edited it to suit and added the wpa_supplicant init
script provided with my distro to the default runlevel.

Here's my my wpa_supplicant.conf:
-----------
# this lets me run wpa_cli
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel

# scan for networks (my wifi doesnt scan
# well itself, this forces wpa_supp to do it)
ap_scan=1

# networks

# wpa connection
network={
        ssid="snickers"
        key_mgmt=WPA-PSK
        psk="mypassphrase"
}

# my school's wireless
# (unencrypted, ssid not broadcasted)
network={
        ssid="nomad"
        scan_ssid=1
        key_mgmt=NONE
        priority=1
}

# default linksys
network={
        ssid="linksys"
        key_mgmt=NONE
        priority=10
}

# straight from the example file...
# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
network={
        key_mgmt=NONE
        priority=-9999999
}
---------------

Jeremy

On Mon 20 Apr 2009 - 02:04PM, Lee Azzarello wrote:
> On Mon, Apr 20, 2009 at 10:05 AM, Jeremy Jay <dinkumator_AT_gmail.com> wrote:
> > I used to use stalonetray to be able to access nm-applet for wireless.
> >
> > But I've recently gotten a pretty good config going for wpa_supplicant
> > that auto-connects to my secure wireless, but also uses any unsecured
> > networks automatically when I'm on the road. It's pretty straightforward
> > to setup, and it connects faster than network manager in most cases.
>
> Could you point to a decent tutorial for configuring wpa_supplicant?
> The man page is like reading an architectural spec for a nuclear power
> plant when all you wanted to do was find a light switch.
>
> -lee
>
Received on Mon Apr 20 2009 - 18:28:50 UTC

This archive was generated by hypermail 2.2.0 : Mon Apr 20 2009 - 18:36:06 UTC