Ubuntu on Windows - accessing Network drives - solved


  1. Posts : 11,247
    Windows / Linux : Arch Linux
       #1

    Ubuntu on Windows - accessing Network drives - solved


    Hi folks

    tinkering around with UBUNTU on Windows (WSL) -- great fun

    You can access Networked drives without using SAMBA

    This command does it :

    sudo mount -t drvfs '\\server\share' /mnt/share

    haven't worked out though how to "get at" Windows local drives.

    This command works for getting at external USB's though
    $ sudo mkdir /mnt/d (only needed ist time to create target directory for the mount)
    $ sudo mount -t drvfs D: /mnt/d

    to unmount safely.

    $ sudo umount /mnt/d

    For GUI programs see my other post in this thread

    Some will run fine - others will need DBUS -- not implemented in WSL.

    However a TCP get around (I think Linux users are Hacker by nature !!!)

    sudo sed -i 's/<listen>.*<\/listen>/<listen>tcp:host=localhost,port=0<\/listen>/' /etc/dbus-1/session.conf

    This will use tcp instead of Linux / Unix use of sockets.

    I think this whole idea is quite fun -- probably not what Ms intended but a great idea having WSL in the first place -- am sure it will get better and better - especially with a few hacks and tweaks !!

    Cheers
    jimbo
      My Computer


  2. Posts : 4,666
    Windows 10 Pro x64 21H1 Build 19043.1151 (Branch: Release Preview)
       #2

    You are really digging deep into this WSL world.

    I like it. Keep going!
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:03.
Find Us




Windows 10 Forums