개소리 왈왈2011. 5. 9. 09:43


포인트가 사라진다고 하길래 받을려고 했더니
멀받으란거니? 도대체!!!!! 

'개소리 왈왈' 카테고리의 다른 글

교통카드 두개있을때 하나만 찍게 하는 방법  (4) 2011.05.19
스승의 날이구나  (0) 2011.05.15
지름신 강림!  (0) 2011.04.30
파이낸셜 플래너 너넨 모냐?  (4) 2011.04.25
도인들 업그레이드?  (0) 2011.04.24
Posted by 구차니
pythonbrew 라는 녀석이 있어서, 여러개 버전을 설치해서 골라가며 실행을 할 수 있다고 한다.

[링크 :  http://kldp.org/node/122865]
  [링크 : http://gauryan.blogspot.com/2011/05/pythonbrew-python.html]

[링크 : https://github.com/utahta/pythonbrew]

'Programming > python(파이썬)' 카테고리의 다른 글

PyOpenGL  (0) 2011.10.04
python 3.2.2 64bit 버전 설치  (4) 2011.09.13
python C/api - PyObject_GetAttrString()  (0) 2010.04.06
파이썬 문자열 쌍따옴표 세개 - """ python string  (0) 2010.04.04
python c/api 관련문서  (0) 2010.03.25
Posted by 구차니
Linux/Ubuntu2011. 5. 8. 01:24
PAE는 32bit OS에서 4GB 이상의 용량을 사용할수 있도록 해주는 기술이다.
CPU에서도 지원을 해야한다.

[링크 : http://calmglow.egloos.com/4571486]
[링크 : http://en.wikipedia.org/wiki/Physical_Address_Extension]

우분투 10.04 에서는 네트워크를 연결해서 설치하면 PAE 지원시 설치가 되지만
오프라인 설치시에는 별도로 패키지를 추가해주어야 한다.
CPU가 PAE를 지원하는지는 /proc/cpuinfo에서 PAE를 찾으면 된다.

# sudo aptitude install linux-generic-pae linux-headers-generic-pae
# cat /proc/cpuinfo | grep -i PAE

[링크 : https://help.ubuntu.com/community/EnablingPAE 

'Linux > Ubuntu' 카테고리의 다른 글

motd - Message of The Day  (0) 2011.06.07
apt-get 관련  (0) 2011.06.05
멀티부트 상황에서 시간변동 바로잡기  (0) 2011.04.15
Ubuntu 에서 듀얼 모니터 사용하기  (2) 2011.04.15
ubuntu 10.04 LTS 64bit  (0) 2011.03.22
Posted by 구차니
프로그램 사용/saned2011. 5. 7. 14:27
초기 설정에는 전부 주석이 되어있을뿐 어떠한 내용도 들어있지 않다.
그런 이유로 sane을 사용하려면 아래의 두줄을 설정해야 한다.

# saned.conf
# Configuration for the saned daemon

## Daemon options
# Port range for the data connection. Choose a range inside [1024 - 65535].
# Avoid specifying too large a range, for performance reasons.
#
# ONLY use this if your saned server is sitting behind a firewall. If your
# firewall is a Linux machine, we strongly recommend using the
# Netfilter nf_conntrack_sane connection tracking module instead.
#
#data_portrange = 10000 - 10100
data_portrange = 6656

## Access list
# A list of host names, IP addresses or IP subnets (CIDR notation) that
# are permitted to use local SANE devices. IPv6 addresses must be enclosed
# in brackets, and should always be specified in their compressed form.
#
# The hostname matching is not case-sensitive.

#scan-client.somedomain.firm
#192.168.0.1
#192.168.0.1/29
#[2001:7a8:185e::42:12]
#[2001:7a8:185e::42:12]/64
192.168.10.10/24

# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and
# /etc/services must also be properly configured to start
# the saned daemon as documented in saned(8), services(4)
# and inetd.conf(4) (or xinetd.conf(5)).

그리고 나서  sane을 구동하려면
/etc/default/saned 에서 RUN=no를 TUN=yes로 바꾸어 준다.
# Defaults for the saned initscript, from sane-utils

# Set to yes to start saned
RUN=yes

# Set to the user saned should run as
RUN_AS_USER=saned 
위의 설정은 부팅시 자동시작뿐만 아니라 수동으로 시작을 할지 안할지를 설정하는 부분이다.

 

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

[조사중] epson TX213 스캐너 사용하기  (0) 2011.05.11
부팅시에 saned 구동하도록 설정하기  (0) 2011.03.17
sanetwain + windows 사용하기  (0) 2011.03.16
scx4623 sane  (0) 2011.03.15
SANE, TWAIN, REMOTESCAN  (0) 2011.03.04
Posted by 구차니

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

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 구차니