You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Network share not working

Author (Read 13630 times)

0 Members and 1 Guest are viewing this topic.

Re: Network share not working
« Reply #16 on: January 23, 2016, 09:01:14 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
No problems...
I hope it works for you, any issues, post back, will see if I can help.
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Network share not working
« Reply #15 on: January 23, 2016, 08:31:41 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
Wow, thanks Wirezfree. I appreciate you taking the time to show me how to do that. This will make it a lot easier to get things up and running. My friend will be able to move her own recordings between her two units, which is what she needs to do, in addition to my own LAN needs around here. This has gone verbatim directly into my own CherryTree file!

BW,
Paul
 

Re: Network share not working
« Reply #14 on: January 23, 2016, 08:20:26 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
@paul1149

Sorry for delay... Been a bit busy and I still have a lot of individual notes files, moving them slowly into Cherrytree.
When I first started with Linux I still had multiple XP PC's and had issues get things to work between XP and Linux by name.
Did lots of Googling & Playing in the end I got everything working by name... So these are my notes & comments

When doing fresh install I always install:
Code: [Select]
sudo apt-get install system-config-samba cifs-utils libnss-winbind winbind gvfs-backendssome of these may actually not be required, I just used what I found.
Note: I only use Samba Tool to check configs, I still use LL Network Share method to set things up


Then,
In the smb.conf file, add the following to all PC's "except" one that is either always on, or is used the most.

local master = no

I put it just "below" name resolve order
This avoids the similar situation that you can get in Windows where sometimes when browsing PC's seem to disappear.
It allows 1 PC to maintain a list of all pc's on network

Then edit & modify the following:
Code: [Select]
gksu leafpad /etc/nsswitch.conf
Then change the line:
Code: [Select]
hosts:          files mdns4_minimal [NOTFOUND=return] dns
To this:
Code: [Select]
hosts:          files mdns4_minimal [NOTFOUND=return] wins dns
Then re-boot


I have done many builds & re-builds, I have yet to be unable to use/reference PC's by name.


All my PC's accessible by name, inc VM's.
Code: [Select]

dave@asus-mini-1:~$ ping hp-lappy1
PING hp-lappy1 (10.10.100.161) 56(84) bytes of data.
64 bytes from hp-lappy1 (10.10.100.161): icmp_seq=2 ttl=64 time=1.90 ms
64 bytes from hp-lappy1 (10.10.100.161): icmp_seq=3 ttl=64 time=4.97 ms
dave@asus-mini-1:~$ ping jetway1
PING jetway1 (10.10.100.180) 56(84) bytes of data.
64 bytes from jetway1 (10.10.100.180): icmp_seq=1 ttl=64 time=2.22 ms
64 bytes from jetway1 (10.10.100.180): icmp_seq=2 ttl=64 time=2.46 ms
dave@asus-mini-1:~$ ping jetway0
PING jetway0 (10.10.100.166) 56(84) bytes of data.
64 bytes from jetway0 (10.10.100.166): icmp_seq=2 ttl=64 time=1.59 ms
64 bytes from jetway0 (10.10.100.166): icmp_seq=3 ttl=64 time=1.38 ms
dave@asus-mini-1:~$ ping sm-ds87
PING sm-ds87 (10.10.100.148) 56(84) bytes of data.
64 bytes from sm-ds87 (10.10.100.148): icmp_seq=1 ttl=64 time=0.144 ms
64 bytes from sm-ds87 (10.10.100.148): icmp_seq=4 ttl=64 time=0.248 ms
dave@asus-mini-1:~$ ping sm-xh97
PING sm-xh97 (10.10.100.140) 56(84) bytes of data.
64 bytes from sm-xh97 (10.10.100.140): icmp_seq=2 ttl=64 time=0.182 ms
64 bytes from sm-xh97 (10.10.100.140): icmp_seq=3 ttl=64 time=0.194 ms
dave@asus-mini-1:~$ ping VM-XP-LIVE

PING VM-XP-LIVE (10.10.100.138) 56(84) bytes of data.
64 bytes from vm-xp-live (10.10.100.138): icmp_seq=1 ttl=128 time=0.104 ms
64 bytes from vm-xp-live (10.10.100.138): icmp_seq=2 ttl=128 time=0.148 ms



GL

Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Network share not working
« Reply #13 on: January 22, 2016, 04:20:33 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
the Help Manual.


This is a good resource. I either was unaware of or had forgotten about it. Perhaps it should go on the desktop.
 

Re: Network share not working
« Reply #12 on: January 21, 2016, 10:34:41 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
Ok, thanks. Again I appreciate your input. Now that I've got the share working, this is not critical, but it's interesting that it's not working here on either machine.
 

Re: Network share not working
« Reply #11 on: January 21, 2016, 09:39:24 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
@paul1149
Yes, I can ping all my pc's and vm's by ip or name, also connect to shares by name.

Code: [Select]
dave@asus-mini-1:~$ ping hp-lappy1
PING hp-lappy1 (10.10.100.161) 56(84) bytes of data.
64 bytes from hp-lappy1 (10.10.100.161): icmp_seq=1 ttl=64 time=4.23 ms
64 bytes from hp-lappy1 (10.10.100.161): icmp_seq=2 ttl=64 time=1.84 ms
64 bytes from hp-lappy1 (10.10.100.161): icmp_seq=3 ttl=64 time=1.82 ms
64 bytes from hp-lappy1 (10.10.100.161): icmp_seq=4 ttl=64 time=1.76 ms
64 bytes from hp-lappy1 (10.10.100.161): icmp_seq=5 ttl=64 time=2.59 ms
--- hp-lappy1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 1.760/2.452/4.237/0.943 ms

dave@asus-mini-1:~$ ping 10.10.100.161
PING 10.10.100.161 (10.10.100.161) 56(84) bytes of data.
64 bytes from 10.10.100.161: icmp_seq=1 ttl=64 time=88.6 ms
64 bytes from 10.10.100.161: icmp_seq=2 ttl=64 time=2.58 ms
64 bytes from 10.10.100.161: icmp_seq=3 ttl=64 time=1.75 ms
64 bytes from 10.10.100.161: icmp_seq=4 ttl=64 time=1.82 ms
64 bytes from 10.10.100.161: icmp_seq=5 ttl=64 time=1.93 ms
--- 10.10.100.161 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 1.754/19.340/88.606/34.634 ms



dave@asus-mini-1:~$ ping jetway0
PING jetway0 (10.10.100.166) 56(84) bytes of data.
64 bytes from jetway0 (10.10.100.166): icmp_seq=1 ttl=64 time=2.02 ms
64 bytes from jetway0 (10.10.100.166): icmp_seq=2 ttl=64 time=1.07 ms
64 bytes from jetway0 (10.10.100.166): icmp_seq=3 ttl=64 time=0.971 ms
64 bytes from jetway0 (10.10.100.166): icmp_seq=4 ttl=64 time=0.990 ms
64 bytes from jetway0 (10.10.100.166): icmp_seq=5 ttl=64 time=3.13 ms
--- jetway0 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4003ms
rtt min/avg/max/mdev = 0.971/1.639/3.139/0.848 ms


I have been working late. I will post more later, if nobody else chips in.
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Network share not working
« Reply #10 on: January 21, 2016, 04:01:47 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
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.
 

Re: Network share not working
« Reply #9 on: January 21, 2016, 10:10:16 AM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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!
« Last Edit: January 21, 2016, 10:12:44 AM by paul1149 »
 

Re: Network share not working
« Reply #8 on: January 21, 2016, 09:10:03 AM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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
« Reply #7 on: January 21, 2016, 08:06:21 AM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1848
    Posts
  • Reputation: 284
  • Linux Lite Member
    • View Profile

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
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 :)
« Last Edit: January 21, 2016, 08:11:25 AM by firenice03 »
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: Network share not working
« Reply #6 on: January 20, 2016, 11:42:45 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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
« Reply #5 on: January 20, 2016, 10:35:22 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
A Win8 machine can ping the dell-1545 hostname, but also cannot log into the machine. Complicated.
 

Re: Network share not working
« Reply #4 on: January 20, 2016, 10:22:27 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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
« Reply #3 on: January 20, 2016, 08:52:41 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
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: [Select]
ping local-ip-address
and
Code: [Select]
ping hostname
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Network share not working
« Reply #2 on: January 20, 2016, 07:48:08 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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.
« Last Edit: January 20, 2016, 07:51:21 PM by paul1149 »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section