We collect the media server with our own hands from what we found in the "bins of the homeland"

    The crisis! Little work, a lot of time ... no one bothers to clean up the bins.

    The result is a full-fledged multimedia computer with a huge screen, wireless keyboard, mouse, WiFi. With a torrent rocking chair, file trash, personal web server. And all this under the control of the terrible Linux operating system. Compact body and noise level does not interfere with sleep.

    We have available:

    - Samsung DVD DVD-711 player (purchased for
    500 rubles ) - Refurbished Ecs Ht2000 motherboard (found in the bins of the motherland)
    - AMD Athlon 64 X2 4200+ processor (found in the bins of the motherland)
    - ASUS PCI-E 512MB video card “EN210 Silent / DI / 512MD3 (LP) ”(GeForce 210, DDR3, D-Sub, DVI, HDMI) (purchased)
    - WiFi DWL-G510 card (found in the bins of the homeland)
    - Western Digital“ Caviar Green WD20EARS ”2000GB hard drive, 64MB ( SATA II) (found in the bins of the homeland)
    - SATA controller PCI-E x1, a Silicon Image Sil3132 chip (found in the bins of the homeland)
    - Power supply, 300W (found in the bins of the homeland)
    - DVD ± RW drive Sony NEC “AD-7670S” for laptop, black (SATA) (purchased)
    - A wireless keyboard with a mouse from A4tech (found in the bins of the homeland)
    - MCE Microsoft Remote (purchased)

    We remove and store the filling of the former player, it will come in handy;)

    We reflect on the arrangement of elements. The case is small and everything does not fit.

    1. image

    2. image

    The main task is to minimize noise, which means the number of fans. It is ideal to achieve passive cooling, but this is not realistic. :(
    - The first solution is to start the flow from the 80mm fan through the power supply, processor, video card and put it out through the cover.
    - The second option is to put a 120mm fan above the power supply, after cutting off the radiators in it. This option is much better, but the height increases body. The level of such fan noise will be so small that being in complete silence at the distance of 2 meters, you would have heard only in principle and so does not hurt the hard disk chatter. But with him you can fight soundproofed..
    As it turned out I need not have failure Als from the second option.
    On the front panel we display the power button and 2 LEDs (hdd + power). They blink so nicely =)

    As practice has shown, it is a completely working solution. At maximum CPU load, the temperature was kept just below 60 degrees.

    The radiator interferes with the sata controller, we cut off the extra 1cm:

    We put sound insulation on the bottom of the case, 5mm thick material. I did not process the lid.

    DVD drive space is verysmall, a full DVD does not fit. RAM and processor heatsink are interfering. Without thinking much, I bought a drive from a laptop. Power connector, different from standard SATA. I don’t want to buy an adapter, it’s expensive and incomprehensible where to buy it. Turning the Internet floor for circuits and pinouts of these connectors, I cut the standard to the desired state, connected ... WORKS! I’m making entries in a draft writing down how I got to the pen and reading opennet along the way ... Suddenly I come across the following article: '(
    Crazy pens. Power for Slimline SATA drives You
    can not read the article, I’ll only give a photo of the result:

    We collect the beta version, look for errors.
    Correct, complete the design 3 usb ports on the left side, one is busy under the keyboard with the mouse

    Weather for a week:

    Torrent management plugin, transmission:

    Resource plugin with online movies:


    Everything is fine here, download xbmc live-CD, install, answer standard questions, ubunts, reboot and enjoy life. Everything works out of the box!

    For greater convenience and increased functionality, you can add the add-on repository taken from xbmc.ru. code.google.com/p/seppius-xbmc-repo
    Additional plugins make it possible to watch movies on ivi.ru and other resources. Listen to internet radio and radio over the internet! And all this sitting on the couch, controlling the remote control.

    Testing under load:

    VDPAU greatly relieves the percent when watching movies in 1080p format, the processor temperature rose to 45 degrees, the temperature of the Nvidia chip 63-65 degrees. On ordinary films, 40/53 respectively.


    Through the console, we raise the Samba server with the command:
    sudo apt-get install samba,
    edit /etc/samba/smb.conf

    security = share

    and add lines to the end of the file. Enter the primitive settings of the ball in the config with full access to the folders (internal lokalka behind the router is not scary). And quickly throw on the screw fresh films and favorite music.

    comment = Videos
    browseable = yes
    writable = yes
    path = /home/user/Videos
    guest ok = yes
    guest only = yes
    create mode = 770
    directory mode = 770
    force user = user

    comment = Torrents
    browseable = yes
    writable = yes
    path = /home/user/Torrents
    guest ok = yes
    guest only = yes
    create mode = 770
    directory mode = 770
    force user = debian-transmission

    comment = HD Films
    browseable = yes
    writable = yes
    path = /home/user/HD_Video
    guest ok = yes
    guest only = yes
    create mode = 770
    directory mode = 770
    force user = user

    comment = Music
    browseable = yes
    writable = yes
    path = /home/user/Music
    guest ok = yes
    guest only = yes
    create mode = 770
    directory mode = 770
    force user = user

    comment = Pictures
    browseable = yes
    writable = yes
    path = /home/user/Pictures
    guest ok = yes
    guest only = yes
    create mode = 770
    directory mode = 770
    force user = user


    In the same way, the Transmission daemon was raised and torrent files for downloading were added through webgui.
    Console, command: sudo apt-get install transmission-daemon
    I have the config file, /etc/transmission-daemon/settings.json: Changed the settings: - "preallocation": 2, - to avoid fragmentation with a large number of downloads. - "umask": 0, - changes the rights to the created files / folders = 777 I also recommend installing munin and webmin. The first is monitoring the system in graphs. And the second is en.wikipedia.org/wiki/Webmin

    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "",
    "bind-address-ipv6": "::",
    "blocklist-enabled": true,
    "blocklist-url": "http://www.example.com/blocklist",
    "cache-size-mb": 2,
    "dht-enabled": true,
    "download-dir": "/home/user/Torrents",
    "download-limit": 100,
    "download-limit-enabled": 0,
    "encryption": 1,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/home/user/Downloads",
    "incomplete-dir-enabled": false,
    "lazy-bitfield-enabled": true,
    "lpd-enabled": true,
    "max-peers-global": 200,
    "message-level": 2,
    "open-file-limit": 32,
    "peer-limit-global": 200,
    "peer-limit-per-torrent": 60,
    "peer-port": 11523,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": 0,
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "preallocation": 2,
    "ratio-limit": 1,
    "ratio-limit-enabled": true,
    "rename-partial-files": true,
    "rpc-authentication-required": true,
    "rpc-bind-address": "",
    "rpc-enabled": true,
    "rpc-password": "**********",
    "rpc-port": 9091,
    "rpc-username": "transmission",
    "rpc-whitelist": ",",
    "rpc-whitelist-enabled": false,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "speed-limit-down": 900,
    "speed-limit-down-enabled": true,
    "speed-limit-up": 100,
    "speed-limit-up-enabled": false,
    "start-added-torrents": true,
    "trash-original-torrent-files": true,
    "umask": 0,
    "upload-limit": 100,
    "upload-limit-enabled": 0,
    "upload-slots-per-torrent": 14






    Using Linux in such a system provides unlimited possibilities. You can make a wonderful and high-performance router / DC hub / IRC / jabber / game server, etc.

    To make an access point from a WiFi card, hands did not reach. And I don’t want to be irradiated at such a short distance.
    Once I played with Ubiquiti NanoStation2, after turning it on I suddenly got a headache. I had to quickly climb into the admin panel and reduce the power from 26dbm to 17dbm. Head gradually ceased to hurt.
    Now, with caution, I look at the close location of WiFi routers.

    For reference:
    In Wi-Fi routers, there is a forced restriction of 50milivat + 2dB antenna. In total, it gives no more than 100 militat. Which complies with European standards. By default, Nano2 had 26 dBm + 10dB antenna.
    27 dBm 500 milliwatts
    26 dBm 400 milliwatts
    25 dBm 320 milliwatts
    24 dBm 250 milliwatts
    23 dBm 200 milliwatts { Typical output from WLAN devices at 915MHz
    22 dBm 160 milliwatts
    21 dBm 130 milliwatts
    20 dBm 100 milliwatts { Maximum ERP allowed by E.T.S.I. In Europe

    Gathering such a media server, take a closer look at the Zotac GeForce 9300-ITX Wi-Fi. Quite an interesting solution, compact and there are enough opportunities for implementation.

    In principle, everything, enjoy your viewing. All in your hands!

    PS: After a month of operation, the 2nd RAM strip and DVD drive periodically ceased to be detected. This is fate, we will change :)

    Also popular now: