"Raspbian"의 두 판 사이의 차이
둘러보기로 가기
검색하러 가기
잔글 (→WiFi 설정) |
잔글 (→WiFi 설정) |
||
61번째 줄: | 61번째 줄: | ||
reboot | reboot | ||
− | wpa_cli reconfigure | + | wpa_cli -i wlan0 reconfigure |
ifdown wlan0 | ifdown wlan0 | ||
ifup wlan0 | ifup wlan0 | ||
== 참고 문헌 == | == 참고 문헌 == |
2018년 11월 6일 (화) 22:24 판
Raspbian을 정리 한다.
Raspbian 설치
기능 설정
RaspberryPi 설정 도구
raspi-config #--- "4 Localisation Options" 선택 #--- "1 Change Locale" : #--- en_GB.UTF-8, en_US.UTF-8, ko_KR.UTF8 (디폴트), ko_KR.ECU-KR 선택 #--- "2 Change Timezone" : Asia > Seoul #--- "3 Change Keyboard Layout" #--- Generic 105-key (Intl) PC > Other > Korean > Korean - Korean (101/104 key compatible) > The default for the keyboard layout > No compose key #--- "4 Change Wi-fi Country" : US Unite States (KR Korea (South) 사용 않음) #--- 업데이트 apt-get update apt-get upgrade reboot #--- 한글이 깨어지는 경우 apt-get install ibus apt-get install ibus-hangul apt-get install fonts-unfonts-core reboot
SSH 활성화
systemctl start ssh.service systemctl enable ssh.service
VNC 활성화
systemctl start vncserver-x11-serviced.service systemctl enable vncserver-x11-serviced.service
WiFi 설정
/usr/bin/wpa_passphrase myhome '비밀번호' vi /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=US network={ ssid="myhome" psk=암호화된_비밀번호 priority=1 scan_ssid=1 proto=RSN key_mgmt=WPA.PSK pairwise=CCMP group=CCMP auth_alg=OPEN }
iwconfig iwlist wlan0 scan #--- WiFi Country를 US로 설정할 것 reboot wpa_cli -i wlan0 reconfigure ifdown wlan0 ifup wlan0