![]() ![]() I can visit, read and write shared folder from windows, but can not access it from another ~ $ smbclient //192.168.0.12/piShare -U piĭomain= OS= Server= The reason I use scp is I want to copy the pics taken from the PI to a server PI(192.168.0.12), this server already installed the samba and shared a folder with my windows PC. ![]() Or I had the wrong message like ~ $ sudo scp test.jpg connect to host 192.168.0.12 port 22: Connection refusedĬould anyone tell me how to solve the problems? Warning: Permanently added '192.168.0.13' (ECDSA) to the list of known password: however, if I wanted to copy a file from one PI to another buy using scp commend, it ~ $ sudo scp test.jpg authenticity of host '192.168.0.13 (192.168.0.13)' can't be established.ĮCDSA key fingerprint is 80:8b:76:bc:b3:5d:56:6b:4c:98:58:e1:ed:d6:cb:ad.Īre you sure you want to continue connecting (yes/no)? yes when i try ssh to login from one PI to another, it works perfectly. So now i have two problems: 1) how do i fix my permissions and 2) Why is this connection refused error popping up now that those files are in place?ĮDIT 2: I fixed the ERR_CONNECTION_REFUSED, turns out openhab wasn’t starting on its own because i am running Jessie Raspbian, so the defaults.rc method for starting up doesnt work.I got 3 PIs, and the address was 192.168.0.11~13, the username and password are the default pi stuff. So you can see that openhab clearly owns everything, but when i login using samba it cant change anything on /etc/openhabĮDIT: I forced the demo into the folders with root, and when i go to i get ERR_CONNECTION_REFUSED. rw-r-r- 1 openhab openhab 652 Feb 2 15:23 README.TXTĭrwxr-xr-x 6 openhab openhab 4096 Feb 4 13:18 serverĭrwxr-xr-x 2 openhab openhab 4096 Feb 4 13:18 soundsĭrwxr-xr-x 4 openhab openhab 4096 Feb 4 13:18 webapps rw-r-r- 1 openhab openhab 11232 Feb 2 15:23 LICENSE.TXT Lrwxrwxrwx 1 openhab openhab 22 Feb 2 15:23 etc -> /etc/openhab/jetty/etc Lrwxrwxrwx 1 openhab openhab 27 Feb 2 15:23 contexts -> /etc/openhab/jetty/contexts Lrwxrwxrwx 1 openhab openhab 27 Feb 2 15:23 configurations -> /etc/openhab/configurations _addonsĭrwxr-xr-x 2 openhab openhab 4096 Feb 4 13:18 bin ĭrwxrwxrwx 2 openhab openhab 4096 Feb 1 11:21 addons rw-r-r- 1 openhab openhab 302 Feb 2 15:23 $ ls -al /usr/share/openhab/ĭrwxr-xr-x 7 openhab openhab 4096 Feb 7 22:47. rw-r-r- 1 openhab openhab 145 Feb 2 15:23 nf rw-r-r- 1 openhab openhab 2311 Feb 2 15:23 logback.xml rw-r-r- 1 openhab openhab 2583 Feb 2 15:23 logback_debug.xml DS_Storeĭrwxr-xr-x 4 openhab openhab 4096 Feb 4 13:17 jetty ĭrwxr-xr-x 6 openhab openhab 4096 Feb 7 21:45 configurations Here is ls -al of the two directories $ ls -al /etc/openhab/ĭrwxr-xr-x 4 openhab openhab 4096 Feb 7 23:05. I am allowed to modify the addons folder inside /usr/share/openhab but not allowed to modify anything inside /etc/openhab it seems. ![]() But when log into my rasperry pi by going to Finder -> Go -> Connect to Server -> and login, i am not allowed to delete the OpenHab Config folder. ![]() Sudo chown -R openhab /usr/share/openhab/Īnd it seems to have set the owner correctly. I am trying to set up the demo for my first openhab install (on a raspberry pi) by following this tutorial and i cant seem to get the permissions correctly set to transfer the files to it from my mac. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |