LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to find the present channel of NIC adapter in linux? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-find-the-present-channel-of-nic-adapter-in-linux-947532/)

omega341991 05-30-2012 02:40 AM

how to find the present channel of NIC adapter in linux?
 
I have set my NIC adapter to channel 6 using the command

iwconfig wlan0 channel 6


Now i would like to confirm if the channel set is 6 itself
How do i do that?


please reply :)

evo2 05-30-2012 03:33 AM

Hi,

Quote:

Originally Posted by omega341991 (Post 4690976)
Now i would like to confirm if the channel set is 6 itself
How do i do that?

The command you're looking for is iwlist. Eg:
Code:

% iwlist wlan0 channel
wlan0    24 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 149 : 5.745 GHz
          Channel 153 : 5.765 GHz
          Channel 157 : 5.785 GHz
          Channel 161 : 5.805 GHz
          Channel 165 : 5.825 GHz
          Current Frequency:2.437 GHz (Channel 6)

Looks like I'm using channel 6 too.

Cheers,

Evo2.

omega341991 05-30-2012 04:02 AM

Thanks :)
It works now

NM04 05-30-2012 04:41 AM

i would like to know more(everything) about these channels. Default channel ? what exactly they do ?

nm


All times are GMT -5. The time now is 01:09 AM.