<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>wiserain's monolog</title>
    <link>https://wiserain.tistory.com/</link>
    <description></description>
    <language>ko</language>
    <pubDate>Fri, 10 Apr 2026 07:55:06 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>이치로</managingEditor>
    <item>
      <title>싱가포르 단기 거주자를 위한 휴대폰 요금 플랜</title>
      <link>https://wiserain.tistory.com/1037</link>
      <description>&lt;p&gt;여행자라면 아무 걱정없이 (선택의 여지도 많지 않으므로) 선불심을 쓰면 된다. 데이터를 위주로 약 일주일 가량 유효한 심을 공항이나 편의점 등지에서 판매하므로 구매해서 쓰면 된다.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1년 남짓 거주하게 될 사람이라면 고려할 옵션이 많아지긴 하지만, 통화나 문자를 많이 사용하지 않을거라면 사실상 크게 다르지는 않다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;먼저 Singtel의 경우 SIM ONLY PLAN이 있다. 휴대폰은 사용자가 가져오고 회선만 쓰는 선불심과 거의 유사한 형태. 혜택은 다음과 같다.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul style=&quot;list-style-type: disc;&quot;&gt;&lt;li&gt;3GB Local data&amp;nbsp;+ 2GB Singtel WiFi&lt;/li&gt;&lt;li&gt;150분 통화&lt;/li&gt;&lt;li&gt;500 SMS&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;이게 20 SGD 기본 플랜이고, 받는 전화 무료 (싱가포르는 받는 전화도 돈이 든다) 등의 자잘한 혜택이 있다.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;데이터나 통화가 더 필요하다면 여기에 add-on을 붙일 수 있다. 5.35불에&amp;nbsp;1GB&amp;nbsp;데이터와 그에 상당하는 통화와 문자 메시지 추가, 10.70불에는 2GB&amp;nbsp;데이터+통화+문자 추가 이런 식이다. 설명을 들은 바로는 한번 계약을 하면 이 add-on은 계약 이후 변경할 수 없다는 것 같았다. 초과 사용 부분에 대해서는 물론 그만큼 추가 지불을 해야하고...&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;문제는 약정 기간이 1년이다. 중단하면 나머지 기간에 대한 만큼 패널티를 지불해야 하니 약간 부담스러울 수 있다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;약정 없이 가능한데, 무료 통화와 문자&amp;nbsp;혜택이 없어지고 심카드와 가입비에 대한 초기 비용을 48.15 SGD를 추가 지불해야 한다. 통화를 조금이라도 쓴다면 약정을 하는 편이 낫고, 기간이 맞지 않아 약정을 못 채울 것 같으면 약정 없이 가는게 맞다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;내 경우는 약정에 대한 부담이 있고, 초기 비용을 지불하기가 싫어서 결국 Prepaid로 선택했는데 기존에 싱가포르 와서 멋모르고 쓰던 M1보다는 Singtel이&amp;nbsp;좀 나은것 같다.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 640px; width: 640px; height: 239px;; height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2479603F58BBD0FB19&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2479603F58BBD0FB19&quot; width=&quot;640&quot; height=&quot;239&quot; filename=&quot;PicPick_Capture_20170305_001.png&quot; filemime=&quot;image/png&quot; style=&quot;width: 640px; height: 239px;&quot; original=&quot;yes&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;데이터 기준으로 보면 위의 M1은 1GB 10불, 3GB 30불인데, 아래 Singtel은 1GB 10불 3GB 20불 5GB 30불로 1GB 이상 사용할 경우 가격도 저렴하고 선택지도 하나 더 많다. 내 경우는 1GB는 좀 모자라고 3GB는 좀 많은 그런 형편인데 이 경우 Singtel이 훨씬 낫다고 할 수 있다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 640px; width: 640px; height: 432px;; height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/224DE74C58BBD3C937&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F224DE74C58BBD3C937&quot; width=&quot;640&quot; height=&quot;432&quot; filename=&quot;PicPick_Capture_20170305_002.png&quot; filemime=&quot;image/png&quot; style=&quot;width: 640px; height: 432px;&quot; original=&quot;yes&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;아무튼 여기까지가 내가 알아본 정보&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;p.s. 매장마다 다르겠지만 prepaid 심카드 하나 사면 사은품을 준다. M1은 휴대용 배터리, Singtel은 바디워시. 리베이트의 일종이겠지...&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>생활 속/잡소리</category>
      <author>이치로</author>
      <guid isPermaLink="true">https://wiserain.tistory.com/1037</guid>
      <comments>https://wiserain.tistory.com/1037#entry1037comment</comments>
      <pubDate>Sun, 5 Mar 2017 16:57:06 +0900</pubDate>
    </item>
    <item>
      <title>유심 보관 케이스</title>
      <link>https://wiserain.tistory.com/1036</link>
      <description>&lt;p&gt;http://www.simholdercase.com&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;유심트레블러 USIM 보관함 유심칩 어댑터 케이스 IW&lt;/p&gt;&lt;p&gt;http://item2.gmarket.co.kr/item/detailview/Item.aspx?goodscode=690863840&lt;/p&gt;&lt;p&gt;http://itempage3.auction.co.kr/DetailView.aspx?itemno=B250759181&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Smart 유심보관케이스&lt;/p&gt;&lt;p&gt;http://ob.egsimcard.net/goods/view?no=47&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Comsmart&lt;/p&gt;&lt;p&gt;http://comsmart.co.kr/cmart/shop/item.php?it_id=1476782704&amp;amp;num=6&lt;/p&gt;&lt;p&gt;http://comsmart.co.kr/cmart/shop/item.php?it_id=1476782401&amp;amp;num=7&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>지름신/지를까?</category>
      <author>이치로</author>
      <guid isPermaLink="true">https://wiserain.tistory.com/1036</guid>
      <comments>https://wiserain.tistory.com/1036#entry1036comment</comments>
      <pubDate>Wed, 1 Feb 2017 01:22:26 +0900</pubDate>
    </item>
    <item>
      <title>tvheadend 시스템 구축하기</title>
      <link>https://wiserain.tistory.com/1032</link>
      <description>&lt;p&gt;tvheadend는 TV를 볼 수 있게 해주는 어플리케이션이다. 기본적으로는 TV 신호를 캡쳐하여 디지털 스트림으로 바꿔주는 TV 수신카드가 필요하지만 IPTV 시대에는 수신카드 없이도 ISP에서 제공하는 멀티캐스트 비디오 데이터를 캡쳐해서 자기만의 웹주소(http)로 볼 수 있도록 재전송(재송출)하거나 실시간으로 녹화하는 DVR(or PVR) 기능을 내장하고 있다.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;아는 사람만 아는 하지만 누구나 혹하는 매력적인 시스템이지만, 방법이 간단하지 않고 과정이 복잡하며 정보가 파편화 되어 있는 실정이다. 이 글에서는 모든 정보를 제공하기 보다는 전체적으로 어떤 과정을 거쳐서 구축이 되는지 그리고 각각은 어떤 기능을 하는지 설명하여 처음 시도하는 사람의 이해를 조금이라도 돕고자 한다.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;들어가기에 앞서 본 내용은 &lt;b&gt;개인적인 사용&lt;/b&gt;을 전제하며 이로 발생할 수 있는 문제는 &lt;b&gt;본인 책임&lt;/b&gt;임을 밝힙니다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;시스템의 구축은 다음과 같은 순서로 보통 요약할 수 있다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ol style=&quot;list-style-type: decimal;&quot;&gt;&lt;li&gt;tvheadend 어플리케이션 설치&lt;/li&gt;&lt;li&gt;omvs를 통한 채널 주소 캡쳐&lt;/li&gt;&lt;li&gt;tvheadend에 입력하기 위한 채널 리스트 정리&lt;/li&gt;&lt;li&gt;tvheadend에 입력&lt;/li&gt;&lt;li&gt;EPG 구축&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;1. tvheadend 어플리케이션 설치&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;재전송과 녹화 등의 기능을 제공하는 핵심 어플리케이션을 설치한다. 하는 일이 서버이기 때문에 다양한 하드웨어에 설치되어 운용되고 있는데, Synology NAS나 라즈베리파이, 데비안 기반의 리눅스가 많이 쓰이고 있다. Synology NAS에 대한 설치는 &lt;a href=&quot;https://nas.moe/archives/1517&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;여기&lt;/a&gt;를 참고한다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul style=&quot;list-style-type: disc;&quot;&gt;&lt;li&gt;요지는 tvheadend-testing을 설치하는 것 (&lt;strike&gt;왜 그냥 tvheadend가 아닌 testing 버전을 설치해야하는지 이유를 모르겠다.&lt;/strike&gt; 삽질을 하다보니 알아냈다. &lt;a href=&quot;https://tvheadend.org/projects/tvheadend/wiki/AptRepository&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;여기&lt;/a&gt;를 보면 빌드 타입에 따라 release, stable, unstable, obsolete가 있는데 release or stable과 unstable과의 간극이 너무 크다. 예를 들면 m3u 파일을 통한 채널 일괄 등록 같은 기능이 지원되지 않는다거나... 크게 불안정하지는 않으니 unstable=testing 버전을 쓰도록 한다.)&amp;nbsp;&lt;/li&gt;&lt;li&gt;그리고 로그인 문제가 있으니 구버전을 수동 설치하고 업그레이드 하는 방식으로 설치를 진행한다. 이는 권한 때문에 발생하는 고질적인 문제인데 시놀로지에서만 발생하는 것 같기도 하다. 이 문제는 버전에 따라 발생할 수도 있고 아닐 수도 있으니 이 또한 참고 바람.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;또 하나의 주의점은 아이디/비번을 설정할 때 특수문자는 주의해야 한다. @는 나중에 http authentication에 문제를 일으킬 소지가 된다.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;2. omvs를 이용한 채널 주소 캡쳐&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;IPTV 신호는 멀티캐스트 데이터로 제공되는데 (사실 멀티캐스트 데이터가 뭔지는 모르지만 특정 가입자에게 보내는게 아니라 불특정 다수의 망 가입자에게 데이터를 전달하기 위한 방식) 우리가 사용하는 셋탑 박스는 이 데이터를 추출해서 영상신호로 바꿔서 TV에 전달해주는 것이다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;한 채널 당 한 IP로 되어 있는데 어떤 채널이 서비스 되고 있고 어떤 IP에 할당되어 있는지는 ISP에 따라 다르다. 고유의 운영 정보이기 때문에 일반적으로 공개되어 있지 않으나 omvs라는 프로그램을 통해서 채널 IP 주소와 간략한 정보(어떤 영상이 들어오는지 스크린 캡쳐)를 통해서 알 수 있다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;가이드는 &lt;a href=&quot;https://nas.moe/archives/1433&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;이 곳&lt;/a&gt;을 참고&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul style=&quot;list-style-type: disc;&quot;&gt;&lt;li&gt;omvs를 실행하는 주체가 네트워크 구조상 셋탑 박스와 동일 혹은 상위에 위치해야 한다. 셋탑박스에서 나오는 인터넷 회선은 멀티캐스트 신호를 필터링 해버리기 때문이다.&lt;/li&gt;&lt;li&gt;공유기가 omvs를 실행하는 컴퓨터의 상단에 있다면 공유기 설정에 따라 잘 안될 수 있다. 공유기마다 IPTV 관련 설정(Multicast routing, IGMP 등)이 있으니 잘 바꿔본다. 그래도 안된다면 통신사 모뎀 바로 아래에 놓고 해본다.&lt;/li&gt;&lt;li&gt;무선으로도 된다는데&amp;nbsp;나는 유선으로만 가능했다.&lt;/li&gt;&lt;li&gt;이런 프로그램을 설치할 때는 경로에 한글이 문제가 될 수 있으므로 속편히 드라이브 루트에 설치하여 사용한다.&amp;nbsp;&lt;/li&gt;&lt;li&gt;설치 및 실행에 있어 관리자 권한을 유념하도록 하고, 방화벽과 백신도 꺼야 한다고 한다. (내 경우 방화벽은 실행 시에 허용 여부를 물어보니 특별히 끌 필요가 없었고, 백신을 쓰지 않아서 해당되지 않았다.)&amp;nbsp;&lt;/li&gt;&lt;li&gt;omvs -l 0 -j 5 xxx.xxx.xxx.xxx로 해당 IP를 검색하는데 하나하나 수동으로 할게 아니니 마지막을 xxx.xxx.xxx.0/24로 두면 마지막 네번째 단위의 254개 모두를 순차적으로 검색한다. &lt;a href=&quot;http://www.clien.net/cs2/bbs/board.php?bo_table=cm_nas&amp;amp;wr_id=34434&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;참고&lt;/a&gt;&lt;/li&gt;&lt;li&gt;멀티캐스트 데이터는 한 채널당 10Mbps가 넘기 때문에 (&lt;a href=&quot;http://www.netmanias.com/ko/?m=view&amp;amp;id=blog&amp;amp;no=7515&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;참고&lt;/a&gt;) -j 파라미터를 많이 두면 공유기가 트래픽을 감당하지 못할 수 있다. 다시말해 채널이 제대로 검색되지 않을 수 있다. -j 2 정도가 추천값&lt;/li&gt;&lt;li&gt;관례적으로 첫번째 단위 224~239가 Multicasting으로 할당되어 있으니 대략적으로 추측할 수 있다. (&lt;a href=&quot;http://www.vlsm-calc.net/ipclasses.php&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;참고&lt;/a&gt;) 근데 뭐 앞자리를 몰라서 omvs를 쓰는 것은 아니니 크게 도움이 되진 않겠지...&lt;br /&gt;&lt;/li&gt;&lt;li&gt;정확한 주소대는 &lt;a href=&quot;http://www.netmanias.com/ko/?m=view&amp;amp;id=blog&amp;amp;no=7515&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;netmanias&lt;/a&gt;나 &lt;a href=&quot;http://archive.is/6gsX4&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;여기&lt;/a&gt;서 볼 수 있다. 출처: &lt;a href=&quot;https://nas.moe/archives/1433&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;nas.moe 블로그 글&lt;/a&gt;에서&lt;/li&gt;&lt;li&gt;다른 ISP는 모르겠고 KT는 netmanias에 총 6개의 대역이 나와있는데, 하나의 오타가 있으니 현혹되지 말고 마지막 하나는 엮인글을 잘 찾아본다. 캡쳐된 스크린샷 기준으로 399개 정도 나온 것 같다. (399개면 뭐하나 보는 건 정해져 있는데...)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;3. m3uman을 이용한 채널 정리&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;프로그램은 &lt;a href=&quot;http://clien.net/cs2/bbs/board.php?bo_table=cm_nas&amp;amp;wr_id=31295&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;여기&lt;/a&gt;를 참고. 사용 방법과 팁은 다음과 같다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul style=&quot;list-style-type: disc;&quot;&gt;&lt;li&gt;omvs를 통해 얻은 채널 리스트 파일을 원하는 갯수만큼 열기를 통해서 자체 db에 로드할 수 있고 이 상태는 초기화를 하기 전까지는 계속 유지된다.&lt;/li&gt;&lt;li&gt;자동 매칭 기능은 어떤 기능이지 아직 모르지만 왼쪽 리스트의 각 채널을 선택해서 스크린 샷을 확인하고 매칭되는 채널을 오른쪽에서 검색해서 더블 클릭하면 왼쪽에 정보가 들어간다.&amp;nbsp;&lt;/li&gt;&lt;li&gt;저장을 하면 메인 창에 나오는 리스트의 상태를 저장한다. 따라서 필요없는 채널은 지우거나 해상도에 맞게 분류하여 원하는 대로 수정한 다음 저장하면 된다.&lt;/li&gt;&lt;li&gt;삭제하고 저장하려면 실패하는 경우가 있는데 껐다 켜야 되는 경우가 있다.&lt;/li&gt;&lt;li&gt;해상도에 따라 분류하는 것이 유용한데, 문제는 각 하위 항목의 갯수가 많거나하면 (자세한 이유는 모르지만 버그인듯) 이 분류가 제대로 안된다. 즉, 전체!=UHD+FHD+HD+SD 그러니 각 단계가 지날 때마다 누락되는 항목은 없는지 살펴가면서 진행한다.&lt;/li&gt;&lt;li&gt;채널 수가 많으면 나중에 tvheadend로 로딩하고 epg를 연결하여 스캔할 때 시간이 오래 걸릴 수 있다. 꼭 볼 채널만 등록하는 것을 추천한다. 어차피 보는 채널은 정해져 있으니...&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;4. 채널 등록&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://psychoria.tistory.com/entry/%EC%9E%90%EC%9E%91NAS-9-Tvheadend-%EC%B1%84%EB%84%90-m3u%EB%A1%9C-%ED%95%9C-%EB%B2%88%EC%97%90-%EC%B6%94%EA%B0%80&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;여기&lt;/a&gt;에 너무 잘 정리되어 있다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul style=&quot;list-style-type: disc;&quot;&gt;&lt;li&gt;m3u 파일을 수동으로 편집할 때는 그 형식이 UTF-8 without BOM 이어야 한다. Notepad++을 이용해서 편집할 것을 추천.&amp;nbsp;&lt;a href=&quot;http://clien.net/cs2/bbs/board.php?bo_table=cm_nas&amp;amp;wr_id=33545&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;참고&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;5. EPG 구축하기&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;EPG 정보를 tvheadend가 인식할 수 있는 형식의 xml 파일로 만들어 주거나 해야하는데 여기에 &lt;a href=&quot;http://blog.neo365.net/2678594&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;몇 가지 방법&lt;/a&gt;이 있는 것 같다. (개인적으로 생각할 때) 그 중 가장 깔끔한 tv_grab_file + epg2xml을 선택했다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;먼저 epg2xml을 구성한다. 소스는 &lt;a href=&quot;https://github.com/sungpyohong/epg2xml&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;여기&lt;/a&gt;인데&amp;nbsp;아마 &lt;a href=&quot;http://clien.net/cs2/bbs/board.php?bo_table=cm_nas&amp;amp;wr_id=33181&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;클리앙의 wonipapa님&lt;/a&gt;이신듯&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;난 계정의 home 아래에 스크립트를 정리하는 편이데 폴더를 만들고 그쪽으로 이동&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;mkdir /var/services/homes/계정명/scripts/tvh&lt;/p&gt;&lt;p&gt;cd /var/services/homes/계정명/scripts/tvh&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;파일이 두개만 있으면 되므로 git 보다는 그냥 수동 다운로드&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;wget -q -&amp;nbsp;https://raw.githubusercontent.com/sungpyohong/epg2xml/master/Channel.json&lt;/p&gt;&lt;p&gt;wget -q - https://raw.githubusercontent.com/sungpyohong/epg2xml/master/epg2xml.py&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;python 2.7 기반이므로 설치해야한다. DSM 6.0에 기본으로 깔려 있지만, 기존에 사용하던 &lt;a href=&quot;http://wiserain.net/1028&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;entware-ng(optware)&lt;/a&gt;의 python을 쓴다.&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;opkg install python python-pip&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;권한 주고 실행해보면,&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;chmod +x epg2xml.py&lt;/p&gt;&lt;p&gt;./epg2xml.py&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;설치가 안된 모듈이 있는데 하나씩 설치해 준다. 내 경우는...&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;pip install requests beautifulsoup4&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;lxml도 깔아야 되는데, entware-ng에서는 직접 컴파일 해서 깔아야 한다. &lt;a href=&quot;https://github.com/Entware-ng/Entware-ng/issues/303&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;안그러면 에러가...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;gcc깔고, 헤더 세팅 해주고(이게 꼭 필요한지는 잘...), 또 &lt;a href=&quot;https://github.com/Entware-ng/Entware-ng/issues/201&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;libxml 헤더 링크 빠진거 걸어주고&lt;/a&gt;,&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;opkg install gcc&lt;/p&gt;&lt;p&gt;wget -qO- http://pkg.entware.net/binaries/armv7/include/include.tar.gz | tar xvz -C /opt/include&lt;/p&gt;&lt;p&gt;ln -s /opt/include/libxml2/libxml/ /opt/include/libxml&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;이제 실행해보면 epg 내용이 주르륵 뜬다.&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;./epg2xml.py -i KT -d&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;선택 항목이지만, &lt;a href=&quot;http://clien.net/cs2/bbs/board.php?bo_table=cm_nas&amp;amp;wr_id=33259&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;링크의 스크립트&lt;/a&gt;를 이용하면 m3u에 등록된 (enabled) 채널만 활성화하여 epg 모듈에서 가져올 수 있도록 channel.json을 자동 수정할 수 있다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;이젠 tv_grab_file을 설정한다. 먼저 다운로드 하고,&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;wget -q - https://raw.githubusercontent.com/nurtext/tv_grab_file_synology/master/src/remote/tv_grab_file&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8번째 줄을 수정한다. 경로는 적당히 수정...&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;/opt/bin/python /var/services/homes/wiserain/scripts/tvh/epg2xml.py -i KT -d&lt;/p&gt;&lt;/div&gt;&lt;p&gt;43번째 줄 printf 부분을 수정한다. 표시될 이름으로...&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;printf &quot;KT&quot;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;복사하고 권한 주기&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;cp tv_grab_file /usr/bin&lt;/p&gt;&lt;p&gt;chmod +x /usr/bin/tv_grab_file&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;이제 tvheadend 패키지를 재시작 해보면 Configuration &amp;gt;&amp;gt; Channel/EPG &amp;gt;&amp;gt; EPG Grabber Modules에 Internal: XMLTV: KT가 보인다. 혹시 EPG Grabber Modules가 안보이면 &lt;a href=&quot;http://www.clien.net/cs2/bbs/board.php?bo_table=cm_nas&amp;amp;wr_id=33669&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;참고&lt;/a&gt;. 이후 과정은 &lt;a href=&quot;http://daksha.tistory.com/65&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;여기&lt;/a&gt;나 &lt;a href=&quot;http://psychoria.tistory.com/entry/%EC%9E%90%EC%9E%91NAS-10-Tvheadend%EC%97%90-EPG-%EC%A0%81%EC%9A%A9%ED%95%98%EA%B8%B0&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;여기&lt;/a&gt;에 잘 나와 있다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>생활 속/홈서버</category>
      <category>DSM</category>
      <category>EPG</category>
      <category>epg2xml</category>
      <category>Tvheadend</category>
      <author>이치로</author>
      <guid isPermaLink="true">https://wiserain.tistory.com/1032</guid>
      <comments>https://wiserain.tistory.com/1032#entry1032comment</comments>
      <pubDate>Sat, 3 Dec 2016 18:38:10 +0900</pubDate>
    </item>
    <item>
      <title>시놀로지 메인 하드디스크 변경하기</title>
      <link>https://wiserain.tistory.com/1030</link>
      <description>&lt;p&gt;시놀로지에서 (고용량의) 새 하드를 추가하면 volume2나 3로 붙는데 새 하드디스크를 volume1로 사용하고 싶을 수 있다. 이때 RAID1를 거쳐서 원하는 상태로 만들 수 있다. 따라서 슬롯이 2개 이상이어야 하며, DSM 4, 5, 6에서 모두 잘 동작하는 것으로 알려져 있다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://forum.synology.com/enu/viewtopic.php?t=94570&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;여기&lt;/a&gt;를 보면 대략적인 과정이 있다. &lt;a href=&quot;http://mycbl.blogspot.kr/2014/02/synology-change-raid1-degraded-to-basic.html&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;추가 정보&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;추가적인 팁으로 RAID1으로 빌딩하다보면 시간이 매우 오래 걸리는데, 최저 속도를 올려주면 2배에서 3배 가까이 속도 향상을 꾀할 수 있다. &lt;a href=&quot;http://wiki.aissii.com/2527&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;참고&lt;/a&gt;&lt;a href=&quot;http://wiki.aissii.com/2527&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;1&lt;/a&gt; &lt;a href=&quot;https://h2kfl.com/post/282&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;참고2&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;RAID를 웹에서 설정해 놓고 SSH로 접속해서 아래 명령어를 치면 진행률과 속도를 볼 수 있다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;cat /proc/mdstat&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;내 경우에는 정확히 기억나지 않지만 20,000K/Sec 그러니까 20M/Sec였는데 아래 명령어로 최저 속도를 올려주니 80M/Sec에 육박하는 정도로 개선되었다. RAID5의 경우에는 STRIP size 설정에 더 많은 영향을 받으며, 이 경우 CPU와 RAM 등 시스템 자원에 따라 속도가 달라진다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;echo 100000 &amp;gt;/proc/sys/dev/raid/speed_limit_min&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>생활 속/홈서버</category>
      <category>raid</category>
      <category>synology</category>
      <author>이치로</author>
      <guid isPermaLink="true">https://wiserain.tistory.com/1030</guid>
      <comments>https://wiserain.tistory.com/1030#entry1030comment</comments>
      <pubDate>Sat, 26 Nov 2016 08:02:54 +0900</pubDate>
    </item>
    <item>
      <title>[Synology DSM 6] 언제나 https로 리다이렉트 하기</title>
      <link>https://wiserain.tistory.com/1029</link>
      <description>&lt;p&gt;일단 출처는 &lt;a href=&quot;https://forum.synology.com/enu/viewtopic.php?t=115182&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;시놀로지 포럼&lt;/a&gt;이다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;(뭐가 뭔지 잘은 모르지만) https가 좋다고 하니 (왠지 안전한 느낌!) 클릭 몇 번으로 http에서 https로 왔고, 브라우저에서 초록색 자물쇠를 만들기 위해서 인증서도 깔았고, 거의 완벽한 것 같다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;이제 무조건 https로만 접속했으면 좋겠는데 이상하게 http로 접속하는 경우가 많다. https://를 꼭 붙여주지 않으면 안되더라 이 말이다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;이럴 때는 SSH로 들어가서 /usr/syno/share/nginx/WWWService.mustache 파일을 수정하면 된다. (맨 처음 언급한 링크에 단계별로 아주 자세하게 나와 있으니 참고)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>생활 속/홈서버</category>
      <category>synology</category>
      <category>시놀로지</category>
      <author>이치로</author>
      <guid isPermaLink="true">https://wiserain.tistory.com/1029</guid>
      <comments>https://wiserain.tistory.com/1029#entry1029comment</comments>
      <pubDate>Fri, 25 Nov 2016 08:59:14 +0900</pubDate>
    </item>
  </channel>
</rss>