Cov txheej txheem:
- Kauj Ruam 1: Ua kom lub zog tawm ntawm USB chaw nres nkoj rau Hard Drive kom Tshawb Pom
- Kauj ruam 2: Pib Mount Hard Drive ntawm Boot
- Kauj Ruam 3: Kho IP zoo li qub (xaiv tau)
- Kauj Ruam 4: Txhim Kho Cov Neeg Siv Torrent Transmission
- Kauj ruam 5: Nruab thiab teeb tsa DLNA Server
Video: Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs: 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Sim ua ib qho rau kuv tus kheej thiab nws ua haujlwm zoo kawg nkaus. Nws muaj peev xwm ntws HD cov yeeb yaj kiab yam tsis muaj kev lag luam thiab cov xwm txheej LEDs muab rau kuv sai li sai tau.
Kuv tau ntxiv cov theem uas kuv tau muab tso ua ke hauv qab no. Thov mus hla nws, yog tias koj xav tsim ib qho.
Sim nws thiab qhia rau kuv paub tias nws mus li cas
Tsim rooj plaub tshiab rau qhov no
Kauj Ruam 1: Ua kom lub zog tawm ntawm USB chaw nres nkoj rau Hard Drive kom Tshawb Pom
Kuv tus Pi tsis pom lub hard drive, nws tsis tau nrawm dua li..
sudo nano /boot /config.txt
ntxig hauv kab hauv qab ntawm cov ntawv
max_usb_current = 1
pom qhov no ntawm no thiab nws ua haujlwm.
Kauj ruam 2: Pib Mount Hard Drive ntawm Boot
-
Ua ntej tsim qhov taw tes
sudo mkdir /mnt /disk1
-
Kuv tsav yog ntfs li
sudo apt-tau nruab ntfs-3g -y
- Tam sim no txuas lub cuab yeej thiab pom yog tias lub cuab yeej tshiab tau qhia hauv qab /dev saib rau qee yam xws li sda1 (qhov no tuaj yeem sib txawv)
-
Tam sim no Mount lub cuab yeej
sudo mount -o uid = pi, gid = pi /dev /sda1 /mnt /disk1
- Thiab txheeb xyuas koj tuaj yeem nyeem ntawv sau rau tsav los ntawm kev nkag mus rau /mount /disk1
-
Tam sim no peb yuav tsum nce qhov tsav no txhua lub sijhawm Pi khau raj
-
Tau txais UUID ntawm kev tsav los ntawm
- sudo ls -l/dev/disk/by -uuid/| grep sd1 | awk '{print $ 9}' (hloov sda1 rau koj lub npe khoom hauv qab /dev)
-
Tam sim no hloov kho fstab thiab ntxiv kab hauv qab no rau
- sudo nano /thiab /fstab
- UUID = "X" /mnt /usbstorage ntfs nofail, uid = pi, gid = pi 0 0 (hloov "X" nrog UUID)
-
Hmoov tsis qhov no tsis ua qhov dag vim yog qee yam yog li kuv googled thiab pom qhov no, uas ua qhov dag
Yog li kho /boot /cmdline.txt thiab ntxiv rootdelay = 5 rau hauv qab ntawm cov ntawv
-
Kauj Ruam 3: Kho IP zoo li qub (xaiv tau)
Kuv yuav nkag mus rau Pi nyob deb yog li kho IP yog qhov muaj txiaj ntsig rau kuv
sudo vi/etc/network/interfaces
thiab hloov eth0 rau
iface eth0 inet zoo li qub
chaw nyob 192.168.1.3
netmask 255.255.255.0
network 192.168.1.0
tshaj tawm 192.168.1.255
rooj vag 192.168.1.1
Qhov no yuav txawv rau koj, yog li thov hloov kho kom haum. Thov mus saib nplooj ntawv no kom paub meej ntxiv.
Kauj Ruam 4: Txhim Kho Cov Neeg Siv Torrent Transmission
-
nruab tus neeg siv khoom
sudo apt-tau nruab nruab kis-daemon
-
Tsim cov ntawv tais ceev tseg rau rub tawm cov ntawv
- mkdir -p/mnt/disk1/Torrent_inprogress
- mkdir -p/mnt/disk1/Torrent_complete
- Txhawm rau teeb tsa Kev Kis Kuv siv nplooj ntawv no, lawv muaj tus qauv teeb tsa cov ntaub ntawv los pib nrog rau ntau lub teeb tsa xa mus rau nplooj ntawv no.
-
Tam sim no teeb tsa Kev Xa mus pib nrog Pi
sudo hloov tshiab-rc.d kis-daemon defaults
Kauj ruam 5: Nruab thiab teeb tsa DLNA Server
- Nruab minidlna
sudo apt-tau nruab minidlna
-
Config me ntsis
Kuv siv cov ntawv qhia no los teeb tsa minidlna
-
Config minidlna kom pib nrog Pi
sudo hloov tshiab-rc.d minidlna defaults
Pom zoo:
Kua TV Siri Cov Teeb Meem Teeb Meem Nrog Bluetooth Pobzeb Finder: 7 Kauj Ruam (nrog Duab)
Kua TV Siri Cov Teeb Meem Zaum Kawg Nrog Bluetooth Pobzeb Finder: Kuv ib zaug nyeem cov lus piav qhia ntawm iPhone raws li " Lo ntawm cov butter ntub dej hauv cov roj thiab nchuav nrog WD40 rau qhov ntsuas tau zoo! &Quot; Kuv xav tias nws yog thaum tus qauv 6 tawm los thiab txhua tus tau poob lawv lub xov tooj tshiab kim thiab tawg iav
Txhim Kho Nyem Teeb Meem Teeb Meem ntawm Apple 27 "Zaub: 4 Cov Kauj Ruam
Txhim Kho Nyem Teeb Meem Teeb Meem ntawm Apple 27 "Zaub: Puas muaj ib qho ntawm koj cov zaub uas koj nyiam pib ua suab nrov thaum koj siv nws? Qhov no zoo li tshwm sim tom qab cov zaub tau siv ntau xyoo. Kuv debug ib qho ntawm tso saib xav tias muaj kab laum nyob hauv lub kiv cua txias, b
DIY LED Teeb - Niaj Hnub Teeb Meem Teeb Nrog Cov Chaw Taws Teeb: 8 Kauj Ruam (nrog Duab)
DIY LED Teeb - Niaj Hnub Teeb Mood Teeb Nrog Chaw Taws Teeb: Hauv kab lus no kuv yuav mus hla cov txheej txheem Kuv tau siv los tsim qhov no zoo heev pyramid zoo li tus LED Mood Teeb.Kuv siv maple rau cov qauv tseem ceeb thiab qee qhov mahogany txhav ntxiv rau lub zog. Rau lub teeb Kuv siv RGB LED teeb uas tuaj nyob hauv 16 ko taw
Yuav Ua Li Cas Txhim Kho Tus Kheej Txoj Kev Nrog Lub Sijhawm Teeb Meem Teeb Meem: 6 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Kom Taug Kev Ntse Nrog Kev Cuam Tshuam Timer Tus Kheej: Phau ntawv qhia no qhia yuav ua li cas thiaj ua rau txoj hauv kev ntse nrog kev teeb tsa lub sijhawm tswj
Siv AC Nrog LEDs (Ntu 2) - thiab Ua Qhov Teeb Meem Ntawm Lub Teeb: 9 Kauj Ruam
Siv AC Nrog LEDs (Ntu 2) - thiab Ua Kom Qhov Teeb Meem Ntawm Lub Teeb.: Hauv Kev Siv AC nrog LEDs (Ntu 1) peb tau saib txoj hauv kev yooj yim kom khiav LEDs nrog lub hloov pauv txuas nrog AC Mains. Ntawm no, peb yuav saib kom tau txais peb cov LEDs ua haujlwm yam tsis muaj lub hloov pauv thiab tsim lub teeb pom kev yooj yim uas tau koom ua ib qho chaw nthuav dav.Ua tsaug