Ask Your Question
0

samba not working

asked 2014-05-26 11:51:41 -0500

Daniel01 gravatar image

updated 2014-05-26 11:53:55 -0500

I have installed samba on my fedora 20 laptop. Via systemctl I have enable and started the service, SELinux is under permissive and the firewall allows samba. I can access my laptop's shares from a windows laptop but I can't acces th windows shares from my fedora laptop.In nautilus under Browse network I can access the Windows Network but the I can't access the HOME worckgroup I get a time out error.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-05-26 12:23:55 -0500

Ivaylo Petrov gravatar image

If you want to only access the workgroup from fedora, I don't think that you need samba server. You need gvfs-smb. If you still have problems with the workgroup, try to access some windows machine directly typing as location smb://servername/share. You might consider seeing this.

edit flag offensive delete link more

Comments

Thanks I can connect via G.U.I on Connect to a server but not via Browse windwos network any way on last question the ip adress of my windows laptop is 192.168.1.4 is there any way I could have find that out from my fedora laptop and not going to windows to type ipconfig on cmd ?

Daniel01 gravatar imageDaniel01 ( 2014-05-26 13:46:05 -0500 )edit

Or any idea why connection via ip works but not via hostname ?

Daniel01 gravatar imageDaniel01 ( 2014-05-26 13:52:05 -0500 )edit

I guess that the hostname of your windows machine is not assigned by some dns server. If that is the case, then the linux machine can not find it using the default resolving configuration (it most likely connects to your router and asks it for the name, the router don't know the name...). If you want to associate a hostname to an ip address, you can add it in /etc/hosts. This will work only for the linux.

Ivaylo Petrov gravatar imageIvaylo Petrov ( 2014-05-26 14:30:40 -0500 )edit

I don't know a good way to find the ip address, if you don't know any way to connect to the windows machine. You might try using arp, but it might not give you that information.

Ivaylo Petrov gravatar imageIvaylo Petrov ( 2014-05-26 14:33:44 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-05-26 11:51:41 -0500

Seen: 702 times

Last updated: May 26 '14