Linux2015. 3. 3. 20:00

도움말은 다음과 같고

$ iwconfig --help

Usage: iwconfig [interface]

                interface essid {NNN|any|on|off}

                interface mode {managed|ad-hoc|master|...}

                interface freq N.NNN[k|M|G]

                interface channel N

                interface bit {N[k|M|G]|auto|fixed}

                interface rate {N[k|M|G]|auto|fixed}

                interface enc {NNNN-NNNN|off}

                interface key {NNNN-NNNN|off}

                interface power {period N|timeout N|saving N|off}

                interface nickname NNN

                interface nwid {NN|on|off}

                interface ap {N|off|auto}

                interface txpower {NmW|NdBm|off|auto}

                interface sens N

                interface retry {limit N|lifetime N}

                interface rts {N|auto|fixed|off}

                interface frag {N|auto|fixed|off}

                interface modulation {11g|11a|CCK|OFDMg|...}

                interface commit

       Check man pages for more details.


$ iwlist
Usage: iwlist [interface] scanning [essid NNN] [last]
              [interface] frequency
              [interface] channel
              [interface] bitrate
              [interface] rate
              [interface] encryption
              [interface] keys
              [interface] power
              [interface] txpower
              [interface] retry
              [interface] ap
              [interface] accesspoints
              [interface] peers
              [interface] event
              [interface] auth
              [interface] wpakeys
              [interface] genie
              [interface] modulation


일단 따라해보기

$ iwconfig

wlan0     IEEE 802.11bgn  ESSID:off/any

          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm

          Retry short limit:7   RTS thr:off   Fragment thr:off

          Power Management:off


lo        no wireless extensions.


eth0      no wireless extensions.


$ sudo iwconfig wlan0 essid "U+Net2FC7"

$ iwconfig
wlan0     IEEE 802.11bgn  ESSID:"U+Net2FC7"
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

lo        no wireless extensions.

eth0      no wireless extensions. 


아이피는 어떻게 얻어오지 -ㅁ-?
(일단은 라즈베리 파이임)

[링크 : http://webterror.net/linux-콘솔상에서-wireless-사용하는-방법/]

[링크 : http://linux.die.net/man/8/iwlist]

[링크 : http://linux.die.net/man/8/iwconfig]

'Linux' 카테고리의 다른 글

쓰레드 / 프로세스  (0) 2015.04.27
리눅스 1분만에 커널 빌드하기  (0) 2015.04.06
리눅스 디스크 복구 / 파티션 복구  (0) 2015.02.12
LD_SHOW_AUXV  (0) 2015.02.10
cpu 활성화 기능 확인하기  (0) 2015.02.06
Posted by 구차니