Jump to content
  • 0

Access Windows share from PYNQ Z1


aadgl

Question

Posted

I need to access a Windows share from a PYNQ Z1. I can access PYNQ from Windows, but not Windows from PYNQ.
This is the script that I have used on Ubuntu 16.04 and 18.04 boxes:
$ sudo mkdir -p /mnt/drivem
$ sudo mount //192.168.1.100/drivem /mnt/drivem -o user=username,rw,gid=1000,uid=1000

It asked for the Windows password, then returned this message:
> mount error: cifs filesystem not supported by the system
> mount error(19): No such device
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I have tried this on PYNQ 2.1 and 2.5 with Window 8.1 and Windows 10 computers. Also various parameters on the mount command line, including -t cifs, other type of slashes, single quotes … Same results. I also tried this:
$ sudo apt install -y cifs-utils
It ran, installed files, but didn’t change the resulting error messages.

Any clues would be appreciated, in particular will this work from PYNQ?

Thanks,
Dave

4 answers to this question

Recommended Posts

Posted

Hi @aadgl

You may need to also specify the domain not only the username and password in your mount command

mount -t cifs -o domain=domain,username=windows_username,password=windows_password,{other cifs mount options} //remote-ip/remote-dir /mount/path

 

Posted

Thanks, I tried that, didn't fix the problem, but did lead me here:
> https://askubuntu.com/questions/946132/error-mounting-samba-network-drive-wrong-fs-type-bad-option

For Intel Ubuntu Desktop18.04, I followed those instructions:
$ sudo apt-get install nfs-common
$ sudo apt install cifs-utils
Then this command worked (after creating /mnt/drivem):
$ mount //192.168.1.100/drivem /mnt/drivem -o user=beagles,rw,gid=1000,uid=1000

I did the same on a fresh PYNQ 2.5, and got the same errors as above:
> mount error: cifs filesystem not supported by the system
> mount error(19): No such device
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

That led me to here:
> https://askubuntu.com/questions/1115171/mount-cifs-gives-me-mount-error-cifs-filesystem-not-supported-by-the-system
And trying:
$ modprobe cifs
Then yields:
> modprobe: FATAL: Module cifs not found in directory /lib/modules/4.19.0-xilinx-v2019.1

It "appears", the Xilinx build doesn't include cifs?

Dave

Posted

lonel - Thanks for your response.  I can work-around this for now, but will eventually need the cifs' module. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...