Announcement

Collapse
No announcement yet.

มาสร้าง Network Audio Player ง่ายๆ ด้วย Raspberry Pi 2 กันครับ

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • เพิ่งได้ NAS มาใหม่ตัวนึง เอา volumio เปิดเพลงจาก NAS ได้แจ่มมากเลย

    Comment


    • Originally posted by osxp View Post
      ทำไฟล์ SSH ใส่ลงไปรึยังครับ

      ถ้าไม่มีไฟล์ จะใช้ putty ไม่ได้
      ทำไม่เป็นครับ ยังไม่เข้าใจวิธีทำเท่าไรครับ คงเลิกลองละ ลีนุกมันยากเกินความสามารถไปหน่อยครับ 555

      Comment


      • Originally posted by chartree View Post
        ทำไม่เป็นครับ ยังไม่เข้าใจวิธีทำเท่าไรครับ คงเลิกลองละ ลีนุกมันยากเกินความสามารถไปหน่อยครับ 555
        ตอน write image เสร็จ อย่าพึ่งเอา SD ออกครับ

        เปิด notepad ไม่ต้องพิมพ์อะไรลงไป แล้วสั่ง save as

        เลือกเป็น All files แล้วตั้งชื่อไฟล์ว่า SSH. (อย่าลืมใส่จุด)

        แล้ว save ไปไว้ใน SD ที่พึ่ง write เสร็จ แค่นั้นก็เสร็จแล้ว ถึงจะใช้ Putty เข้าไปได้ครับ

        Comment


        • Originally posted by osxp View Post
          ตอน write image เสร็จ อย่าพึ่งเอา SD ออกครับ

          เปิด notepad ไม่ต้องพิมพ์อะไรลงไป แล้วสั่ง save as

          เลือกเป็น All files แล้วตั้งชื่อไฟล์ว่า SSH. (อย่าลืมใส่จุด)

          แล้ว save ไปไว้ใน SD ที่พึ่ง write เสร็จ แค่นั้นก็เสร็จแล้ว ถึงจะใช้ Putty เข้าไปได้ครับ


          ** Check free disk space
          ** Do you have a backup of your boot SDCard (y/n)? y
          ** Unplug all USB storage devices from the Pi
          ** Are all USB storage devices unplugged (y/n)? y
          ** Plug in target USB drive for the new OS
          ** Is target USB drive plugged in (y/n)? y
          ** Error: Unable to find USB drive
          ** Image build cancelled

          ไม่ผ่านครับ usb เสียบตอนไหมครับ

          Comment


          • Originally posted by chartree View Post
            ** Check free disk space
            ** Do you have a backup of your boot SDCard (y/n)? y
            ** Unplug all USB storage devices from the Pi
            ** Are all USB storage devices unplugged (y/n)? y
            ** Plug in target USB drive for the new OS
            ** Is target USB drive plugged in (y/n)? y
            ** Error: Unable to find USB drive
            ** Image build cancelled

            ไม่ผ่านครับ usb เสียบตอนไหมครับ
            ** Check free disk space
            ** Do you have a backup of your boot SDCard (y/n)? y
            ** Unplug all USB storage devices from the Pi <--------------------- ตอนนี้ถอด USB (ถ้าเสียบไว้)
            ** Are all USB storage devices unplugged (y/n)? y
            ** Plug in target USB drive for the new OS <------------------------ ตอนนี้เสียบ USB
            ** Is target USB drive plugged in (y/n)? y
            ** Error: Unable to find USB drive
            ** Image build cancelled

            ลองดูอีกทีึครับ

            ป.ล. moOde 4.0 RC1 กำลังจะมา

            Comment


            • ขอบคุณครับ เดียวว่างๆ ค่อยลองใหม่

              ขอรบกวนถามเพิ่มครับ

              1. ถอด usb คือถอดเฉพาะ card reader ใช่ไหม sdcard ที่เสียบ raspberry ไม่ต้องถอดใช่ไหมครับ
              2. ใน usb ค้องมี file อะไรไหมครับ หรือ เป็น format เป็น usb เปล่าๆ
              3. ใน sdcard ค้องมี file moode 4 ด้วยไหมครับ หรือโปรแกรมมันจะโหลดมาเอง

              Comment


              • Originally posted by chartree View Post
                ขอบคุณครับ เดียวว่างๆ ค่อยลองใหม่

                ขอรบกวนถามเพิ่มครับ

                1. ถอด usb คือถอดเฉพาะ card reader ใช่ไหม sdcard ที่เสียบ raspberry ไม่ต้องถอดใช่ไหมครับ
                2. ใน usb ค้องมี file อะไรไหมครับ หรือ เป็น format เป็น usb เปล่าๆ
                3. ใน sdcard ค้องมี file moode 4 ด้วยไหมครับ หรือโปรแกรมมันจะโหลดมาเอง
                1. ถอดเฉพาะ USB card reader อย่างเดียวครับ

                2, 3 ตอนผมทำ format SD เป็น fat32 ไม่ต้องมีไฟล์อะไร ตอนรันคำสั่ง มันจะใส่ให้เองหมด เสร็จแล้วปิดเครื่อง เอา SD ใส่แทนอันเก่า แล้วใช้บูตได้เลย

                Comment


                • ** Check free disk space
                  ** Do you have a backup of your boot SDCard (y/n)? y
                  ** Unplug all USB storage devices from the Pi
                  ** Are all USB storage devices unplugged (y/n)? y
                  ** Plug in target USB drive for the new OS
                  ** Is target USB drive plugged in (y/n)? y
                  ** USB drive detected on /dev/sda
                  ** Partitions unmounted on /dev/sda
                  ** Option 1-5: use a proxy server for Internet access (y/n)? y
                  ** Enter proxy url in the format http://[[username]:[password]@]<proxy address>: <proxy port>/
                  ** Proxy url:
                  ** Make corrections (y/n)? y
                  ** Proxy url: http://moodeaudio.org/downloads/mos/mosbuild.sh
                  ** Make corrections (y/n)? y
                  ** Proxy url: 192.168.1.36
                  ** Make corrections (y/n)? y
                  ** Proxy url:
                  ** Make corrections (y/n)? n
                  ** Option 2-5: use a WiFi connection instead of Ethernet (y/n)? y
                  ** SSID:
                  ** Make corrections (y/n)? y
                  ** SSID:

                  ไปไงต่อครับ

                  Comment


                  • ลองมั่วละครับ ตอนนี้กำลังโหลดอยู่ ได้เรื่องอย่างไรจะแจ้งอีกทีครับ

                    Comment


                    • สงสัยผมจะทำผิดขั้นตอน ตอนทำเสร็จแล้ว เมื่อบูตเข้า sdcard Moode พอเลือก ip ของ Moode มันเข้าไปหน้าให้ดาวโหลด โปรแกรมอะไรซักอย่าง
                      เลยไม่รู้จะโหลดอะไรต่อ สุดท้ายเลยเริ่มทำ Image ใหม่ตั้งแต่ต้น
                      เริ่มทำใหม่เมื่อคืน แต่ยังไม่สำเร็จ เพราะดึกไปหน่อย image ใช้เวลาทำนานมาก ประมาณ 4-5 ชม. เลยเลิกทำก่อน ไว้ว่างๆ จะลองทำใหม่ครับ

                      Comment


                      • ใช้เวลาทำนานครับ

                        ทำเสร็จแล้วตอนบูตครั้งแรกก็นาน

                        ไว้รอตัวเต็มออกมาเป็น .img จะลงง่ายกว่านี้เยอะ

                        เล่น Volumio ไปพลางๆ ก่อนก็ได้ครับ

                        Comment


                        • moOde 4.0 ตัวเต็มออกแล้วครับ

                          แต่ยังไม่มีแบบ image ต้องรันคำสั่งตามเดิม

                          รอนานทั้งตอนทำ กับตอนบูทครื่องครั้งแรกเหมือนเดิม

                          ยังมี bug นิดหน่อย คาดว่าเร็วๆ นี้ คงมีตัวแก้ bug ออกตามมาแน่นอน





                          ป.ล. ใครอยากลงง่ายๆ มีคนอัพ image ขึ้น google drive ให้แล้ว

                          ผมทดลองแล้ว Write เสร็จ บูทแป๊บเดียวใช้งานได้เลยครับ

                          http://www.diyaudio.com/forums/pc-ba...st5325843.html


                          User / Password สำหรับ SSH ของ moOde Audio คือ pi / moodeaudio


                          คำสั่ง update Kernel
                          login ผ่าน putty แล้วใช้คำสั่ง

                          sudo PRUNE_MODULES=1 rpi-update

                          อัพเสร็จแล้วก็สั่ง reboot
                          sudo reboot



                          ก็จะได้ Linux Kernel ver. ล่าสุดมาใช้งาน



                          หมายเหตุ : ถ้าใช้ FireFox อาจมีปัญหาทำ Expand SD Card ไม่ได้ เพราะไม่ขึ้นปุ่ม confirm

                          ให้เปลี่ยนไปใช้ Chrome หรือ Edge สั่งงานในส่วนนั้นแทน

                          Last edited by osxp; 28 Feb 2018, 14:23:51.

                          Comment


                          • ขอบคุณครับ โหลดไว้ก่อน ตอนนี้อยู่ ตจว. ไว้กลับ กทม ค่อยลองครับ

                            Comment


                            • อัพเดทหน่อยครับ

                              ตอนนี้ Volumio สำหรับ Pi มาถึง Ver. 2.362 แล้ว (เมื่อวานก็พึ่งออก 2.361 แต่ยังมี bug)

                              Comment


                              • เยี่ยมครับ ขอบคุณครับ

                                Comment

                                Working...
                                X