사정이 있어 더미포트가 필요한데.. 요즘에는 죄다 단종이라 구할수가 없다.
그런 이유로 머리를 굴리다가, 관리용 허브에서는 어떻게 되지 않을까 메뉴얼을 보다가

VLAN과 broadcast strorm 그리고 mirroring이 보였다.

오홍? 미러링 그럴싸한데? 하고 허브에 접속해서 보니 헐 이게머야 -_-


도움말을 보니 Monitor와 Mirror로 설정을 해주어야 하고
Monitor는 스니핑을 할 포트Mirror는 엿듣김을 당하게 될 포트 이다.

Select port type

Defines the port that will be the monitor port (destination port) and the port that will be mirrored (source port). The possible values are:

  • Monitor --- Defines the port as the monitor port, the destination port.
  • Mirror --- Defines the port as a mirrored port (source port) to be monitored and indicates the traffic direction to be monitored. The possible values are:
    • Mirror In --- Enables port mirroring on ingress traffic.
    • Mirror Out --- Enables port mirroring on egress traffic.

Select port
Selects the port for mirroring or monitoring. A port unavailable for mirroring is colored grey.

Summary --- Displays the current monitor and mirror port. The fields displayed are:

  • Monitor --- Displays the monitor port.
  • Mirror In --- Displays the ports monitored for ingress traffic.
  • Mirror Out --- Displays the ports monitored for egress traffic.

시험적으로 위와 같이 설정을 하면. 그 포트에서 주고 받는 내용이 그대로 복제되어
wireshark에서 들을수 있지만, 인터넷이 안되는 부작용이 생긴다 -_-
설정상의 문제인지 아무튼... 인터넷 선이 꼽힌 포트를 같이 Mirror로 설정해주면 해결된다. 
Posted by 구차니
우분투 기준으로
/etc/samba/smb.conf 에 보면 프린터 항목이 다음과 같이 기술되어 있다.

[printers]
        comment = All Printers
        browseable = no
        path = /var/spool/samba
        printable = yes
;       guest ok = no
;       read only = yes
        create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers
;       browseable = yes
;       read only = yes
;       guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
;   write list = root, @lpadmin 

위의 경로에는 다음과 같은 디렉토리 들이 존재하는데. 전부 비어있다.
$ cd /var/lib/samba/printers/
$ ll
drwxr-xr-x 11 root root  4096 2011-05-06 17:35 ./
drwxr-xr-x  5 root root  4096 2010-10-28 14:39 ../
drwxr-xr-x  2 root root  4096 2010-09-10 03:33 COLOR/
drwxr-xr-x  2 root root  4096 2010-09-10 03:33 IA64/
drwxr-xr-x  2 root root  4096 2010-09-10 03:33 W32ALPHA/
drwxr-xr-x  2 root root  4096 2010-09-10 03:33 W32MIPS/
drwxr-xr-x  2 root root  4096 2010-09-10 03:33 W32PPC/
drwxr-xr-x  2 root root  4096 2011-05-06 17:35 W32X86/
drwxr-xr-x  2 root root  4096 2010-09-10 03:33 WIN40/
drwxr-xr-x  2 root root  4096 2010-09-10 03:33 x64/ 

도대체 어디에 어떻게 넣으란거야 -_-

[링크 : http://www.linuxtopia.org/.../samba_reference_guide/29_CUPS-printing_105.html]
 [링크 : http://www.enterprisenetworkingplanet.com/.../Push-Windows-Printer-Drivers-with-CUPS.htm]
[링크 : http://www.cups.org/documentation.php/man-cupsaddsmb.html]
[링크 : https://wiki.samba.org/index.php/Samba_as_a_print_server]

21.5.1 Point'n'Print Client Drivers on Samba Servers
[링크 : http://www.scribd.com/doc/49933038/246/Point'n'Print-Client-Drivers-on-Samba-Servers] << 플래시 pdf
[링크 : http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html] << text 

---
$ rpcclient -U'Danka%xxxx' -c 'getdriver "Heidelberg Digimaster 9110 (PS)" 3' TURBO_XP
                로그인용아이디         드라이버정보 "공유 프린터 이름" 출력레벨        컴퓨터이름

\\PC_NAME\COLOR_PRINTER 라는 경로가 존재한다면
$ rpcclient -N -c 'getdriver "COLOR_PRINTER" 3' PC_NAME
이라고 입력을 하면된다. (물론 RPC를 통해 얻으므로 윈도우 시스템에 query를 해서 드라이버를 추출한다)
 

--- 2011.05.07 추가

문서를 보고 따라하는데 무언가 빼먹은게 있는듯 -_-
일단 smbclient를 이용해서 복사를 했지만 등록을 하지 않아서 안되는 것으로 보인다.
\\TURBO_XP\Heidelberg Digimaster 9110 (PS) 의 드라이버 정보를 보고
rpcclient -U'Danka%xxxx' -c 'getdriver "Heidelberg Digimaster 9110 (PS)" 3' TURBO_XP

\\TURBO_XP\print$ 에 공유된 드라이버 파일중 일부를 복사한다.
smbclient //TURBO_XP/print\$ -U'Danka%xxxx' -c 'cd W32X86/2;mget HD*_de.* hd*ppd Hd*_de.* Hddm*dll HDN*Aux.DLL'

\\SAMBA-CUPS\print$ 에 복사한 드라이버 파일을 넣어주고
smbclient //SAMBA-CUPS/print\$ -U'root%xxxx' -c \
'cd W32X86; put HDNIS01_de.DLL; \
put Hddm91c1_de.ppd; put HDNIS01U_de.DLL;        \
put HDNIS01U_de.HLP; put Hddm91c1_de.DLL;        \
put Hddm91c1_de.INI; put Hddm91c1KMMin.DLL;      \
put Hddm91c1_de.dat; put Hddm91c1_de.dat;        \
put Hddm91c1_de.def; put Hddm91c1_de.hre;        \
put Hddm91c1_de.vnd; put Hddm91c1_de.hlp;        \
put Hddm91c1_de_reg.HLP; put HDNIS01Aux.dll;     \
put HDNIS01_de.NTF'

\\SAMBA-CUPS\print$ 에 파일이 들어갔는지 확인하고
smbclient //SAMBA-CUPS/print\$ -U 'root%xxxx' -c 'cd W32X86; pwd; dir; cd 2; pwd; dir'

\\SAMBA-CUPS\print$ 에 드라이버를 추가(등록)한다.
rpcclient -Uroot%xxxx -c 'adddriver "Windows NT x86" \
  "dm9110:HDNIS01_de.DLL: \
  Hddm91c1_de.ppd:HDNIS01U_de.DLL:HDNIS01U_de.HLP:   \
  NULL:RAW:Hddm91c1_de.DLL,Hddm91c1_de.INI,          \
  Hddm91c1_de.dat,Hddm91c1_de.def,Hddm91c1_de.hre,   \
  Hddm91c1_de.vnd,Hddm91c1_de.hlp,Hddm91c1KMMin.DLL, \
  HDNIS01Aux.dll,HDNIS01_de.NTF,                     \
  Hddm91c1_de_reg.HLP' SAMBA-CUPS

\\SAMBA-CUPS\print$ 에 제대로 들어갔는지 확인하고
smbclient //SAMBA-CUPS/print\$ -Uroot%xxxx' -c 'cd W32X86;dir;pwd;cd 2;dir;pwd' 

유닉스에서 확인하고
rpcclient -U'root%xxxx' -c 'enumdrivers' SAMBA-CUPS

윈도우에서 다시 한번 더 확인한다.
rundll32 printui.dll,PrintUIEntry /s /t2 /n\\SAMBA-CUPS 

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

samba에 갑작스러운 "엑세스 거부"  (0) 2011.11.23
삼바를 SSH통해 공유하기  (0) 2011.08.23
samba on Ubuntu 10.04 LTS  (0) 2010.11.11
cifsd  (0) 2010.03.18
삼바 3.0.x 에서 3.4.0 으로 사용자 이전하기  (0) 2010.02.05
Posted by 구차니
Programming/openGL2011. 5. 6. 00:04

'Programming > openGL' 카테고리의 다른 글

glGenLists  (0) 2011.06.09
glutIdleFunc  (0) 2011.05.13
openGL - DoF  (2) 2011.05.03
직교좌표계와 원근좌표계 전환하기  (0) 2011.05.01
glutReshapeWindow() 는 크기 변화가 없으면 안그려 OTL  (2) 2011.04.24
Posted by 구차니
아이디어!2011. 5. 5. 22:10


내 폰이랑 내 노트북인데
내 노트북에 키보드가 맛탱이가 갔다.

타블렛 모드로만 써서 키보드없이 쓰다 보니 이래저래 조금 불편한데...
모토로라에서 모토쿼티 키보드 부분만 떼어내서 금형 거의 그대로 사용하고
블루투스로만 내면 쓸만할 물건이 나올것 같은데 흐음...

두손으로 잡고 쓸만한데.. 생각해보니 사람 손은 두개 뿐이군 OTL 



아무튼 이미 나온 제품도 있지만 그래도.. 방향키도 따로있는 모토로라꺼가 더 나은듯
BHK49-i 구형 / 신형에 따라 배열이 조금 다른데
구형이 개인적으로는 나을것 같지만.. 그래도 모토쿼티꺼가 나은듯 ㅠ.ㅠ




[링크 : http://cafe390.daum.net/_c21_/bbs_search_read]
[링크 : http://www.funshop.co.kr/vs/detail.aspx?categoryno=1371&itemno=8634
[링크 : http://itempage3.auction.co.kr/DetailView.aspx?ItemNo=A532485992

'아이디어!' 카테고리의 다른 글

CTRL-C,V 키보드 / 마우스  (2) 2011.08.16
초당 100ml 씩 나오는 정수기  (2) 2011.08.14
예측, 추정, 관성, 물리  (0) 2011.03.06
기억의 근원 / 기억의 시작  (2) 2011.02.19
연결된 다른 세계와 에너지  (4) 2011.02.08
Posted by 구차니
Programming/lisp2011. 5. 5. 21:57
lisp는 LISt Processing 의 약자로 프로그래밍 언어이다.
일반적으로 AI 쪽에서 많이 쓰이며
괄호가 넘쳐나는 괴랄한 언어라서 이해가 쉽지는 않다 -_-


수업을 들었었어도 이해를 할수가 없는 언어 OTL 
다시 한번 시도를 해봐야지 ㅠ.ㅠ

[링크 : http://www.cs.cmu.edu/~dst/LispBook/index.html] Common Lisp (PDF)
[링크 : http://www.paulgraham.com/onlisp.html]
    [링크 : http://www.paulgraham.com/onlisptext.html] On LISP (PDF)
[링크 : http://gigamonkeys.com/book/] Practical COMMON LISP (HTML)

[링크 : http://lisp-korea.wikispaces.com/]
[링크 : http://onlisp.blogspot.com/2008/03/common-lisp.html

'Programming > lisp' 카테고리의 다른 글

lisp는 리스트지 prefix 표기법이 아니다  (0) 2012.11.19
lisp 관련 책  (0) 2012.01.25
lisp 문법  (0) 2012.01.24
slime / lispbox  (0) 2012.01.24
우분투에서 lisp 설치하기  (0) 2012.01.15
Posted by 구차니
guest 유저는 기본 내장입니다~ 두둥! 이런 센스?

ajaxplorer-3.0.1/server/conf/conf.php
 39 define("ENABLE_USERS", 1);
 40 define("ADMIN_PASSWORD", "admin");
 41 define("ALLOW_GUEST_BROWSING", 0); 
 

3.0.1 버전 기준으로 conf.php에 보면 ALLOW_GUEST_BROWSING 이 녀석이 기본으로 0(=FALSE)가 되어있다.
1(=TRUE)로 바꾸어 주면 guest 계정이 생성된다.

물론 apache를 재기동할 필요는 없다. 
Posted by 구차니
하드웨어2011. 5. 4. 09:12
칩 캐패시터 모델/용량 읽는 법

221J/K = 220pF
102K = 10nF
105Z = 1uF


xxy = xx*10^y pF
xxy = (100pF)*xx*10^y uF | nF

룰을 찾지 못해 비교를 하면서 보니
pF 단위는 단순하게 읽으면 되고
nF / uF의 경우는 100pF를 곱해서 읽으면 된다.

[링크 : http://www.samwhatech.co.kr/shop/01.html?CateCode=11&Length=2]
[링크 : http://www.ctss.co.kr/dw2-5000.htm

+
2017.09.22

6R1 = 6.1pF

221 = 22*10^1 = 220pF

224 = 22*10^4

100 = 10*10^0 = 10pF

101 = 10*10^1 = 100pF = 0.1nF

102 = 10*10^2= 1,000pF = 1nF

103 = 10*10^3= 10,000pF = 10nF

104 = 10*10^4= 100,000pF = 100nF = 0.1uF

105 = 10*10^5 = 1,000,000pF =1000nF = 1uF

[링크 : http://www.murata.com/~/media/webrenewal/support/library/catalog/products/capacitor/mlcc/c02e.ashx]


[링크 : http://juke.tistory.com/168] <<

'하드웨어' 카테고리의 다른 글

HDD 전송속도  (0) 2011.06.25
MS 무선 데스크탑 3000 사용기(?)  (2) 2011.06.11
NVIDIA 3D vision kit  (0) 2011.03.19
wayland에서 파생된 잡다한 용어들  (0) 2011.02.06
리니어 / 스위칭 어댑터  (6) 2011.01.30
Posted by 구차니
참 변경꺼리가 오질나게 없는건지
이번 재보궐선거를 한번 눈가려보겠다고 분위기 쇄신용인지

입만떼면 다 북한탓이래 -_-
그냥 솔찍히 누가했는지 로그분석도 다 못했다고 하라고 이 개나리들아 -_-

[링크 : http://zdnet.co.kr/news/news_view.asp?artice_id=20110503151956]






그래도 거짓말이 반복되면 진실로 믿는다고 하니 경계해야 할 듯 -_- 

'개소리 왈왈 > 정치관련 신세한탄' 카테고리의 다른 글

북한에는 해킹부대 천명있다며?  (6) 2011.05.16
KT 2G 강제종료  (0) 2011.05.12
마켓팅  (0) 2011.04.20
군필에 대한 잡설그  (2) 2011.04.11
방사선 비가 보슬보슬 내린다고?  (2) 2011.04.06
Posted by 구차니
Programming/openGL2011. 5. 3. 07:32
DoF는 Depth of Field로 통상 심도라고도 표현한다.(아니면 말구 -_-)
화면에 있어 어느정도 까지 촛점이 제대로 잡히는지 에 대한 수치로

생각치도 못하게 motion blur 쪽과 유사한 방법으로 openGL에서 DoF를 표현한다.
어짜피 특정 거리 이상은 촛점을 흐리게 해주면 되니,
움직이면서 흐리게 되나 거리로 흐리게 되나 결론은 "번지게" 하는 것이므로
어쩌면 당연히 동일한 함수를 이용하는 걸지도 모르겠다.

[링크 : http://www.opengl.org/resources/code/samples/advanced/advanced97/notes/node87.html]
[링크 : http://www.opengl.org/resources/code/samples/glut_examples/advanced/advanced.html]
    [링크 : http://www.opengl.org/resources/code/samples/glut_examples/advanced/field.c]
[링크 : http://glprogramming.com/red/chapter10.html]
[링크 : http://www.opengl.org/sdk/docs/man/xhtml/glAccum.xml]


  



'Programming > openGL' 카테고리의 다른 글

glutIdleFunc  (0) 2011.05.13
openGL 좌표계  (0) 2011.05.06
직교좌표계와 원근좌표계 전환하기  (0) 2011.05.01
glutReshapeWindow() 는 크기 변화가 없으면 안그려 OTL  (2) 2011.04.24
glViewport  (0) 2011.04.05
Posted by 구차니

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

머피의 법칙  (0) 2011.05.12
수면중독  (0) 2011.05.10
쓰기싫은 스킬  (0) 2011.04.27
질렀노라 왔노라 받았노라!  (4) 2011.04.22
...  (0) 2011.04.22
Posted by 구차니