Skip to contentSkip to conversation

iw dev wlan0 link - "Not connected"

DISCUSSION Zhongliang Zhao 2 participants 4 messages Jul 26, 2010 – Jul 28, 2010

lore
Share & tools
lore
#0 lore raw

Dear all,

When I use "iw dev wlan0 link" to get information on wlan0 (basically to check the channel used on wlan0), it says: " Not connected "

Can someone tell me how to fix this?

Many thanks.

Zhongliang Zhao

#1 lore raw
Quoted 7 lines · Zhongliang Zhao

Dear all,

When I use "iw dev wlan0 link" to get information on wlan0 (basically to check the channel used on wlan0),
it says: " Not connected "

Can someone tell me how to fix this?

Refer to:

http://wireless.kernel.org/en/users/Documentation/iw#Getting_link_status

And then:

http://wireless.kernel.org/en/users/Documentation/iw#Establishing_a_basic_connection

What you really want to use is:

http://wireless.kernel.org/en/users/Documentation/wpa_supplicant

Luis

#2 lore raw
Quoted 16 lines · Luis R. Rodriguez
Quoted 8 lines · Zhongliang Zhao

Dear all,

When I use "iw dev wlan0 link" to get information on wlan0 (basically to check the channel used on wlan0),
it says: " Not connected "

Can someone tell me how to fix this?

Refer to:

http://wireless.kernel.org/en/users/Documentation/iw#Getting_link_status

And then:

Quoted 8 lines

http://wireless.kernel.org/en/users/Documentation/iw#Establishing_a_basic_connection

What you really want to use is:

http://wireless.kernel.org/en/users/Documentation/wpa_supplicant

Luis

Luis, thanks for the reply. But actually we're working on mesh nodes with the iw-tool installed, so maybe we should use the "mesh" interface mode. In this case, how to solve the problem?

Thanks, zhongliang

#3 lore raw
Quoted 28 lines · Zhongliang Zhao
Quoted 27 lines · Luis R. Rodriguez
Quoted 9 lines · Zhongliang Zhao

Dear all,

When I use "iw dev wlan0 link" to get information on wlan0 (basically to check the channel used on wlan0),
it says: " Not connected "

Can someone tell me how to fix this?

Refer to:

http://wireless.kernel.org/en/users/Documentation/iw#Getting_link_status

And then:

http://wireless.kernel.org/en/users/Documentation/iw#Establishing_a_basic_connection

What you really want to use is:

http://wireless.kernel.org/en/users/Documentation/wpa_supplicant

Quoted 7 lines
Quoted 2 lines

  Luis

Luis, thanks for the reply. But actually we're working on mesh nodes with the iw-tool installed, so maybe we should use the "mesh" interface mode. In this case, how to solve the problem?

http://wireless.kernel.org/en/users/Documentation/iw#Creating_and_inspecting_Mesh_Point_interfaces_with_iw

Note for ath9k you currently have to issue a scan to kick the card to beacon, its a bug, not dealt with yet.

Luis