K
K
kezel2015-11-25 22:36:05
Samba
kezel, 2015-11-25 22:36:05

How to access a remote network drive on samba from a raspberry pi (or other unix system)?

How to access a remote network drive on samba with raspberry pi (or other unix systems)?
For example, on OS Windows: //D-LINK/papka
For what: To save a file from Raspberry PI to a remote hard drive connected to a router with a samba server running on it.
Respberry PI <-LAN-> Router ( samba) <-USB-> HDD

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kezel, 2015-11-28
@kezel

Decision

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install smbfs cifs-utils
rpi-update
sudo reboot
mkdir /home/share
sudo mount -t cifs //192.168.0.1/usb /home/share -o guest

key moment in reboot after
sudo apt-get install smbfs cifs-utils
rpi-update

M
Max, 2015-11-25
@MaxDukov

on the topic - put a package to support cifs ( instruction ). Further, simply, through mount -t cifs (man mount.cifs to help),
but I would advise you to do it easier. 99 out of 100, that SSH is also raised on both pieces of iron. Read about scp - it works great, authorization on the keys, and in general - this is CORRECT.
Good luck

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question