Rcayot
Posts: 24
Joined: Sun Jan 26, 2020 8:24 pm

CIFS not working anymore

Mon Dec 07, 2020 4:53 pm

Before I updated and upgraded my Debian OS on my Pi 4B, I had a shared folder on my PC, which I could mount to my Pi. After I tried the mount again and it did not work. No changes were made to teh PC (windows 7), so I think it is with the Pi.

I followed this:
https://www.raspberrypi.org/documentati ... s/samba.md

all over again, and still no luck. Here is the message I get when running the command:

"pi@raspberrypi:~ $ sudo mount.cifs //169.254.91.107/e /home/pi/windowshare -o user=roger
Password for roger@//169.254.91.107/e: ***********
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
pi@raspberrypi:~ $ "

I am certain the IP address is correct, the share name is the same "e" as it is the e drive on the PC.

Any help would be appreciated.

Roger

bls
Posts: 1182
Joined: Mon Oct 22, 2018 11:25 pm
Location: Seattle, WA
Contact: Twitter

Re: CIFS not working anymore

Mon Dec 07, 2020 5:10 pm

Does the directory /home/pi/windowshare exist on the Pi?
Pi tools:
Quickly and easily build customized-just-for-you SD Cards: https://github.com/gitbls/sdm
Easily run your network's DHCP/DNS on a Pi: https://github.com/gitbls/ndm
Easy strongSwan VPN installer/manager: https://github.com/gitbls/pistrong
Lightweight Virtual VNC Config: https://github.com/gitbls/RPiVNCHowTo

Sturgeon
Posts: 10
Joined: Mon Oct 19, 2020 10:22 am

Re: CIFS not working anymore

Mon Dec 07, 2020 6:48 pm

Check the IP. I spent two weeks trying to find the mount error, becose my router reassigned the IP.

Rcayot
Posts: 24
Joined: Sun Jan 26, 2020 8:24 pm

Re: CIFS not working anymore

Mon Dec 07, 2020 7:13 pm

yes the windowshare folder exists

pi@raspberrypi:~ $ ls
Arduino hs_err_pid28287.log Music Scratch
Desktop hs_err_pid871.log my-logfile.txt Templates
Documents libgphoto2 Pictures thonny_code
Downloads MagPi Public Videos
gphoto2 mu_code replay_pid28287.log windowshare
pi@raspberrypi:~ $

Rcayot
Posts: 24
Joined: Sun Jan 26, 2020 8:24 pm

Re: CIFS not working anymore

Mon Dec 07, 2020 7:31 pm

it was wrong IP address.

THNKS

Return to “Troubleshooting”