Ubuntu on Windows - accessing Network drives - solved Solved

  1. jimbo45's Avatar
    Posts : 6,381
    Windows / Linux : Centos, Ubuntu, OpenSuse
       24 Apr 2018 #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 ComputerSystem Spec

  2. slicendice's Avatar
    Posts : 3,806
    Windows 10 Pro x64 v1809 Build 17763.288 (Branch: RS5 Release Preview)
       24 Apr 2018 #2

    You are really digging deep into this WSL world.

    I like it. Keep going!
      My ComputersSystem Spec


 

Related Threads
I have always had a bit of an issue accessing my second hard drive (in a dvd caddy) on my laptop when I clean install to a VM (in Hyper-V for sure - but also in VMware from memory) as I always have to install specific AMD drivers (same happens if I...
Recently added a new laptop running windows 10 ("Win10 laptop")onto our home network. Since then, within a short period of time (minutes to perhaps an hour), others on network no longer have access to internet (Win10 laptop maintains internet...
There were many posts on the forum a month ago following the Anniversary Update (AU) about people having missing drives or drives showing RAW format. I haven't noticed any recent reports and wonder if this problem has now been solved? I've been...
I have a problem that has me stumped. I have a Ubuntu Media Server (OS Version 14.04.1) running Samba 4.1.6. I have a Win 10 laptop (upgraded in August from 8.1) and Win 10 desktop (upgraded Jan 11th from Windows 7). The laptop doesn't (or very...
I recently installed Windows 10 to upgrade from Windows 7 on an Acer Aspire 5734Z 64 bit laptop. I use Comcast's built in router (Cisco XB3, Model DPC3941t DOCSIS 3.0 OS/US|24x4) as 2.4. If I try to access files on my Windows 7 Desktop (sharing is...
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 00:32.
Find Us