'개소리 왈왈 > 자전거' 카테고리의 다른 글
| 2017 자전거 대행진 (0) | 2017.06.18 |
|---|---|
| 2017 자전거 대행진 옷 도착! (0) | 2017.06.11 |
| 오랫만에 자전거.. 힘들다 ㅠㅠ (2) | 2017.05.28 |
| 구리-암사대교 건너기 성공 (0) | 2017.05.21 |
| 2017 하이서울 자전거 대행진 티셔츠 공개 ㅋㅋㅋㅋㅋㅋ (0) | 2017.05.02 |
| 2017 자전거 대행진 (0) | 2017.06.18 |
|---|---|
| 2017 자전거 대행진 옷 도착! (0) | 2017.06.11 |
| 오랫만에 자전거.. 힘들다 ㅠㅠ (2) | 2017.05.28 |
| 구리-암사대교 건너기 성공 (0) | 2017.05.21 |
| 2017 하이서울 자전거 대행진 티셔츠 공개 ㅋㅋㅋㅋㅋㅋ (0) | 2017.05.02 |
서버에서 설정하는건 찾아지질 않네 ㅜㅜ
[링크 : https://blogs.msdn.microsoft.com/openspecification/2013/03/19/cifs-and-smb-timeouts-in-windows/]
| cpu 사용량 제한하기(윈도우) (0) | 2017.08.24 |
|---|---|
| win10 그림판 / 3d 뷰 (0) | 2017.08.03 |
| 윈도우 metric 정책 (0) | 2017.05.22 |
| win8.1 이상한 네트워크 증식(?)문제 (0) | 2017.05.22 |
| 윈도우 네트워크 메트릭 설정 (0) | 2017.05.22 |
samba를 이용한 파일서버에서
일정 시간 이후에 자동 접속 차단 혹은 로그아웃 되는 녀석이 머가 있을려나...
deadtime (G) The value of the parameter (a decimal integer) represents the number of minutes of inactivity before a connection is considered dead, and it is disconnected. The deadtime only takes effect if the number of open files is zero. This is useful to stop a server's resources being exhausted by a large number of inactive connections. Most clients have an auto-reconnect feature when a connection is broken so in most cases this parameter should be transparent to users. Using this parameter with a timeout of a few minutes is recommended for most systems. A deadtime of zero indicates that no auto-disconnection should be performed. Default: deadtime = 0 Example: deadtime = 15 machine password timeout (G) If a Samba server is a member of a Windows NT Domain (see the security = domain parameter) then periodically a running smbd process will try and change the MACHINE ACCOUNT PASSWORD stored in the TDB called private/secrets.tdb . This parameter specifies how often this password will be changed, in seconds. The default is one week (expressed in seconds), the same as a Windows NT Domain member server. See also smbpasswd(8), and the security = domain parameter. Default: machine password timeout = 604800 |
[링크 : https://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html]
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options Description Determines whether to disconnect users that are connected to the local machine outside of their user account's valid logon hours. This setting affects the Server Message Block (SMB) component of a Windows 2000 server. When this policy is enabled, it causes client sessions with the SMB server to be forcibly disconnected when the client's logon hours expire. If this policy is disabled, an established client session is allowed to be maintained after the client's logon hours have expired. This policy is defined by default in Local Computer Policy, where it is enabled by default. |
[링크 : https://technet.microsoft.com/en-us/library/cc938001.aspx]
+
[링크 : https://www.centos.org/forums/viewtopic.php?t=8810]
+
도메인 관리가 안되는 컴퓨터일 경우 적용이 안되려나?
| smb 서비스 속도향상하기(SSD-bcache, AIO) (0) | 2019.02.01 |
|---|---|
| samba acpi s3 wake up (0) | 2017.08.11 |
| cups smb2 미지원? (0) | 2017.05.16 |
| 리눅스 삼바 최소 프로토콜 버전 제한하기 (0) | 2017.05.15 |
| 어라.. samba swat 사라졌네 (0) | 2017.01.03 |
암만 봐도 피의 숙청이 필요한 시기일지도...
[링크 : http://v.media.daum.net/v/20170531031216037] 사드 4基 추가반입, 다 알려진 사실인데.. 왜 '충격'일까
[링크 : http://v.media.daum.net/v/20170530212902211] 한국당 "文대통령은 사드 발사대 갯수도 여태 몰랐나"
| 엌ㅋㅋㅋ 야이 ㅋㅋㅋㅋ (2) | 2017.06.29 |
|---|---|
| 갑자기 마약 (0) | 2017.06.05 |
| "이러다 진보정권 20년 나온다"..생존 모색나선 한국당 ?? (2) | 2017.05.17 |
| 화력발전 셧다운? (0) | 2017.05.15 |
| 한나라당이 하면 당연한 검증 민주당이하면 정치보복? (0) | 2017.05.13 |
1.1.2 이길래 일단 업데이트 단행
업데이트 이후 소프트웨어 버전만 1.1.2 에서 1.1.4로 변경
[링크 : http://kkwaks.net/694]
[링크 : http://web.modacom.co.kr/ko/support/download_view.php?seq_id=10546] 펌웨어 공지
wifi 13번 채널 활성화
[링크 : http://www.ppomppu.co.kr/zboard/view.php?id=etc_info&no=24537&ismobile]
[링크 : http://pdfman.tistory.com/281]
+
업데이트 영향인가
확실히 조금은 더 지연시간이 짧아지고
다운로드도 빨라진 느낌
특히나 에브리타운 작물 심다가 숨 넘어 가던게 확연히 좋아진 느낌
| 심심한데..(?) 다운그레이드 해봐? (2) | 2017.06.08 |
|---|---|
| 와이브로 없애려고 밑장까네 (0) | 2017.06.04 |
| egg+ 교체...? (0) | 2017.05.30 |
| 삼성 갤럭시 USB 테터링 (0) | 2017.05.22 |
| 10분뒤 자살하라고 말해줘 / 알려줘 차이 ㅋㅋㅋ (2) | 2017.05.20 |
GetCurrentDirectory() - 작업 디렉토리
GetModuleFileNameW() - 현재 실행중인 파일의 경로+파일명
[링크 : http://egloos.zum.com/katalog/v/4637907]
[링크 : http://ds3evx.tistory.com/entry/MFC-Tip-실행-파일-폴더-구하기]
망할유니코드랑 썪이면서 혼돈의 카오스 ㄷㄷ
WCHAR pathstr[256]; GetModuleFileNameW(NULL, pathstr, 256); PathRemoveFileSpec(pathstr); // 실행파일의 경로만 받아옴 // 실행파일과 동일 디렉토리내의 test.exe를 /h 옵션으로 실행 CString exec("test.exe"); Cstring opt("/h"); CString path(pathstr); path = _T("\"") + path + _T("\""); cmd.AppendFormat(_T("%s\\%s %s"),path, exec, opt); m_ret.SetWindowTextW(cmd); _wsystem(cmd); |
| 2차원 배열에 대한 포인터 (0) | 2017.06.21 |
|---|---|
| slider control / settic (0) | 2017.06.12 |
| MFC CHttpConnection timetout 설정 (0) | 2017.05.29 |
| win32 외부 프로그램 실행 (0) | 2017.05.29 |
| cstring 'null' append 문제? (0) | 2017.05.18 |
일단은 내일까지 이벤트
올레샾에서 지르면 5000mA 배터리 + 로지텍 BT 키보드 주는데
현재 10700원 선에서 16500원 선으로 추가 지출 발생
년 7만원 선 -_-a
+
문득 생각나서 조회해보니.. 응? 2013년 8월 ㄷㄷㄷ
4년째 노인학대 중이구나 ㅋㅋㅋㅋ
| 와이브로 없애려고 밑장까네 (0) | 2017.06.04 |
|---|---|
| 에그 업데이트 (0) | 2017.05.30 |
| 삼성 갤럭시 USB 테터링 (0) | 2017.05.22 |
| 10분뒤 자살하라고 말해줘 / 알려줘 차이 ㅋㅋㅋ (2) | 2017.05.20 |
| smardi gam.r 분해 (0) | 2017.04.25 |
이것저것 찾아서 해보는데 영 안되네...
[링크 : http://forums.codeguru.com/...48863-How-to-set-timeout-value-for-CHttpFile-SendReqeust()]
[링크 : https://stackoverflow.com/questions/14986898/how-to-set-connection-timeout]
BOOL InternetSetOption( _In_ HINTERNET hInternet, _In_ DWORD dwOption, _In_ LPVOID lpBuffer, _In_ DWORD dwBufferLength ); |
[링크 : https://msdn.microsoft.com/en-us/library/windows/desktop/aa385114(v=vs.85).aspx]
INTERNET_OPTION_CONNECT_TIMEOUT 2 Sets or retrieves an unsigned long integer value that contains the time-out value, in milliseconds, to use for Internet connection requests. Setting this option to infinite (0xFFFFFFFF) will disable this timer. If a connection request takes longer than this time-out value, the request is canceled. When attempting to connect to multiple IP addresses for a single host (a multihome host), the timeout limit is cumulative for all of the IP addresses. This option can be used on any HINTERNET handle, including a NULL handle. It is used by InternetQueryOption and InternetSetOption. |
[링크 : https://msdn.microsoft.com/en-us/library/windows/desktop/aa385328(v=vs.85).aspx]
cIntSession.SetOption(INTERNET_OPTION_CONNECT_TIMEOUT, 3000); |
2007년 글이긴 한데, 해당 함수 버그로 인해 정상 작동을 하지 않는다고?
[링크 : http://soonsin.com/80]
[링크 : https://social.msdn.microsoft.com/.../cinternetsession-openurl-timeout-problem?forum=vcmfcatl]
[링크 : https://support.microsoft.com/en-us/help/177190/bug-error-12019-when-calling-internetwritefile]
+
일단 헤더에서 찾은건 아래와 같은 timeout들인데 멀 설정하던 어떤 값을 하던 7초 정도 되어야 타임아웃 된다 ㅠㅠ
// timetout for HTTP socket pHttpFile->SetOption(INTERNET_OPTION_CONNECT_TIMEOUT, 100); pHttpFile->SetOption(INTERNET_OPTION_SEND_TIMEOUT, 100); pHttpFile->SetOption(INTERNET_OPTION_RECEIVE_TIMEOUT, 100); pHttpFile->SetOption(INTERNET_OPTION_DATA_SEND_TIMEOUT, 100); pHttpFile->SetOption(INTERNET_OPTION_DATA_RECEIVE_TIMEOUT, 100); pHttpFile->SetOption(INTERNET_OPTION_LISTEN_TIMEOUT, 100); |
| slider control / settic (0) | 2017.06.12 |
|---|---|
| mfc 파일 경로 얻기 (0) | 2017.05.30 |
| win32 외부 프로그램 실행 (0) | 2017.05.29 |
| cstring 'null' append 문제? (0) | 2017.05.18 |
| MFC 시간측정(msec) (0) | 2017.04.18 |
system(""); |
win32에서도 지원 (유닉스 계열 전용이 아니었군)
[링크 : http://rockdrumy.tistory.com/483]
다만, system()에서 실행되는 동안 멈추는 단점이 있다.
[링크 : https://msdn.microsoft.com/en-us/library/277bwbdz.aspx]
그리고 얘.. 공백 문자 경로 해결을 못하겠네?
[링크 : https://stackoverflow.com/.../how-to-overcome-spaces-in-the-path-while-passing-to-system]
[링크 : https://stackoverflow.com/.../c-system-not-working-when-there-are-spaces-in-two-different-parameters]
WinExec(cmd, SW_SHOW); |
독립된 프로세스로 구동함.
공백문자 문제 없음(따옴표 하나로 해결)
ShellExecute(NULL, _T("open"), _T("cmd"), NULL, NULL, SW_SHOW); |
얘도 독립된 프로세스로 구동
STARTUPINFO StartupInfo = {0}; PROCESS_INFORMATION ProcessInformation; BOOL ret; ret = CreateProcess(_T("c:\\windows\\system32\\cmd.exe"),NULL,NULL,NULL,FALSE,0,NULL,NULL,&StartupInfo, &ProcessInformation); if(!ret) return ; WaitForSingleObject(ProcessInformation.hProcess, INFINITE); |
독립된 프로세스 이나 종료대기
STARTUPINFO 구조체 초기화 안해주면 오류남
+
[링크 : http://mafa.tistory.com/entry/WinExec-프로세서에서-외부-프로세스-실행하기]
[링크 : http://karfn84.tistory.com/entry/MFC-프로그램-안에서-외부-파일을-실행시키기...CreateProcess]
[링크 : http://zodd.tistory.com/322]
얘는 종료시키는 애
[링크 : https://stackoverflow.com/questions/13193719/kill-process-started-with-shellexecuteex]
| mfc 파일 경로 얻기 (0) | 2017.05.30 |
|---|---|
| MFC CHttpConnection timetout 설정 (0) | 2017.05.29 |
| cstring 'null' append 문제? (0) | 2017.05.18 |
| MFC 시간측정(msec) (0) | 2017.04.18 |
| MFC 다이얼로그 자세히(접기) (0) | 2017.04.14 |
아내님이 뜬금없이
옷에 써있는거 해석해줘! 해서 보는데 못 보는 단어 발생
blvd나 blwd라고 있는데 w는 오타인거 같고
street 같은 느낌적인 느낌의 그런 큰 도로를 지칭하는 듯
[링크 : http://kuhn.kr/92]
| 보청기 관련 원리/프로그램 글 (0) | 2017.07.07 |
|---|---|
| 어엌ㅋㅋㅋ 혈당측정 검사지 ㅋㅋㅋ (0) | 2017.06.06 |
| 럭스블럭 luxblock (0) | 2017.05.25 |
| 미세먼지 보는 사이트 (0) | 2017.04.19 |
| 카라비너 (독일어) (0) | 2017.04.01 |