LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Is it possible/needed to change the channel of wireless transmission? (https://www.linuxquestions.org/questions/linux-wireless-networking-41/is-it-possible-needed-to-change-the-channel-of-wireless-transmission-555254/)

pusrob 05-19-2007 06:31 PM

Is it possible/needed to change the channel of wireless transmission?
 
Hello.
My problem is, that I cannot connect to my router. I think the problem is, that I changed the transmission channel to 5 from the default 11. In Winbloze I can connect to the router, because there I can chenge the channel on my WLAN card too. With wpa_supplicant should I change the channel or it is not needed? If I need to change, how? Thanks.

Lenard 05-20-2007 12:23 PM

Yes one can change the channel used on the wireless device, from man; man iwconfig

Code:

      freq/channel
              Set  the  operating  frequency or channel in the device. A value
              below 1000 indicates a channel number, a value greater than 1000
              is a frequency in Hz. You may append the suffix k, M or G to the
              value (for example, "2.46G" for  2.46  GHz  frequency),  or  add
              enough '0'.
              Channels  are  usually  numbered  starting at 1, and you may use
              iwlist(8) to get the total number of channels, list  the  avail-
              able  frequencies,  and display the current frequency as a chan-
              nel. Depending on regulations, some frequencies/channels may not
              be available.
              When  using  Managed  mode, most often the Access Point dictates
              the channel and the driver may refuse the setting  of  the  fre-
              quency.  In  Ad-Hoc mode, the frequency setting may only be used
              at initial cell creation, and may be  ignored  when  joining  an
              existing cell.
              You  may  also  use off or auto to let the card pick up the best
              channel (when supported).
              Examples :
                  iwconfig eth0 freq 2422000000
                  iwconfig eth0 freq 2.422G
                  iwconfig eth0 channel 3

FYI: it is a good idea to establish a connection the first time without any encryption in use. One can add encryption / security later.


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