LAN sharing quit working-Solved

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
crosstie69

LAN sharing quit working-Solved

Post by crosstie69 »

I had my wireless LAN share folder working. I am running Mint 17. I shut my desktop off for 2 days while away. When I got back and booted it back up I cannot access my shared folder from other devices.

Here is my netshare:

net usershare info --long
[Sounds of the Earth- Thunderstorm]
path=/home/tyler/Music/Sounds of the Earth- Thunderstorm
comment=
usershare_acl=Everyone:R,Unix User\tyler:F,
guest_ok=y

[Country]
path=/home/tyler/Music/Country
comment=
usershare_acl=Everyone:R,Unix User\tyler:F,
guest_ok=y

[Kalan]
path=/home/tyler/Music/Kalan
comment=
usershare_acl=Everyone:R,Unix User\tyler:F,
guest_ok=y

[Rashel]
path=/home/tyler/Music/Rashel
comment=
usershare_acl=Everyone:R,Unix User\tyler:F,
guest_ok=y

[Lindsey Stirling]
path=/home/tyler/Music/Lindsey Stirling
comment=
usershare_acl=Everyone:R,Unix User\tyler:F,
guest_ok=y

[Rock]
path=/home/tyler/Music/Rock
comment=
usershare_acl=Everyone:R,Unix User\tyler:F,
guest_ok=y

[Music]
path=/home/tyler/Music
comment=
usershare_acl=Everyone:R,Unix User\tyler:F,
guest_ok=y

Here is my permisions:

ls -al /home/tyler/Music
total 48
drwxr-xr-x 8 tyler tyler 4096 Oct 18 22:41 .
drwxr-xr-x 26 tyler tyler 4096 Oct 21 20:31 ..
drwxr-xr-x 115 tyler tyler 4096 Oct 9 22:34 Country
drwxr-xr-x 15 tyler tyler 4096 Oct 10 03:02 Kalan
drwxr-xr-x 4 tyler tyler 4096 Oct 9 22:35 Lindsey Stirling
drwxr-xr-x 4 tyler tyler 4096 Oct 9 22:10 Rashel
drwxr-xr-x 177 tyler tyler 20480 Oct 17 21:16 Rock
drwxr-xr-x 2 tyler tyler 4096 Oct 10 03:02 Sounds of the Earth- Thunderstorm

Here is testparm -s:

testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
server string = %h server (Samba, Linux Mint)
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
force user = tyler

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers


Here is smbtree

smbtree
Enter root's password:
WORKGROUP
\\QIANA qiana server (Samba, Linux Mint)
\\QIANA\Sounds of the Earth- Thunderstorm
\\QIANA\Country
\\QIANA\Kalan
\\QIANA\Rashel
\\QIANA\Lindsey Stirling
\\QIANA\Rock
\\QIANA\Music
\\QIANA\Epson_Stylus_NX510 Epson Stylus NX510
\\QIANA\print$ Printer Drivers
\\QIANA\IPC$ IPC Service (qiana server (Samba, Linux Mint))

I tried to restart smbd but has not worked yet.
What is going on here?

Thanks in advance,

Tyler
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
altair4
Level 20
Level 20
Posts: 11427
Joined: Tue Feb 03, 2009 10:27 am

Re: LAN sharing quit working

Post by altair4 »

I don't see anything wrong here.

Do you not see the host or it's shares from the clients or can you see them just not access them?

Can Mint access it's own shares? From a terminal see if you can access one of your own shares:

Code: Select all

nemo smb://qiana/music
There are some anomalies in your output though:

** You usually don't see the "Unix User\tyler:F" type of reference unless you are using KDE which has a squirrelly implementation of a samba usershare. It's not really an issue it's just curious.

** Your smbtree output shows no other hosts. Not really a problem if none of your other machines are sharing folders and are just acting as samba clients but it is a problem if they are.

You might want to install nmap:

Code: Select all

sudo apt-get install nmap
Then run this command:

Code: Select all

sudo nmap -sP -oG- 192.168.0.100/24
Change 192.168.0.100 to the ip address of your Mint machine
It should list the ip addresses of all the other machines on your lan. If only your Mint machine and your router shows up you may be on a different network than everyone else.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
crosstie69

Re: LAN sharing quit working

Post by crosstie69 »

Not sure what the problem was, got home from work today and it is working now.

Guess I will see how it goes for the next couple days.
crosstie69

Re: LAN sharing quit working

Post by crosstie69 »

So it appears that after a reboot or logging off and back on that my shares do not work. Not sure why they started working the other day. I thought it was weird when I ran smbtree and typed in my password it listed nothing at first, then after about the third time of smbtree it started working.
Now it is not working again, after a log off and back on.
Here is smbtree:

tyler@qiana ~ $ smbtree
Enter tyler's password:
tyler@qiana ~ $

Here is net usershare info:

tyler@qiana ~ $ net usershare info
[Music]
path=/home/tyler/Music
comment=
usershare_acl=Everyone:R,Unix User\tyler:F,
guest_ok=y

I do not see the host from other devices when this is going on.
crosstie69

Re: LAN sharing quit working

Post by crosstie69 »

Ok, let me back up just a bit.
I can access my shared folders from my phone and my wifes surface ok.
I cannot view my shares in nemo like I can when smbtree lists out my shares. If I type in the smb://qiana/music path in they will come up. When smbtree lists my shares, the folder shows up in nemo.
No big deal I guess but just annoying.
Locked

Return to “Networking”