Em Friday 10 June 2011, David Narvaez escreveu: > On Thu, Jun 9, 2011 at 11:19 AM, Dan Williams <dcbw redhat com> wrote: > > On Thu, 2011-06-09 at 15:12 +0200, Jirka Klimes wrote: > >> On Thursday 09 of June 2011 14:00:29 David Narvaez wrote: > >> First, basically you don't need any client (KDE plasma or nm-applet or > >> gnome- shell applet or whatever) to run NetworkManager. You can edit > >> connection files and everything will work. > >> > >> To list available APs use: > >> nm-tool > >> or > >> nmcli dev wifi > >> > >> > nmcli nm shows Wifi and Wifi-Hardware are both enabled but I can't see > >> > a list of the networks. Any ideas from this point? > >> > >> There could be a problem with WiFi driver or wireless could be disabled > >> by rfkill switch (either hardware or software). Can you show the output > >> of 'nm- tool' and 'rfkill list' commands? Also attach /var/log/messages > >> or /var/log/daemon.log, or whatever file contains NetworkManager logs > >> in your distro. > > > > After that, try a manual wifi scan: > > > > iw dev wlan0 scan trigger > > > > or if your card is really old: > > > > iwlist wlan0 scan > > > > and see what happens. If that's working, the next thing we need to do > > is enable wpa_supplicant debugging to see why the scan requests are > > getting rejected by the driver. > > Thanks for the replies, > > I had an awfully busy night and didn't have much time to hack NM but > just wanted to give quick updates on the commands above: > > * nm-tool shows no wireless networks > * rfkill shows everything is unblocked > * I can scan wireless networks with iwlist > > * This is something relevant I found on messages: > > (wlan0): device state change: unavailable -> disconnected (reason > > 'supplicant-available') > > I am not able to copy the exact outputs right now (they are in the > laptop, without wireless), but that should give us a bit of an idea of > what the situation looks like. I searched around and found some > strikingly similar bugs in Fedora 15[0][1], which uses NM 0.9 so my > issue could be along those lines. I didn't have time to read through > all of them, but I'll try that tomorrow. If needed, I could still post > the output of the commands tomorrow to help debugging What wpa_supplicant and NetworkManager versions do you use? I use wpa_supplicant -0.7.3 and NetworkManager 0.8.9997. -- Lamarque V. Souza http://www.geographicguide.com/brazil.htm Linux User #57137 - http://counter.li.org/ http://planetkde.org/pt-br |