어쩌면 아래 이슈는 노트북의 USB 포트로 RPi 전원공급을 해서 발생한 문제일 수도 있겠다.
[ 2277.672282] Voltage normalised (0x00000000)
[ 2285.992401] Under-voltage detected! (0x00050005)
[ 2292.232369] Voltage normalised (0x00000000)
[ 2342.152389] Under-voltage detected! (0x00050005)
[ 2350.472387] Voltage normalised (0x00000000)
[16:50:27] root@openHABianPi:/sys/class/leds/led1#
문제는 RPi 에 인터넷 연결을 해주고 싶었다.
Notebook 의 WiFi 를 도서관 AP 에 연결해서 인터넷을 사용하는중에
LAN 포트를 RPi 와 연결해서 유선으로 RPi 에서 인터넷 서비스를 하고 싶었다 <--- 이게 원래 계획이었음.
아무리 노트북 설정을 수정해도 결국 성공하지 못해서 계획 변경 ㅠㅠ
RPi 에 Realtek WiFi Adapter(USB Dongle type) 을 연결해서 도서관 AP 에 직접 접속 시도.
아래의 상황처럼 아무리 접속을 시도해서 안됨.
[16:31:31] root@openHABianPi:/home/openhabian# iwconfig wlan0
wlan0 unassociated Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency=2.432 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[16:32:22] root@openHABianPi:/home/openhabian#
아래 부분을 수정해도 안됨.
This will work if you add these lines to the /etc/network/interfaces file:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
'NAS > openHAB' 카테고리의 다른 글
How to installl openHAB in RPi 2 (0) | 2019.02.01 |
---|