22 martie, 2013

Sharing files in OpenSuSE 12.3

As I said in previous posts, I am not a Linux expert, but I want to help other Linux beginners find their way through the world of Suse distro. This is the best way Linux community can grow, by helping each other.
This article is trying to help recent Suse fans configure sharing files and folders over a network of both Linux and Windows computers. Sharing files in Opensuse is simple. If you read this post than you have connected your Opensuse desktop to your local network. But there might be a problem, as it was in my case. I couldn't access the workgroups on my network or other users couldn't connect to my shared folders. After setting up the network as presented in the article mentioned above, when trying to access local network, Dolphin displayed "Time out on server ..." error. The solution to this was adding a line in smb.conf in the global section like this:

name resolve order = hosts lmhosts bcast wins


There are several ways of modifying smb.conf, but I use this one:
- open menu, go to Applications, then System, choose File manager and open File manager - super user mode. After entering root password, Dolphin opens in super user mode.
- navigate to /etc/samba and open smb.conf. Because it was opened as super user you can edit the file and save it. Don't forget to close File manager - super user mode when you are done!

After trying different ways of ordering the arguments, I found out that the order that best suited me was "lmhosts bcast hosts wins". Now workgroups are displayed immediately and I can access computers on the network.

Another issue with sharing my files in Opensuse 12.3 over network, was that users couldn't access my shared folders as samba asked for password even if I checked the Allow users to share directories and Allow guest access in samba server configuration window. This can be solved in Opensuse 12.3 by clicking on Guest Access button as shown below

I hope this helped you and please ask any question you may have in case this article didn't solve your problem.

Niciun comentariu:

Trimiteți un comentariu

Totalul afișărilor de pagină