LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-04-2017, 09:27 AM   #1
Steve R.
Member
 
Registered: Jun 2009
Location: Morehead City, NC
Distribution: Mint 20.3
Posts: 521

Rep: Reputation: 98
Ubuntu 16.04 Network Discovery Degraded


Apparently, I have made a configuration changed which has degraded network discovery. I believe that it may have resulted from attempting to "eliminate" the need to enter a password when accessing a public share file on a remote computer.

I have a home LAN network of three computers. If you look at the attached image for computer3, you will see how the network appeared on all three computers.

The attached image for computer1 now shows only the icon for the "Windows Network". Furthermore, the "Windows Network" icon is very very slow to appear. Eventually, I can still access the public share files on the other computers.

Two additional points:

1. Why do I believe it is a configuration issue? Well, computer3 was never "touched". I experimented with computers 1&2 to allow accessing the remote computer without having to enter a password. That didn't work. Now these computers do not show the image as displayed for computer3 and are very slow to access the network.
2. As an attempt to resolve this issue, I removed and reinstalled all "GVFS" files for computer1, but that did not work. I also removed and reinstalled "CIFS-UTILS". Again no change.

UPDATE: I have apparently solved one issue. Issuing the command "net usershare info" disclosed that I had a malformed share in "/var/lib/samba/usershares" which prevented the checkbox from remaining checked. Thanks to loopodoopo. So the associated text in my problem description above was deleted.

UPDATE: I ran across this similar post. Network Computers Not Showing up. I applied the suggestions to "/etc/samba/smb.conf". They apparently had no effect. However, I should point out that the network does show-up but not in the form as displayed in the image "computer3.png".
Attached Thumbnails
Click image for larger version

Name:	computer3.png
Views:	98
Size:	53.0 KB
ID:	23884   Click image for larger version

Name:	computer1.png
Views:	84
Size:	46.5 KB
ID:	23885  

Last edited by Steve R.; 01-04-2017 at 03:07 PM. Reason: One issue solved
 
Old 01-05-2017, 02:00 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,613
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Since you have found a solution to this problem (and congratulations on describing it so clearly), please mark this thread as solved. That will make it more useful to other people who have the same problem and find your post.
 
Old 01-05-2017, 06:56 AM   #3
Steve R.
Member
 
Registered: Jun 2009
Location: Morehead City, NC
Distribution: Mint 20.3
Posts: 521

Original Poster
Rep: Reputation: 98
Quote:
Originally Posted by hazel View Post
Since you have found a solution to this problem (and congratulations on describing it so clearly), please mark this thread as solved. That will make it more useful to other people who have the same problem and find your post.
Not solved yet. Look at the two attached images in my original post. The network configuration does not display correctly on computer3. The image shown for computer1 is what I believe to be the correct network configuration display and the solution that I am seeking.

What was solved; was what I had originally believed to be sympton of the problem, but it turned-out to be an independent unrelated issue. A "bad" file. Deleting that file did not fix the problem that I am experiencing.

Last edited by Steve R.; 01-05-2017 at 07:06 AM.
 
Old 03-05-2017, 08:53 AM   #4
Steve R.
Member
 
Registered: Jun 2009
Location: Morehead City, NC
Distribution: Mint 20.3
Posts: 521

Original Poster
Rep: Reputation: 98
New information.
  1. I just recently installed a new router. The router is now visible in the same manner as displayed in the image "computer3.png" in my initial post. However the other computers still do not show-up.
  2. Additionally, a bug report that I submitted on network discovery has been "confirmed" (Bug #1589975). Ubuntu 16.04 has Networking problems Whether this is part of my current problem is unknown.

Last edited by Steve R.; 03-05-2017 at 08:54 AM.
 
Old 03-20-2017, 07:03 AM   #5
Steve R.
Member
 
Registered: Jun 2009
Location: Morehead City, NC
Distribution: Mint 20.3
Posts: 521

Original Poster
Rep: Reputation: 98
Now solved.

Since installing the new router, I experimented by logging in as another user to see what the effects would be. What I found is that (as an other user) the network, popped-up quickly and appeared as shown for computer3 in the image on the first post. The obvious implication, I somehow screwed-up my (user) network configuration so that it only displays the image for computer1. That would imply that I will need to locate the personal network configuration files associated with my login.

After posting, I located a ".smb" directory in my "home" directory and deleted the ".smb" directory. On one computer it solved the problem. On the other computer, it only partially solved the problem.

For some unknown reason, the FSTAB file did play a role in not displaying the other computers on the network.

# out the line below resolved the issue of the other computers not showing-up. Why I don't know.
Code:
//syrma/sfmagcovers /home/steve/sfmagcovers cifs file_mode=0777,dir_mode=0777,credentials=/etc/samba/credentials,sec=ntlmssp,uid=1000,gid=34,nofail,iocharset=utf8,user 0 0
I also tried this approach, but it did not work either. For now, this mounting option has simply been deleted since it is not accessed that often.
Code:
#//syrma/sfmagcovers /media/sfmagcovers cifs file_mode=0777,dir_mode=0777,guest,sec=ntlmssp,uid=1000,gid=34,nofail,iocharset=utf8,user 0 0

Last edited by Steve R.; 03-20-2017 at 08:26 AM.
 
  


Reply

Tags
network connectivity, ubuntu 16.04



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Discovery/Map \/4A Linux - Networking 2 05-07-2013 03:01 PM
Network discovery in Java mohtasham1983 Programming 4 07-15-2010 02:39 PM
Network discovery programs Tortanick Linux - Networking 11 10-26-2007 02:06 AM
Network Discovery Utility metallica1973 Linux - Networking 3 08-09-2007 12:53 PM
How to do Network Discovery bzlaskar Linux - Networking 2 05-17-2006 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration