라즈베리파이 USB 무선랜 설정을 위한 유틸리티 설치

pi@raspbmc:~$ sudo apt-get install wireless-tools usbutils

pi@raspbmc:~$ sudo iwlist wlan0 scan | grep ESSID

 

$ 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.

 

vi /etc/network/interfaces

# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

auto lo

iface lo inet loopback
iface eth0 inet dhcp

# The wireless interface
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa.conf


vi /etc/wpa.conf

network={
ssid="NETWORK-SSID"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="YOUR-WLAN-PASSWORD"
}


sudo ifconfig wlan0 up; sudo iwlist wlan0 scan ;sudo ifconfig wlan0 down

Cell 03 – Address: 00:02:A8:9F:17:F1
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=70/70 Signal level=-29 dBm
Encryption key:on
ESSID:”myLGNet_ks”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000001a30cd72792
Extra: Last beacon: 490ms ago
IE: Unknown: 000A6D794C474E65745F6B73
IE: Unknown: 010882848B960C121824
IE: Unknown: 03010B
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
IE: Unknown: 07064B5220010D10

 

 

$ python
>>> import binascii
>>> binascii.hexlify(“yourpassphrase”)
‘hexkeyhere’
>>> quit()

'OldStory > Home Linux' 카테고리의 다른 글

Add Site Meter  (0) 2012.11.30
서버 하드 복구  (0) 2012.11.03
라즈베리파이 무선랜 설정  (0) 2012.10.05
XBMC 설치  (0) 2012.09.06
블러그 코리아 인증  (0) 2012.08.29
DynDNS Expired  (0) 2012.08.02
by Alnilam 2012.10.05 12:33
| 1 2 3 4 |

티스토리 툴바