• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

File explorer PC files samba acces

Scheduled Pinned Locked Moved Support
24 Posts 7 Posters 5.3k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      Keneda @PierPaolo
      last edited by 13 Apr 2021, 00:15

      @pierpaolo
      Remember, this way you can only download files from computer, you can't upload anything on it.
      The only way right now to do it in an easy way is to use wifitransfert.

      2015-2023 : Meizu MX4 ☠️⚰️✝️
      2023-2024 : Nexus 5 ☠️⚰️✝️
      2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
      🇲🇫🇬🇧

      M 1 Reply Last reply 13 Apr 2021, 16:19 Reply Quote 0
      • M Offline
        Markatrafik @Keneda
        last edited by 13 Apr 2021, 16:19

        @keneda this is a Linux, and can be used directly...

        mkdir ~/archive && mount //10.20.30.40/archive ~/archive -t cifs -o username=nobody,password=xxxxxx,rw,noexec,nosuid,noacl,iocharset=cp437,uid=32011,gid=32011,noperm,file_mode=0660,dir_mode=0770
        

        and use any application... 🙂

        K M 2 Replies Last reply 13 Apr 2021, 16:35 Reply Quote 0
        • K Offline
          Keneda @Markatrafik
          last edited by Keneda 13 Apr 2021, 16:35

          @markatrafik said in File explorer PC files samba acces:

          and can be used directly...

          What are you talking about? What can be used directly?

          An what "is a linux"? My PC is not.

          Remember, uTouch is not only for GNU/Linux power command line users... And will not spread like you are talking about on another thread, if it is not a minimum graphical user friendly.

          For dumb user like me, wifitransfert is the best actual way to tranfer any file FROM uTouch device TO computer, wireless.

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
          🇲🇫🇬🇧

          M 1 Reply Last reply 13 Apr 2021, 16:50 Reply Quote 1
          • M Offline
            Markatrafik @Keneda
            last edited by 13 Apr 2021, 16:50

            @keneda You don't give the impression of a dumb user. On the contrary, an cool hacker, who is correcting runtime code in the RAM directly with hexeditor... at least, that is my impression. 😉

            1 Reply Last reply Reply Quote 0
            • M Offline
              marc123454321 @Markatrafik
              last edited by 22 Apr 2021, 19:46

              @markatrafik said in File explorer PC files samba acces:

              mount //10.20.30.40/archive ~/archive -t cifs -o username=nobody,password=xxxxxx,rw,noexec,nosuid,noacl,iocharset=cp437,uid=32011,gid=32011,noperm,file_mode=0660,dir_mode=0770

              Hey markatrafik,

              maybe you can help me I'm allways gettin a mount error(95): Operation not supported when trying to mount an samba file share.
              And I cant find my samba via file explorer.

              Marc

              M 1 Reply Last reply 29 Apr 2021, 18:29 Reply Quote 0
              • M Offline
                Markatrafik @marc123454321
                last edited by Markatrafik 29 Apr 2021, 18:29

                @marc123454321 If you want to mount in this way, it is better, of course, to make a script so that you do not have to type such command every time. Make sure that the username and password are correct. The command may need the root privileges, you can try to use sudo before it, also try adding yet another parameter: vers=2.0

                M 1 Reply Last reply 20 May 2021, 21:56 Reply Quote 0
                • M Offline
                  marc123454321 @Markatrafik
                  last edited by 20 May 2021, 21:56

                  @markatrafik
                  Hey,
                  Sorry for the late answer. I still font get smb working on my phone (Oneplus 3).
                  For mount with -o vers=2.0 im gettin a error 22 --> unknown option.
                  Do you have any idea how to fix that? Smb access is quiet important for me.

                  Marc

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    marc123454321
                    last edited by 18 Jun 2021, 10:23

                    Could anyone help with this problem or am I the only one having troubles using a samba share?
                    Marc

                    A 1 Reply Last reply 18 Jun 2021, 11:51 Reply Quote 0
                    • A Offline
                      AppLee @marc123454321
                      last edited by 18 Jun 2021, 11:51

                      @marc123454321
                      Honestly I never tried.

                      SSH could be enabled given that you upload your public key to the phone.
                      So I'm only using SCP or MTP via USB to access my files.

                      SAMBA is slow and unreliable from my past experience so I never tried it with Ubuntu Touch.
                      IIRC there is an app but it's old and maybe broken since then...

                      M 1 Reply Last reply 18 Jun 2021, 16:06 Reply Quote 0
                      • M Offline
                        marc123454321 @AppLee
                        last edited by 18 Jun 2021, 16:06

                        @applee Hey,
                        Thanks a lot for your reply. Actually mounting via scp works but theres one problem. When i connect via vpn (using vpnc) and mount my drive, working with the file manager is horrible slow. For me its ok via cli but not for my wife :-). I tought maybe it would be faster to access via samba.
                        Or maybe its a problem of file manager working with high latency? Maybe its checking only one file (in a queue) per ip package or something like that.
                        What do you think would be a proper way for me to improve this?
                        Thanks in advance
                        Marc

                        A 1 Reply Last reply 18 Jun 2021, 16:46 Reply Quote 0
                        • A Offline
                          AppLee @marc123454321
                          last edited by 18 Jun 2021, 16:46

                          @marc123454321
                          Humm I see 🤔 you're right, it's probably related to how the file manager is working.
                          The file manager does a lot of things and I think it maintains a database to index the files.
                          That would be an explanation for such latency while it's OK with CLI.

                          But I don't have a solution.
                          Maybe using Nexcloud to sync files, but if your use case is about saving space on your mobile then it's not suitable.

                          M 1 Reply Last reply 22 Jun 2021, 13:08 Reply Quote 0
                          • M Offline
                            marc123454321 @AppLee
                            last edited by 22 Jun 2021, 13:08

                            @applee Hey,
                            I got direct access to the server yesterday and got the same slow behaviour while browsing wit the file manager when connect as scp mount. I have normal access speed with windows and android. When i download a file I have normal connection speeds too. Its only about browsing. Do you have any idea left :-). I think i will try it with an ubuntu file manager via libertine to check.
                            Marc

                            M 1 Reply Last reply 18 Jul 2021, 22:31 Reply Quote 0
                            • M Offline
                              marc123454321 @marc123454321
                              last edited by 18 Jul 2021, 22:31

                              @marc123454321 Hey just for information. I got same slow browsing behavior with Nautilus in libertine. I can access the server in normal speed with my ubuntu laptop via scp or with windows via samba so I dont know how to fix that. Maybe some day I do not need to access via cli ;-).
                              Marc

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post