Network share not working - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6) +--- Forum: Network (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=24) +--- Thread: Network share not working (/showthread.php?tid=2578) Pages:
1
2
|
Network share not working - paul1149 - 01-21-2016 I'm stumped on this one. I'm trying to set up a network share on a friend's laptop. I've downloaded the Samba configurator. I created a folder under the user hierarchy, and I pointed the configurator to it as a share. It is writable and requires user credentials to log in. The share shows up on my own LL machine, but I cannot log into it. What's more, if I navigate through Browse Network on my friend's machine and go to the share in question, to access the folder I have to navigate the login dialog as if I were on an external machine. And the login fails just as it does on my own machine. It's as if the share were on a different machine. This user uses a password to log into the machine. Something very basic is wrong here, but I fail to see what. I'm attaching the smb.conf file. [img height=600 width=450]http://i.imgur.com/JtawoNP.jpg[/img] Re: Network share not working - paul1149 - 01-21-2016 I've corrected that netbios name to match the server string, and checked it against the machine's hostname, and rebooted. There is no firewall on the machine in question. Very puzzling. Re: Network share not working - Wirezfree - 01-21-2016 Hi, Just some quick checks. Open Samba Conf tool. Goto preferences, Samba Users, Is your LL user name on list.?? Then Highlight the share, and Goto File > Properties Check Access Tab, Is it set to "Only allow access for specific users" or "All" Another quick check: From your PC, try to ping the other pc by ip-address and hostname, you can get these via Lite Control on other PC, 1st page Code: ping local-ip-address and Code: ping hostname Re: Network share not working - paul1149 - 01-21-2016 Hi, I appreciate your input. In Samba Configurator, the LL user has been a Samba user as well. I did have to enter that manually. And the shares are set to specific users, with the current and only LL user on that machine checked. Strange, from my LL PC I can ping the local IP, but not the hostname, of the problem machine. I'm attaching a pic showing that, plus the fact that Thunar sees the shares. There's got to be something to the fact that even the problem machine has to log on to its own share. I've never heard of that before. Re: Network share not working - paul1149 - 01-21-2016 A Win8 machine can ping the dell-1545 hostname, but also cannot log into the machine. Complicated. Re: Network share not working - paul1149 - 01-21-2016 Can anyone here ping a LAN machine by its hostname on LL? This seems to be a problem in Linux. And the problem machine can't do it either. I tried installing mdns, an adaptation of Bonjour, to no avail. Meanwhile the Win8 machine has no problem in this regard, probably using WINS. Re: Network share not working - firenice03 - 01-21-2016 Have you tried pinging "lappy" ?? maybe the netbios hasn't saved?? or its cached., where the name dell-1545 hasn't registered.... Now that its been a few hours it may have updated. lappy is the LL default netbios, took me by surprise 1st few times I saw it when I look at the network and seen lappy and not the machine Re: Network share not working - paul1149 - 01-21-2016 ping lappy also produces "unknown host". Since I changed lappy to Dell-1545 I haven't seen it on the LAN in Thunar, over many reboots, so I think that part of it is set. The more I think about this, the machine's inability to access its own share is at the heart of the problem. I just tested the problem machine, and it is able to access a share I have on my main LL unit. Re: Network share not working - paul1149 - 01-21-2016 Nailed it. I found the smbusers.conf file to contain something like this: <linux>="<linux>"<joyce>="<joyce>" I've run into this before, but had forgotten about it. It seems to be a flaw of the Samba Configurator. It apparently doesn't see the original "linux" entry and therefore doesn't start a new line. So I changed it to <linux>="<linux>" <joyce>="<joyce>" Then with a restart of the smbd and nmbd services, I was able to log in. Then I navigated to the other test share, and during the login process was greeted by the keyring prompt, which I've never been so happy to see. On reboot the logins were proved persistent. Then I tried accessing the shares from other LL and Win8 units, and all went well. I am getting quite a bit of sluggishness in accessing the LAN and shares, and have been using F5 a lot to refresh the view. Also, samba doesn't seem to auto-poll the remote shares at all. The Refresh is necessary to see changes. But this is another issue. Thanks for the input! Re: Network share not working - Valtam - 01-21-2016 We do not recommend using a configurator, this was ultimately the cause of the issue you were having. We already provide a simple way to set Network Shares in the Help Manual. |