illustrate
Products            Buy            Support Forum            Registrations            Professional            About           
 

Newbie LINUX install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • doobre
    dBpoweramp Enthusiast

    • May 2006
    • 74

    #1

    Newbie LINUX install

    Hi there, I'm following the steps in > Asset UPnP for Linux instructions - x86, Raspberry Pi ond I'm stuck with what I think is a permissions issue in ZORIN.

    Firstly, I needed to specify the complete path for the terminal to do anything, even though I was using 'root'. The downloaded file is extracted and has the 'run as a program' enabled. But I get this responce.

    Click image for larger version

Name:	asset_install_error_edited.png
Views:	29
Size:	57.1 KB
ID:	335094​It's probably something silly but I don't know where to look. I assume the download was fine since it opened, and being 'root' should mean I have the correct/necessary privileges.

    But the line about "no crontab for root" is weird. because in the installation steps doc (mentioned earlier), it mentions that using the crontab (whatever the hell it is) is not required now.

    so I pointer plzz, for this oldie/newbie trying out something new to replace win10 at home.
    cheers CD
  • doobre
    dBpoweramp Enthusiast

    • May 2006
    • 74

    #2
    Hi there
    Answering my own Q.
    Looks like with Zorin the root is not enough, I had to use "sudo su" before the install would complete.

    cheers CD

    Comment

    • doobre
      dBpoweramp Enthusiast

      • May 2006
      • 74

      #3
      Hi there,
      Next step how to actually 'see' the the shares and the configuration UI.?
      192/168/*/***:45537/ is 'not reachable' - "Refused to Connect"
      The IP is definitely correct, so looks like another permissions thing. (permissions issues seem to be the biggest issue for us newbie's switching from Win to Linux)
      Ideas anyone!?
      cheers CD

      UPDATE
      sudo systemctl list-units --type=service --state=running > doesn't show any mention of AssetUPnP, so I assume it is not running. I have already restarted twice.

      abcde@abcde:~$ ps aux | grep AssetUPnP
      abcde 4948 0.0 0.0 18884 2432 pts/0 S+ 19:57 0:00 grep --color=auto AssetUPnP > whatever that means.

      Ideas anyone!?
      cheers CD
      Last edited by doobre; Yesterday, 08:10 AM.

      Comment

      • doobre
        dBpoweramp Enthusiast

        • May 2006
        • 74

        #4
        $ sudo systemctl start asset.service
        Failed to start asset.service: Unit asset.service not found. > I'm stuck here.

        The steps in the guide say that it should be running and from start up as well.
        Any ideas?
        cheers CD

        Comment

        • doobre
          dBpoweramp Enthusiast

          • May 2006
          • 74

          #5
          yikes!
          Last edited by doobre; Yesterday, 08:32 AM.

          Comment

          • doobre
            dBpoweramp Enthusiast

            • May 2006
            • 74

            #6
            Originally posted by doobre
            yikes!
            === Asset UPnP installer ===
            Installing version:
            cat: bin/Versions/Asset-UPnP.txt: No such file or directory
            cp: cannot stat './bin': No such file or directory
            --------------------------------------
            there is no folder named "/bin/Versions/...."

            Comment

            • doobre
              dBpoweramp Enthusiast

              • May 2006
              • 74

              #7



              Oki Doke

              I started all over again, taking the steps suggested by Google AI at> https://www.google.com/search?q=zori...all+Asset-upnp

              THIS IS SPECIFIC TO ZORIN.

              IF YOU ARE A REGISTERED USER (like me) download through the "license retrieval" page, FIRSTLY.
              If you are looking for the free version > download the file from the free page at "https://www.dbpoweramp.com/asset-upnp-dlna.htm" (I didn't test this path)

              Registered or Not > DO NOT USE THE wget step (as shown in the online instructions).

              For REGISTERED USERS > Make sure you have downloaded the correct REGISTERED package from www.DBPoweramp before you start. Download the appropriate version for your Linux, tar.gz file (either 64-bit or 32-bit, depending on your system). It will look like, "Asset-Linux-x64-yyyy-mm-dd===########". Save the file in your /home/username/Downloads/ folder.

              FOR FREE USERS > Download the file appropriate for your Linux, tar.gz file (either 64-bit or 32-bit, depending on your system). It will look like "AssetUPnP-Linux-x64.tar.gz"

              For USERS Registered or Free >>>

              Open your Terminal:
              Launch the terminal application in Zorin OS.

              Change your access privileges.

              Code:
              sudo su

              Even though I was a 'superuser' I found that I had to provide the complete path to effect some of these steps.

              Create a directory and navigate into it:
              Use the following commands to create a folder for Asset and move into it:

              Code:
              cd /usr/bin >>> this will change your active location to the /usr/bin folder

              sudo mkdir asset >>> this will create a new folder in the /usr/bin folder called "asset"

              sudo chmod 777 asset >>> this will change the permissions of that folder to allow full access

              cd asset >>> this will change your active location to the new "asset" folder

              Locate the downloaded file from earlier.
              Extract the downloaded file: ********DO NOT USE THE DEFAULT ARCHIVE MANAGER IN ZORIN******

              Extract the contents of the downloaded archive using 'tar' command.

              Code:
              tar -zxvf YOURFILENAME -C /usr/bin/asset/ >>> yourfilename will end with ".gz" >>> this will create a stream of files in the 'terminal' window, and save them all in a new folder called "Asset-R-yyyy-mm-dd-Linux64-registered" in the /usr/bin/asset folder , which we created at the earlier.

              Optionally - Once that has completed you can delete the downloaded file, or hang on to it 'just in case'.
              Code:
              rm YOURFILENAME.gz >>> this will remove the file


              Navigate to the executable directory

              Code:
              cd /usr/bin/asset/Asset-R6-Linux-x64-registered/bin/ >>> this will move you to the active folder


              And run Asset UPnP

              Code:
              ./AssetUPnP >>> this will start the setup/install. (don't miss the "." before the /)


              Configure via web browser:

              The terminal will display a "Presentation URL" (e.g., http://192.168.1.13:45537).
              Enter this URL into a web browser on your computer to access the web-based configuration page.
              From there, you can configure Asset UPnP and add your music library by browsing to your music folders.​

              Hope this helps other newbie's
              cheers CD

              Comment

              • doobre
                dBpoweramp Enthusiast

                • May 2006
                • 74

                #8
                Hi there
                Further checking shows me that this will result in AssetUpnp running as 'root' which is not advised to do for security reasons.

                See Asset UPnP for Linux instructions - x86, Raspberry Pi the official guide at this site.

                Also it doesn't seem to be using a 'crontab' job either, but does start up at when rebooting. So I think there is another step to go that takes it out of the /root/ user's access.

                Also moving to the username access may allow remote access in the local network on other Upnp players, which is not showing at the moment.

                Still going, Cheers CD

                Comment

                • doobre
                  dBpoweramp Enthusiast

                  • May 2006
                  • 74

                  #9
                  Oki Doke

                  I started all over again, taking the steps suggested here and by Google AI at> https://www.google.com/search?q=zori...all+Asset-upnp

                  THIS IS SPECIFICALLY FOR ZORIN.

                  IF YOU ARE A REGISTERED USER (like me) download through the "license retrieval" page, FIRSTLY.
                  If you are looking for the free version > download the file from the free page at "https://www.dbpoweramp.com/asset-upnp-dlna.htm" (I didn't test this path)

                  Registered or Not > DO NOT USE THE wget step (as shown in the online instructions).

                  For REGISTERED USERS >>> Make sure you have downloaded the correct package from www.DBPoweramp before you start. Download the REGISTERED VERSION of Asset UPnP file appropriate for your Linux, tar.gz file (either 64-bit or 32-bit, depending on your system). It will look like, "Asset-Linux-x64-yyyy-mm-dd===########". Save the file in your /home/username/Downloads/ folder

                  FOR FREE USERS > Download the file appropriate for your Linux, tar.gz file (either 64-bit or 32-bit, depending on your system). It will look like "AssetUPnP-Linux-x64.tar.gz"

                  For ALL users > Registered or Not >>>

                  Open your Terminal:
                  Launch the terminal application in ZORIN OS.

                  Create a directory and navigate into it:
                  Use the following commands to create a folder for Asset and move into it:

                  Code:
                  cd /usr/bin >>> this will change your active location to the /usr/bin folder

                  sudo mkdir asset >>> this will create a new folder in the /usr/bin folder called "asset"

                  sudo chmod 777 asset >>> this will change the permissions of that folder to allow full access

                  cd asset >>> this will change your active location to the new "asset" folder

                  Locate the downloaded file from earlier.
                  Extract the downloaded file:

                  Right click the downloaded file select “Open with Archive Manager”.
                  Select the filename from the list.
                  Click ‘Extract’ in the top left corner.

                  In the next window, select the location of the “asset” directory the was created earlier.

                  Code:
                  “/usr/bin/asset/” >>> this will create a stream of files in the 'terminal' window, and save them all in a new folder called "Asset-R-yyyy-mm-dd-Linux64-registered" which is inside the /usr/bin/asset folder.
                  The Free version will have it's own name, but will have a name similar to the file you downloaded.

                  Optionally - Once that has completed you can delete the downloaded file, or hang on to it 'just in case'.

                  Code:
                  rm YOURFILENAME.gz >>> this will remove the file

                  Run Asset UPnP installer:
                  Navigate to the executable directory and run the Installer:

                  Code:
                  cd /usr/bin/asset/Asset-R6-Linux-x64-registered/bin/ >>> this will move you to the active folder

                  ./INSTALL.sh >>> this will start the setup/install. (don't miss the "." before the /)

                  Again, the FREE version will have a similar name.


                  Terminal should show the below

                  === Asset UPnP installer ===
                  Installing version:
                  R2025-03-12
                  Updating crontab...
                  Starting Asset...
                  Configuration page:

                  Finished.
                  Asset installed in: /home/username/bin/AssetUPnP

                  Optionally – You can check the System Monitor in ZORIN to see all the related processes. Again these processes should show the “User” as your username and not “root”


                  Configure via web browser:

                  The terminal will display a "Presentation URL" (e.g., http://192.168.#.###:45537).

                  Enter this URL into a web browser on your computer to access the web-based configuration page.

                  Under “Status” tab check to see that the “RUNNING AS USER” shows your username, it should NOT show “root”.

                  From there, you can configure Asset UPnP and add your music library by browsing to your music folders.​


                  If you have many music folder shares, I suggest, for each shared music folder, you create a separate “instance” from the configuration page. And give each instance a different and more explanatory name. (eg: "MP3-AssetUPnP")

                  To do this click on the “instances” from the TOP row of the configuration page, click on “+ new instance” >> click on “enable” >> then click on the blue defaulted name >> then click the “Options” button in the TOP row, and update the “Asset UPnP Identification – Name of this Asset” field. Click on the "Folders" button from the TOP row >>> click 'Add Folder' >>> go to the location >>> select the shared folder >>> click 'Add this folder...'.


                  Check to see if the servers are available on your network:

                  On your ZORIN computer open VLC >> then click on the TOP menu option “View” >> select “Playlist” >> select “Universal Plug’n’Play” from the left-hand list. You should see all available UPnP shares on your local network, as well as those on your own computer. If they are showing, try to play a track to test all is correct.

                  To check if the AssetUPnP shares are available on your local network, go to another device that is connected to your local network. Open a media player such as VLC and check to see if the AssetUpnp shares are showing. If they are, try to play a track to test all is correct.


                  IF YOU DO NOT SEE THE ASSETUPNP SHARES:

                  Click on the ZORIN logo >> in the “Type to Search” box type in “firewall” >> select the TOP item “Firewall Configuration”.

                  This opens the in-built firewall (by default it is set to Disabled) but in case it is enabled, click the ‘Status’ to Disable, and check if your shares do now appear in the list of available shares in the other device. If they are available, try to play a track to test all is correct.

                  If YES, then you will need to set up rules for AssetUPnP in the firewall configuration.

                  Go back to the firewall configuration window. Switch the ‘Status’ of the firewall back to ‘Enabled’ >> set the “INCOMING” status from “Deny” to “Allow”. Check if your shares do now appear in the list of available shares in the other device. If they are available, try to play a track to test all is correct.


                  If YES, then you will need to set up an ‘INCOMING’ rule for AssetUPnP in the firewall configuration.

                  Switch the ‘Status’ of the “INCOMING” status back to “Deny”.


                  Because the default for the firewall is to be secure above all else, you will have to disable the blanket rule of “DENY” ALL incoming traffic and set up a rule to deny ‘Everything’ except for AssetUPnP.

                  Back to the firewall window, click the “+” to add a new rule >>> select the “Advanced” tab >>> give the new rule a ‘Name’ (eg: “Block ALL INCOMING”) >>> set the following settings >>> Policy: = Deny >>> Direction: = In >>> Interface: = All Interfaces >>> Protocol: = Both >>> From: = your computer local IP >>> Port: = leave empty >>> To: = your computer local IP >>> Port: = leave empty, then click ‘Add’.

                  The new rule will appear in the list of rules.


                  Now you need to create another new rule to allow incoming for AssetUpnp specifically.

                  Back to the Firewall Configuration window, click the “+” to add a new rule >>> select the “simple” tab >>> give the rule a ‘Name’ (eg: “AssetPUnP”) >>> Policy: = Allow >>> Direction: = In >>> Protocol: = Both >>> Port: = 44537, then click ‘Add’.

                  The new rule will appear in the list of rules.


                  To check for yourself that your computer is still ‘reasonably safe’ from intruders, you can go to ‘Shields-up’ at the Gibson Research Corp. at https://www.grc.com/x/ne.dll?rh1dkyd2
                  and run a port security scan.

                  That’s it for me, AssetUPnP is working fine for me, one step closer to being able to get away from ‘Windows’ in any form.

                  Hope this may offer some help to others considering the move.
                  Cheers CD​

                  Comment

                  Working...