티스토리

거북이의 티스토리
검색하기

블로그 홈

거북이의 티스토리

12340zszs.tistory.com/m

다양하고 실용적인 정보 모음집들

구독자
3
방명록 방문하기
공지 라즈베리서버 운용 테스트 중 모두보기

주요 글 목록

  • [라즈베리파이] apt-get update 에러 해결방법 라즈베리파이에서 패키지 오류로 인한 update에러 발생 시Get:1 https://download.docker.com/linux/raspbian stretch InRelease [31.1 kB]Get:2 http://archive.raspberrypi.org/debian stretch InRelease [41.9 kB]Ign:3 http://raspbian.raspberrypi.org/raspbian stretch InReleaseErr:4 http://raspbian.raspberrypi.org/raspbian stretch Release 404 Not Found [IP: 93.93.128.193 80]Get:5 http://archive.raspberrypi.org/debian stretch/m.. 공감수 1 댓글수 0 2025. 3. 10.
  • [라즈베리파이] RTL8192EU 무선랜 드라이버 설치 최고의 방법은 라즈베리파이에서 바로 인식되는 무선랜 카드를 사는 것이 가장 좋다. 위와 같은 사진이면 usb 인식은 되는 상황이니 아래를 참조해서 드라이버만 설치해주면 된다. 자세한 설정들은 아래 깃 주소에 README.md 읽으면 됨 이슈주의) Makefile은 nano가 아닌 vi로 수정할 것. 1. 1번 참조사이트 참고해서 make 빌드 시 raspberrypi-kernel-headers 경로를 못 찾는 경우 발생 => 경로를 임의로 지정해서 빌드했지만 너무 많이 나오는 설정값들.... 설정하는 것들을 default 값으로 넣었지만 에러 발생 2번 참조사이트로 해결함 2. kernel headers 문제 발생 => apt-get install 할때 raspberrypi-kernel-headers 로.. 공감수 2 댓글수 0 2023. 8. 11.
  • [Python] 라즈베리파이에서 파이썬 사용 오류 (정리 중) 라즈베리파이에 기본 설치되는 tkinter 모듈이 없을 때 ImportError: No module named tkinter Python2.7 import Tkinter as tk #대문자 T로 바꿔줘야함 Python3 import tkinter as tk Python2.7 사용 시 SyntaxError: Non-ASCII character '\xea' in file main_tk.py on line 44, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details 상단에 주석 작성 # -*- coding: utf-8 -*- 공감수 1 댓글수 0 2023. 1. 27.
  • [Raspberry Pi] 라즈베리파이에서 파이썬 삭제하기 리눅스에서 파이썬 삭제하기 [주의 ] 기존 라즈베리파이 쓰고 있는 3.7버전 삭제 할 경우 python-samba 등 일부 패키지 작동하지 않음으로 특정 버전만 지울것 sudo apt autoremove python3 sudo apt autoremove python 즉 python3으로 지우지말고 버전을 입력해서 지울것 pi@raspberry:~ $ python -V Python 3.8.1 pi@raspberry:~ $ python3 -V -bash: python3: command not found pi@raspberry:~ $ sudo apt autoremove python Reading package lists... Done Building dependency tree Reading state inf.. 공감수 0 댓글수 1 2022. 7. 26.
  • (실행에러) Permission denied: '/dev/ttyAMA0' 에러 라즈베리파이에서 시리얼 통신 테스트 시 [Errno 13] Permission denied: '/dev/ttyAMA0' stty -F /dev/ttyAMA0 시 stty : /dev/ttyAMA0: Permission denied 권한 에러가 나오는 상황이다 라즈베리파이 시리얼 설정을 바꿔줘야한다. 아래 구문을 입력하면 다음 아래와 같은 사진이 나온다. $ sudo raspi-config 위를 끝마치면 재부팅하고 다시 시도해보자. 공감수 1 댓글수 0 2022. 1. 19.
  • (주의) apt-update 시 N: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable' 해결방법 라즈베리파이 업데이트 시 주의 경고문이 발생했다. pi@raspberrypi:~ $ sudo apt-get update Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB] Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB] Get:5 http://raspbian... 공감수 0 댓글수 0 2021. 11. 3.
  • (실행 에러) end kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block(179,2) ] 에러문 end kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block(179,2) 오랜만에 킨 라즈베리파이 펌웨어 꼬임.. 그냥 초기화 후 실행 조치방법 URL https://raspberrypi.stackexchange.com/questions/40854/kernel-panic-not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block179-6 Kernel panic-not syncing: VFS: unable to mount root fs on unknown- block(179,6) running Raspbian on top of NOOBS When booting, the sequen.. 공감수 0 댓글수 0 2021. 7. 30.
  • files list file for package 'raspberrypi-kernel' is missing final newline 에러 발생 시 apt-get upgrade error 에러files list file for package 'raspberrypi-kernel' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2) dpkg: unrecoverable fatal error, aborting: files list file for package 'raspberrypi-kernel' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2) 해결방법sudo rm /var/lib/dpkg/info/raspberrypi-kernel* sudo rm /var/lib/dpk.. 공감수 0 댓글수 0 2020. 12. 24.
  • WebIOPi not working index.html && WebIOPi 설치 방법 WebIOPi not working index.htmlyou should first patch file install done and install setup.sh file 패치파일을 실행 안시키고 설치 시 기본 index.html이 적용되지 않음 실패 시 화면 WebIOPi 설치 방법 1. WebIOPi 설치http://goo.gl/kV4pFy 클릭 후 WebIOPi-0.7.1.tar.gz 다운로드 합니다.그 후 압축을 풀어줍니다. 2. Patch File 설치sudo wget https://raw.githubusercontent.com/doublebind/raspi/master/webiopi-pi2bplus.patch 3. Patch File 적용WebIOPi 압축 푼 폴더에 Patch File을 넣.. 공감수 0 댓글수 0 2020. 9. 9.
  • Samba FTP 설치 sudo apt-get install samba samba-common-bin pi@(hostname): ~ $ sudo smbpasswd -a piNew SMB password: (원하는 패스워드 입력)Retype new SMB password: (원하는 패스워드 입력)Added user pi. [pi]comment = raspberry pipath = /home/pivalid user = piwritable = yesbrowseable = yes sudo nano /etc/samba/smb.confsudo service smbd restart 공감수 0 댓글수 0 2020. 4. 10.
  • 라즈베리파이 telegram-cli 설치 sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make git clone --recursive https://github.com/vysheng/tg.git && cd tg ./configure ./configure --disable-json 256) { if (g_a) 2848 _bn_cnp (p, g_a) B) { - 64) { TGLC_bn •dif - 0; TGLC_bn_sub (dif. p, g_a); if (dif) < 2048 - 64) { (dif); return —I; (dif); return e; static unsigned long long BN2uII (TGLC.. 공감수 0 댓글수 0 2020. 2. 25.
  • (주의상황) 라즈베이파이 비밀번호 분실했을 때 찾는법 위와같은 상황이 발생하는 경우 1. 패스워드 모르거나 잊어버림 (기본 아이디 : pi 패스워드 : raspberry) 2. 외부 SSH를 열어놓으면 외국에서 무차별 대입으로 뚫고 들어온다음 바꿈 3. 라즈베리파이는 학습용으로 가끔 잠기는 이슈가 있음 4. (아예 못고치는 상황) 라즈베리파이 리눅스 OS 이슈 있는듯 cmdline.txt 파일을 열어봅니다 init=/bin/sh 추가합니다 그 후 저장 부팅하면 이런 화면이 뜹니다 Putty로는 작동 X 비밀번호를 바꾸기 위해 passwd pi 물론 자신이 찾을 id를 pi부분에 쳐야합니다. 입력합니다 Enter new UNIX password : (비밀번호 입력) Retype new UNIX password : (재 입력) 그러나 password updat.. 공감수 4 댓글수 2 2019. 9. 23.
    문의안내
    • 티스토리
    • 로그인
    • 고객센터

    티스토리는 카카오에서 사랑을 담아 만듭니다.

    © Kakao Corp.