리눅스에서 CUPS 통해서 프린터 공유 중인데

이 경우에도 smb1 프로토콜을 쓰는지 SMB2로 min protocol을 제한하면

프린트가 안된다 -_-

Posted by 구차니

legacy 좋아하다 보니.. 어쩔수 없었나..

이제 신버전으로 가야 할 듯 ㅠㅠ

망할 SMB1 ㅠㅠ


Core OS updates and changes (old version in brackets):
  • Pulseaudio updated to 10.0 (9.0)
  • Binutils updated to 2.28 (2.26)
  • GCC updated to 6.3 (5.4)
  • glibc updated to 2.25 (2.23)
  • LLVM updated to 4.0 (3.8)
  • Linux kernel updated to 4.9 (4.4)
  • Mesa updated to 17.0 (11.2)
  • ffmpeg updated to 3.2 (2.8)
  • libva updated to 1.8 (1.7)
  • connman updated to 1.33 (1.31)
  • libressl updated to 2.4 (2.2)
  • systemd updated to 233 (229)
  • xorg-server updated to 1.19 (1.18)
  • samba updated to 4.6 (3.6)
  • MySQL replaced with MariaDB-10.1
  • HFS and HFS+ Filesystem support removed.
  • iSCSI support removed.
  • NFS, NBD, iSCSI Network boot support removed.
  • LIRC support removed, LIRC was always installed as a enhancenment to the Kernel RC drivers, and was only used for very old IR Hardware like classic XBox remote and others - which support is now dropped.
  • Apple TV 1 IR remote driver driver removed.
  • X11 AMDGPU, ATI (Radeon) and Intel GPU driver driver replaced by X11 Modesettings GPU driver.

 

[링크 : http://openelec.tv/news/22-releases/184-stable-openelec-8-0-released]

[링크 : http://openelec.tv/news/22-releases/181-stable-openelec-7-0-released]


+

확인해보니 현재 쓰는게.. 6버전..

OpenELEC-RPi2.arm-6.0.0.img

'프로그램 사용 > kodi(xbmc)' 카테고리의 다른 글

libreelec  (0) 2018.02.21
openELEC HDMI CEC  (0) 2018.02.19
kodi, openELEC / smb2 미지원?  (0) 2017.05.15
kodi remote  (0) 2015.04.07
xbmc on winXP / IrDA 실패  (0) 2015.04.01
Posted by 구차니

이번 wannacry 웜 사태로 인해서 집에 NAS를 최소 SMB2 / 최대 SMB3로

설정을 했는데 집에와서 openELEC/rpi 로 재생하려고 하니

connection timeout

어라?!


혹시나 해서 SMB1 / SMB3로 설정해서 해보니까 문제없이 접속이 되네

cifs로 mount 하다 보니 SMB1을 막아 버리면 접속이 불가능 한 듯?


sraue commented on 11 Mar 2016

closing for now, will be updated when samba 4 support is in kodi

[링크 : https://github.com/OpenELEC/OpenELEC.tv/issues/4174]

'프로그램 사용 > kodi(xbmc)' 카테고리의 다른 글

openELEC HDMI CEC  (0) 2018.02.19
openELEC 8.0 관련  (0) 2017.05.16
kodi remote  (0) 2015.04.07
xbmc on winXP / IrDA 실패  (0) 2015.04.01
ubuntu + xbmc + ion(nvidia)  (0) 2015.03.22
Posted by 구차니


min protocol = SMB2

max protocol = SMB3

[링크 : https://askubuntu.com/questions/546743/how-to-force-smb2-protocol-in-samba]

Posted by 구차니

mysql client로 콘솔에서 접속해서 보니..

걍.. table로 나온다.


mysql> show tables;

+-------------------+

| Tables_in_archlog |

+-------------------+

| account_bank      |

| account_periodic  |

| account_withdraw  |

| arch_article      |

| arch_blobs        |

| arch_refer        |

| arch_rel          |

| arch_reply        |

| arch_user         |

| org_detail        |

| org_rel           |

| organization      |

| people_detail     |

| people_rel        |

+-------------------+

14 rows in set (0.00 sec) 


mysql> desc organization;

+---------------+-----------+------+-----+---------+-------+

| Field         | Type      | Null | Key | Default | Extra |

+---------------+-----------+------+-----+---------+-------+

| idx           | int(11)   | NO   |     | 0       |       |

| name_kr       | char(50)  | YES  |     | NULL    |       |

| name_en       | char(30)  | YES  |     | NULL    |       |

| address       | char(200) | YES  |     | NULL    |       |

| call_1        | char(30)  | YES  |     | NULL    |       |

| fax           | char(30)  | YES  |     | NULL    |       |

| web           | char(50)  | YES  |     | NULL    |       |

| certification | char(20)  | YES  |     | NULL    |       |

| time_create   | datetime  | YES  |     | NULL    |       |

+---------------+-----------+------+-----+---------+-------+

9 rows in set (0.01 sec)


그나저나 저 \G의 차이가 크게 나오네..

mysql> show create view organization\G

얘는 걍.. +--- 이런거 도배 됨

mysql> show create view organization; 

[링크 : https://dev.mysql.com/doc/refman/5.7/en/show-create-view.html]


\g는 vertical output 인가?

--auto-vertical-output

Cause result sets to be displayed vertically if they are too wide for the current window, and using normal tabular format otherwise. (This applies to statements terminated by ; or \G.) 

[링크 : https://dev.mysql.com/doc/refman/5.7/en/mysql-command-options.html]



+

full 하나 넣어주니 깔끔하게 구분이 되는군!

mysql> show full tables;

+-------------------+------------+

| Tables_in_archlog | Table_type |

+-------------------+------------+

| account_bank      | BASE TABLE |

| account_periodic  | BASE TABLE |

| account_withdraw  | BASE TABLE |

| arch_article      | BASE TABLE |

| arch_blobs        | BASE TABLE |

| arch_refer        | BASE TABLE |

| arch_rel          | BASE TABLE |

| arch_reply        | BASE TABLE |

| arch_user         | BASE TABLE |

| org_detail        | BASE TABLE |

| org_rel           | BASE TABLE |

| organization      | VIEW       |

| people_detail     | BASE TABLE |

| people_rel        | BASE TABLE |

+-------------------+------------+

14 rows in set (0.01 sec) 

[링크 : https://dev.mysql.com/doc/refman/5.7/en/show-tables.html]

'프로그램 사용 > mysql & mariaDB' 카테고리의 다른 글

Mariadb root access denied  (0) 2018.04.19
mysql sql문 변수 사용  (0) 2017.05.20
db varchar 와 char  (0) 2017.05.09
db에 mac / ip 저장하기(자료형)  (0) 2017.05.09
mysql innodb compress  (0) 2017.04.12
Posted by 구차니

char은 고정

varchar는 가변


다만, char의 경우 길이보다 짧게 입력시 공백으로 처리되어

equals로 비교시 같지 않다고 나오기에 trim()을 해주어야 한다는데 어쩌구 저쩌구


결론은.. 걍 유지보수 편하게 varchar로 대동단결? 이라는 건데

음.. varchar로 구성된 테이블 하나 두고 하나만 파편화 시키는 것도 방법이 되려나?


[링크 : https://okky.kr/article/217655]

[링크 : https://okky.kr/article/256528]

[링크 : http://database.sarang.net/?inc=read&aid=16220&criteria=mysql...page=16]

[링크 : http://dreamchallenger.blogspot.com/2011/07/char-varchar.html]

'프로그램 사용 > mysql & mariaDB' 카테고리의 다른 글

mysql sql문 변수 사용  (0) 2017.05.20
mysql view 출력 그리고 내용확인  (0) 2017.05.09
db에 mac / ip 저장하기(자료형)  (0) 2017.05.09
mysql innodb compress  (0) 2017.04.12
mysql view  (0) 2017.03.14
Posted by 구차니

MAC은 대개 48bit(8x6) 인데 일부에서는(인피니밴드) 8byte까지 늘어나는 듯

그리고 ip는 IPv4 기준 32bit 니까 int로도 충분은 한데...


쿼리 문에서는 HEX로 변환해주고

[링크 : https://dev.mysql.com/doc/refman/5.7/en/hexadecimal-literals.html]


php에서는 base_convert()를 이용해서 값을 변환해서 비교하는 듯?

[링크 : http://php.net/manual/en/function.base-convert.php]



[링크 : http://stackoverflow.com/questions/4514547/mysql-best-way-to-store-mac-addresses]

[링크 : http://www.onurguzel.com/storing-mac-address-in-a-mysql-database/]

[링크 : http://bryan.wiki/34]

'프로그램 사용 > mysql & mariaDB' 카테고리의 다른 글

mysql view 출력 그리고 내용확인  (0) 2017.05.09
db varchar 와 char  (0) 2017.05.09
mysql innodb compress  (0) 2017.04.12
mysql view  (0) 2017.03.14
db designer  (0) 2017.03.14
Posted by 구차니

후배를 갈아먹자 -_-


[링크 : https://git-scm.com/book/en/v2]

[링크 : https://git-scm.com/book/ko/v2]


git fetch(서버에서 받아오기)

git merge(병합)

>> git pull


git checkout (브랜치 선택)


git commit 로컬 저장소 저장

git push 원격 저장소 저장


git clone


git init (로컬 저장소 생성)

git remote add repo (로컬 저장소와 원격저장소 연결)

git pull (원격 저장소의 정보를 내려받음)

>> git clone repo (로컬 저장소와 원격저장소 동일) 

[링크 : https://www.slideshare.net/einsub/svn-git-17386752]

'프로그램 사용 > Version Control' 카테고리의 다른 글

tortoiseSVN 엑셀 비교  (0) 2017.09.16
sorucetree / git client  (0) 2017.07.03
git-svn 관련글  (0) 2017.04.25
svn list 예제  (0) 2017.02.03
svn hook encv  (0) 2016.12.30
Posted by 구차니

dcommit이라는걸 이제야 발견해서 검색..

음... 나중에 한번 써먹어볼까?


$ git svn dcommit

[링크 : http://www.allofsoftware.net/2011/08/blog-post.html]

[링크 : https://git-scm.com/book/ko/v1/Git으로-이전하기-Git과-Subversion]


2011/12/23 - [프로그램 사용/CVS & SVN & GIT & Mercurial] - git-svn

'프로그램 사용 > Version Control' 카테고리의 다른 글

sorucetree / git client  (0) 2017.07.03
git 공부..  (2) 2017.04.25
svn list 예제  (0) 2017.02.03
svn hook encv  (0) 2016.12.30
svn commit email - python / synology  (0) 2016.12.30
Posted by 구차니

만약 virtualboxㅊ에서 가상머신을 구동시키는데

권한이 없다거나

E_FAIL이 뜨거나

아무튼 갑자기 실행안되는 문제가 발생하면


Fasoo를 의심....

이놈들 nProtect보다 더 나쁜놈들 이긴한데 이렇게 영향을 미치냐?


[링크 : http://postmebi.tistory.com/3]

Posted by 구차니