Top/UNInCHU/Setup

¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê

¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤ÎÃæ¤Î¥Õ¥©¥ë¥À̾¤¬ÆüËܸì¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
¥³¥ó¥½¡¼¥ë¤Ç»È¤¦¤³¤È¤¬Â¿¤¤¤Î¤Ç¡¢Ëè²óÆüËܸì¤ÏÆþ¤ì¤Æ¤é¤ì¤Ê¤¤¤Î¤Ç¡¢±Ñ¸ì̾¤Ë¤Ê¤ª¤·¤Þ¤¹¡£

¥³¥ó¥½¡¼¥ë¤«¤é²¼µ­¤òÆþÎϤ¹¤ë¤È¡¢ÀßÄ꤬½ñ¤­´¹¤ï¤ë¤È¤È¤â¤Ë¡¢¥Ç¥£¥ì¥¯¥È¥ê̾¤â±Ñ¸ì̾¤Ë½ñ¤­´¹¤ï¤ê¤Þ¤¹¡£*1

$ LANG=C xdg-user-dirs-gtk-update

¤³¤ÎÁàºî¤Ï¥¤¥ó¥¹¥È¡¼¥ë¸å¤Ë°ìÈֺǽé¤Ë¤·¤Æ¤ª¤¤¤¿Êý¤¬¤è¤¤¤Ç¤¹¡£
¸µ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥Õ¥¡¥¤¥ë¤¬Æþ¤Ã¤Æ¤¤¤ë¤È¡¢¸µ¥Ç¥£¥ì¥¯¥È¥ê¤Ï¤½¤Î¤Þ¤Þ»Ä¤Ã¤Æ¡¢±Ñ¸ì̾¤Î¥Ç¥£¥ì¥¯¥È¥ê¤¬ºî¤é¤ì¤Þ¤¹¡£

sudo

sudo¤¬»È¤¨¤ë¤è¤¦¤Ë¡¢¸½ºß¥í¥°¥ª¥ó¤·¤Æ¤¤¤ë¥æ¡¼¥¶¤òÀßÄê¤ËÄɲä·¤Þ¤¹¡£*2

$ su -
# visudo
  • ½¤ÀµÁ°
    ...
    # User privilege specification
    root    ALL=(ALL:ALL) ALL
    ...
  • ½¤Àµ¸å
    ...
    # User privilege specification
    root    ALL=(ALL:ALL) ALL
    ¥æ¡¼¥¶Ì¾ ALL=(ALL:ALL) ALL
    ...

NTP

¥Ç¥¹¥¯¥È¥Ã¥×¤Î¾åÃʤˤ¢¤ë»þ·×¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¡¢»þ·×¤Î¥·¥¹¥Æ¥àÀßÄ꤬³«¤¤¤Æ¡¢¥Í¥Ã¥È¥ï¡¼¥¯¤È¤ÎƱ´ü¤¬¤Ç¤­¤ë¤è¤¦¤ÊÀßÄ꤬¤¢¤ê¤Þ¤¹¤¬¡¢¤É¤¦¤ä¤é¤³¤ì¤À¤±¤Ç¤ÏƱ´ü¤¬¤Ç¤­¤Ê¤¤¤è¤¦¤Ç¤¹¡£
¤ª¤È¤Ê¤·¤¯NTP¤ÎÀßÄê¤ò¤·¤Þ¤¹¡£

  • 1.¤Þ¤º¤Ï¸µÀßÄê¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤òºî¤ê¤Þ¤¹¡£
    $ su -
    # apt-get install ntp
    # cd /etc
    # cp -p ntp.conf ntp.conf.org
  • 2.ÀßÄê¤ò½¤Àµ¤·¤Þ¤¹¡£
  • ½¤ÀµÁ°
    ...
    # You do need to talk to an NTP server or two (or three).
    #server ntp.your-provider.example
    
    # pool.ntp.org maps to about 1000 low-stratum NTP servers.  Your server will
    # pick a different set every time it starts up.  Please consider joining the
    # pool: <http://www.pool.ntp.org/join.html>
    
    server 0.debian.pool.ntp.org iburst
    server 1.debian.pool.ntp.org iburst
    server 2.debian.pool.ntp.org iburst
    server 3.debian.pool.ntp.org iburst
    
    ...
  • ½¤Àµ¸å
    ...
    # You do need to talk to an NTP server or two (or three).
    #server ntp.your-provider.example
    
    # pool.ntp.org maps to about 1000 low-stratum NTP servers.  Your server will
    # pick a different set every time it starts up.  Please consider joining the
    # pool: <http://www.pool.ntp.org/join.html>
    
    server ntp.jst.mfeed.ad.jp iburst
    server ntp.nict.jp iburst
    server ntp.ring.gr.jp iburst
    
    ...

¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥Þ¥ë¥Á¥Õ¥£¡¼¥É¼Ò¡¢ ÆÈΩ¹ÔÀ¯Ë¡¿Í¾ðÊóÄÌ¿®¸¦µæµ¡¹½¡¢ Ring Server Project ¤Î£³¥«½ê¤òÅÐÏ¿¤·¤Æ¤¤¤Þ¤¹¡£

ÅÐÏ¿¤¹¤ë£Î£Ô£Ð¥µ¡¼¥Ð¤Ï¡¢¤³¤Á¤é¤Î¥µ¥¤¥È¡Öhttp://wiki.nothing.sh/page/NTP¡×¤ò»²¹Í¤Ë¤·¤Þ¤·¤¿¡£
¥Í¥Ã¥È¥ï¡¼¥¯Åª¤Ë¶á¤¤¤È¤³¤í¤¬Îɤ¤¤è¤¦¤Ç¤¹¤Î¤Ç¡¢¤µ¤é¤Ë¼«Ê¬¤Î»È¤Ã¤Æ¤¤¤ë¥×¥í¥Ð¥¤¥À¤Î£Î£Ô£Ð¥µ¡¼¥Ð¤âÅÐÏ¿¤·¤Æ¤¤¤Þ¤¹¡£¡Ê¾åµ­ÀßÄêÎ㤫¤é¤Ï¾Êά¤·¤Þ¤·¤¿¡Ë

  • 3.ntpd¤òºÆµ¯Æ°
    # /etc/init.d/ntp restart
    [ ok ] Stopping NTP server: ntpd.
    [ ok ] Starting NTP server: ntpd.
  • 4.Ʊ´ü¾õ¶·¤ò³Îǧ*3
    $ ntpq -p
        remote           refid      st t when poll reach   delay   offset  jitter
    ==============================================================================
    +ntp.jst.mfeed.a 172.29.2.50      2 u    6   64   17   19.686    2.260   0.192
    *ntp.nict.jp     .NICT.           1 u   44   64    7   21.468    1.970   0.212
    +ntp.ring.gr.jp  133.243.238.163  2 u   46   64   17   21.299    1.918   0.276

̵ÀþLAN

Debian¤ÎWiki¤ò»²¹Í¤Ë¤·¤Þ¤·¤¿¡£

  • 1.¤Þ¤º¤Ï¸µÀßÄê¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤òºî¤ê¤Þ¤¹¡£
    $ su -
    # cd /etc/apt
    # cp -p sources.list sources.list.org
  • 2.ÀßÄê¤ò½¤Àµ¤·¤Þ¤¹¡£
  • ½¤ÀµÁ°
    ...
    deb http://ftp.jp.debian.org/debian/ wheezy main 
    deb-src http://ftp.jp.debian.org/debian/ wheezy main 
    
    deb http://security.debian.org/ wheezy/updates main 
    deb-src http://security.debian.org/ wheezy/updates main 
    ...
  • ½¤ÀµÁ°
    ...
    deb http://ftp.jp.debian.org/debian/ wheezy main contrib non-free
    deb-src http://ftp.jp.debian.org/debian/ wheezy main contrib non-free
    
    deb http://security.debian.org/ wheezy/updates main contrib non-free
    deb-src http://security.debian.org/ wheezy/updates main contrib non-free
    ...

¡Öcontrib non-free¡×¤Îʸ»ú¤òÄɲä·¤Þ¤¹¡£

  • 3.firmware-iwlwifi¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë
    # apt-get update
    # apt-get install firmware-iwlwifi

¥Ñ¥Ã¥±¡¼¥¸¥ê¥¹¥È¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤·¤Æ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£

  • 4.¥Ç¥Ð¥¤¥¹¤òǧ¼±¤¹¤ë
    # modprobe -r iwlwifi ; modprobe iwlwifi

ºÆµ¯Æ°¤·¤Æ¤â¤¤¤¤¤Ç¤¹¤±¤É¡£
¤¢¤È¤Ï¥Ç¥¹¥¯¥È¥Ã¥×¤Î¥·¥¹¥Æ¥àÀßÄ꤫¤é¡¢ÌµÀþLAN¤ÎÀßÄê¤ò¤·¤Þ¤¹¡£
¤È¤¤¤Ã¤Æ¤â¡¢¡ÖÍ­¸ú¡×¤Ë¤·¤Æ¥Ñ¥¹¥Õ¥ì¡¼¥º¤òÆþ¤ì¤ì¤Ð¤Ä¤Ê¤¬¤ê¤Þ¤¹¡£

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥ê¥ó¥¿

»ÈÍѤ·¤Æ¤¤¤ë¥×¥ê¥ó¥¿¤Ï¡¢Brother DCP-7065DN ¤Ç¤¹¡£
¹¬¤¤¡¢¥Ö¥é¥¶¡¼¼Ò¤«¤éLinux¸þ¤±¤Î¥É¥é¥¤¥Ð¤¬½Ð¤Æ¤¤¤ë¤Î¤Ç¡¢¤½¤Á¤é¤ò»È¤¤¤Ä¤Ä¡¢
¥×¥ê¥ó¥¿¥Ç¡¼¥â¥ó¤Î¡ÖCUPS¡×¤ÎÀßÄê¤ò¤·¤Þ¤¹¡£

  • brother-udev-rule-type1-1.0.0-1.all.deb
  • cupswrapperDCP7065DN-2.0.4-2.i386.deb
  • dcp7065dnlpr-2.1.0-1.i386.deb*4
  • 2.¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë
    # dpkg -i brother-udev-rule-type1-1.0.0-1.all.deb
    # dpkg -i cupswrapperDCP7065DN-2.0.4-2.i386.deb
    # dpkg -i dcp7065dnlpr-2.1.0-1.i386.deb
  • 3.CUPS¤ÎÀßÄê*5
  1. ¥Ö¥é¥¦¥¶¤«¤é¡¢http://localhost:631/ ¤Ë¥¢¥¯¥»¥¹¡£
  2. ¡Ö´ÉÍý¡×¥Ú¡¼¥¸¤Ë°ÜÆ°
  3. ¡Ö¥×¥ê¥ó¥¿¡¼¤ÎÄɲáץܥ¿¥ó¤ò²¡¤¹
  4. ¡Ö¤½¤Î¾¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥×¥ê¥ó¥¿¡×¢ª¡ÖLPD/LPR ¥Û¥¹¥È¤Þ¤¿¤Ï¥×¥ê¥ó¥¿¡×¤òÁªÂò¤·¤Æ¡¢¼¡¤Ë¿Ê¤à
  5. ¡ÖÀܳ¡×¤Ë°Ê²¼¤òÀßÄꤷ¤Æ¡¢¼¡¤Ë¿Ê¤à*6
    lpd://192.168.x.x/binary_p1
  6. ¡Ö̾Á°¡ÊÎ㡧Brother_DCP-7050DN¡Ë¡×¡ÖÀâÌÀ¡ÊÎ㡧¥Í¥Ã¥È¥ï¡¼¥¯¥×¥ê¥ó¥¿¡Ë¡×¡Ö¾ì½ê¡ÊÎ㡧¶õÇò¡Ë¡×¤òÆþÎϤ·¤Æ¡¢¼¡¤Ë¿Ê¤à
  7. ¡Ö¥á¡¼¥«¡¼¡ÊÎ㡧Brother¡Ë¡×¤È¡Ö¥â¥Ç¥ë¡ÊÎ㡧DCP7065DN for CUPS¡Ë¡×¤ò¡¢¥×¥ê¥ó¥¿¤Ë¹ç¤ï¤»¤ÆÀßÄꤷ¤Æ¡¢¼¡¤Ë¿Ê¤à*7

°Ê¾å¤ÇÀßÄ괰λ¤Ç¤¹¡£

¡Ö¥×¥ê¥ó¥¿¡¼¡×¥Ú¡¼¥¸¤Ë°Ü¤Ã¤Æ¡¢ÅÐÏ¿¤·¤¿¥­¥å¡¼Ì¾¡Ê¤³¤³¤Ç¤Ï Brother_DCP-7050DN¡Ë¤òÁªÂò¡£
¡Ö¥á¥ó¥Æ¥Ê¥ó¥¹¡×¤Î¥³¥ó¥Ü¥Ü¥Ã¥¯¥¹¤«¤é¡Ö¥Æ¥¹¥È¥Ú¡¼¥¸¤Î°õºþ¡×¤ò¤¹¤ë¤È¡¢°õºþ¤Ç¤­¤Þ¤¹¡£

»²¹Í

  • /etc/cups/printers.conf ¤ÎÆâÍÆ
    # Printer configuration file for CUPS v1.5.3
    # Written by cupsd
    # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
    <Printer Brother_DCP-7065DN>
    UUID urn:uuid:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    Info ¥Í¥Ã¥È¥ï¡¼¥¯¥×¥ê¥ó¥¿
    MakeModel Brother DCP7065DN for CUPS
    DeviceURI lpd://192.168.x.x/BINARY_P1
    State Idle
    StateTime xxxxxxxxxx
    Type xxxxxxx
    Accepting Yes
    Shared No
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy stop-printer
    Attribute marker-colors \#000000,#000000
    Attribute marker-levels -1,97
    Attribute marker-names Black Toner Cartridge,Drum Unit
    Attribute marker-types toner,opc
    Attribute marker-change-time 1402746401
    </Printer>

UNInCHU

2014-06-15 (Æü) 18:18:44


*1 »²¹Í¡§http://d.hatena.ne.jp/simabuki/20110601/1306922619
*2 »²¹Í¡§http://www.ep.sci.hokudai.ac.jp/~epwww/dvlop/sudo.html
*3 ÀèƬ¤Îµ­¹æ¤Î¸«Êý»²¹Í¡§http://nobuit.blog56.fc2.com/blog-entry-142.html
*4 32bitÈǥ饤¥Ö¥é¥ê¤¬¤Ê¤¤¤È¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¾ì¹ç¤Ï¡¢ÊÌ¥Ú¡¼¥¸¤Ç¾Ò²ð¤ÎMPLABX¤Î¾Ò²ð¤Ë½ñ¤¤¤¿¡¢i386¥é¥¤¥Ö¥é¥ê¤ò¥¤¥ó¥¹¥È¡¼¥ë¸å¤Ë¼Â¹Ô¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤
*5 »²¹Í¡§http://www.letstryit.net/2010/03/linux-cups.html
»²¹Í2¡§http://bleedux.wordpress.com/2011/08/01/brother-dcp-7065dn-receiving-data-but-not-printing/

*6 DCP-7065DNËÜÂΤ˥֥饦¥¶¤Ç¥¢¥¯¥»¥¹¤¹¤ë¤È¡¢¡Öbinary_p1¡×¤ò¤Ï¤¸¤á¤È¤·¤¿¥­¥å¡¼Ì¾¤¬²ò¤ê¤Þ¤¹¡£¤Û¤«¤ËWindowsPC¤«¤é¤âÀܳ¤·¤Æ¤¤¤ì¤Ð¡¢¥×¥ê¥ó¥¿¤Î¥×¥í¥Ñ¥Æ¥£¤ÎÆâÍƤ⻲¹Í¤Ë¤Ê¤ê¤Þ¤¹¡£
*7 ¥â¥Ç¥ë¤Ë¡ÖDCP7065DN for CUPS¡×¤¬¸½¤ì¤Ê¤¤¤È¤­¤Ï¡¢¤³¤Î¥Ú¡¼¥¸¤ò²¿²ó¤«¥¢¥¯¥»¥¹¤·Ä¾¤·¤Þ¤¹¡£²¿¤Ç½Ð¤Æ¤³¤Ê¤¤¤ó¤À¤í¤¦¡¦¡¦¡¦
¥È¥Ã¥×   ÊÔ½¸ Åà·ë º¹Ê¬ ÍúÎò źÉÕ Ê£À½ ̾Á°Êѹ¹ ¥ê¥í¡¼¥É   ¿·µ¬ °ìÍ÷ ¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS
Last-modified: 2014-06-15 (Æü) 18:24:20