On Thu, Jul 16, 2009 at 10:46:59AM +0200, Johannes Berg wrote: > On Wed, 2009-07-15 at 20:14 -1000, Joel Roth wrote: > > > # iwlist wlan0 ap > > > > wlan0 Interface doesn't have a list of Peers/Access-Points > > # iwlist wlan0 scan > > should have worked, but I'm glad you're making good use of iw :) Hmm. It does work _now_, provided the interface is UP. That may be thanks to having a recent kernel with the latest compat-wireless drivers. I was also misled by assuming iwlist's 'ap' option would provide useful information. To summarize what I now know, the steps to follow for basic wireless connectivity to an unencrypted network would be: 1. kernel and driver setup - use compat-wireless 2. set wireless interface to UP ifconfig <interface> up 3. find available networks using iw dev <interface> scan or iwlist <interface> scan 4. connect to a network using iw dev <interface> connect <SSID> 5. acquire IP address, typically by dhclient <interface> Regards, Joel > johannes -- Joel Roth -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html