'Network' not displaying shares...

'Network' not displaying shares...

Postby omelette » Aug 30th, '11, 12:19

Something else that I've broken. When I first installed Mageia sharing worked fine, so that when I clicked 'Network', then double-clicked 'Samba Shares' I'd have displayed both my share-server & the received shares. When I now double-click Samba Shares, I am invariably told that;

Code: Select all
Unable to find any workgroups in your local network. This might be caused by an enabled firewall.


Note that as this computer isn't connected directly to the internet, the firewall is switched off. This doesn't seem to be a permissions thing either - I can run Dolphin from the root-console and am presented with the same message. The rub is that file-sharing itself works fine - as root I can run 'Access Windoes (SMB) shared drives and directories' and it finds, displays and lets me mount shares without a problem.

I just cannot access shares as a user (or root) via the Network->Samba Shares route.
omelette
 
Posts: 40
Joined: Aug 21st, '11, 02:50

Re: 'Network' not displaying shares...

Postby omelette » Aug 30th, '11, 16:40

Ok, I've made a discovery of sorts, whenever I run 'Access Windows shared drives and directories' as root - it's not even necessary do a search for available shares - then as a 'normal user' I am able to see available-servers from Samba Shares. This cannot be 'normal', after all, even root cannot see the available-servers (as I outlined above) unless he first does what I've just indicated, never mind ordinary users! I hoped it might be a privileges-issue so added every group available to my user-name - no difference.

Is this another Mageia bug or am I doing something wrong?
omelette
 
Posts: 40
Joined: Aug 21st, '11, 02:50

Re: 'Network' not displaying shares...

Postby doktor5000 » Aug 31st, '11, 00:21

As root, run
Code: Select all
smbclient -L //$(hostname)
and enter your root password again. Please post the output here.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 'Network' not displaying shares...

Postby omelette » Sep 1st, '11, 18:19

I appreciate the response. As hard as I've tried, I cannot now get either pc that I installed Mageia on to do it! :oops: The second Mageia install was a direct result of not being able to sort it on the first one. With the new install, it worked perfectly for a while then started doing the exact same thing as the first pc was doing - hence the origins of this thread!

I'll leave things be until/unless it crops up again...
omelette
 
Posts: 40
Joined: Aug 21st, '11, 02:50

Re: 'Network' not displaying shares...

Postby doktor5000 » Sep 1st, '11, 18:27

omelette wrote:As hard as I've tried, I cannot now get either pc that I installed Mageia on to do it! :oops:

You mean they won't run that command? What was the exact output/error?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 'Network' not displaying shares...

Postby omelette » Sep 15th, '11, 23:02

doktor5000 wrote:
omelette wrote:As hard as I've tried, I cannot now get either pc that I installed Mageia on to do it! :oops:

You mean they won't run that command? What was the exact output/error?


It took a while to re-occur but it's back and here is what the output is;

Code: Select all
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.8]

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       IPC Service (omelette-laptop)
        Public          Disk      public (R&W)
        pdf-gen         Printer   PDF Generator (only valid users)
        print$          Disk
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.8]

        Server               Comment
        ---------            -------
        OMELETTE-LAPTOP      omelette-laptop

        Workgroup            Master
        ---------            -------
        WORKGROUP            OMELETTE-E59210


Again, I double-click the samba-shares icon and I no longer see a 'Workgroup' icon, and a second or so later am told there are no workgroups found in your local network, and that it might be caused by an enabled firewall.
omelette
 
Posts: 40
Joined: Aug 21st, '11, 02:50

Re: 'Network' not displaying shares...

Postby doktor5000 » Sep 15th, '11, 23:55

omelette wrote:
Code: Select all
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.8]

        Server               Comment
        ---------            -------
        OMELETTE-LAPTOP      omelette-laptop

        Workgroup            Master
        ---------            -------
        WORKGROUP            OMELETTE-E59210



I don't know about MCC, but the output shows your samba shares are reachable.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 'Network' not displaying shares...

Postby omelette » Sep 24th, '11, 01:13

Excuse the delay. Yeah, that's what I thought too, unfortunately when it occurs, all I get is that message telling me that it's probably a firewall-issue. I had a near-identical problem with Fedora15 - via Nautilus I could not browse the remote pc, from the command-line it worked perfectly! I just gave up on it seeing that (imo) Gnome3 sucks! As for Mageia/Dolphin/network-problem, it's working again. Damn annoying the way it just stops working for no obvious reason though.
omelette
 
Posts: 40
Joined: Aug 21st, '11, 02:50

Re: 'Network' not displaying shares...

Postby isaiah36 » Jan 18th, '16, 00:27

Samba shares not accessible from Windows 7. This was working fine before but it is broken for some unknown reason. The LAN IP is unchanged. Here is my output:

Code: Select all
[root@localhost isaiah]# smbclient -L //$(hostname)
Enter isaiah's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.25]

   Sharename       Type      Comment
   ---------       ----      -------
   IPC$            IPC       IPC Service (localhost)
   pdf-gen         Printer   PDF Generator (only valid users)
   print$          Disk     
   isaiah          Disk      Home Directories
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.25]

   Server               Comment
   ---------            -------
   ASL-T400             
   LOCALHOST            localhost

   Workgroup            Master
   ---------            -------
   WORKGROUP            LOCALHOST


The system named ASL-T400 is the one that needs to access the Samba shares. It would be nice to access the Workgroup shares inside Dolphin or Caja, but I can live without it. The MCC applet does not display any mountable shares at all.
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: 'Network' not displaying shares...

Postby magfan » Jan 19th, '16, 10:08

Some time ago I had similar problems with mounting directories on Windows 7. Maybe you can solve your issue with a similar approach I described here: https://forums.mageia.org/en/viewtopic.php?f=25&t=5551

The short version is:
1. make sure the directory on your NAS is "searchable" and "public"
2. mount your NAS directory from Mageia with the option "sec=ntlm"
magfan
 
Posts: 332
Joined: Apr 3rd, '12, 12:33

Re: 'Network' not displaying shares...

Postby isaiah36 » Jan 19th, '16, 14:24

Thanks, magfan. After reboot of both systems everything seems fine now. It could be something to do with the router providing DHCP. Mysterious.

The Mageia 5 system had crashed while playing a 1080p video before the Samba problem showed up, so maybe it needed a clean reboot.
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: 'Network' not displaying shares...

Postby isaiah36 » Feb 11th, '16, 06:39

The Samba server has become flaky. The shares go offline for 1-2 minutes, every 10-15 minutes. Then they come back on their own.
User avatar
isaiah36
 
Posts: 109
Joined: Dec 21st, '15, 13:18

Re: 'Network' not displaying shares...

Postby magfan » Feb 25th, '16, 09:35

Just two days ago I had a similar problem with a system running Windows 7. In my case I could solve it by adjusting the following settings in the current profile (Network and Sharing Center: Change advanced sharing settings):
    turn on network discovery
    turn on file and printer sharing
magfan
 
Posts: 332
Joined: Apr 3rd, '12, 12:33


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron