I have a problem browsing Windows shares - sometimes they appear in Nemo, sometimes they don't!
This has been with me for some time now. I had the problem with 18.1 and (I think) with 18, and now also with 18.2
I have not done anything to configure Mint to see these shares - it works (sometimes) out of the box.
In Nemo I click on the Network link in the Network section in the left hand panel.
When it works I see a Windows Network icon, and my printer, and also each Windows device on the LAN that is switched on (there are 2 Win10 PCs here) and my NAS box (an ancient Buffalo Terastation).
When I have the problem all I see is the Windows Network icon and the printer.
In either case if I double click on the Windows Network icon there is nothing in it.
I did not experience the problem for about a month - and actually got round to checking all sorts of stuff while it was working to compare with when it is not
Then on the 6th December I got the problem and it has been with me ever since. (You might be able to tell that it takes me a while to get round to things, like posting here for help).
When I do have the problem I can type the share I want into the location bar in Nemo to access it, (e.g. smb://192.168.253.149/share/ ) so it's not stopping me working.
About me:
I used to be a Windows NT admin many years ago, but at home started fiddling with Linux. I quickly ditched Windows and have not used it at home since. I have tried various distros (Fedora, Ubuntu etc...) but really like Mint. I have not got the knowledge of Linux that I once had with Windows though.
Since I stopped being a Windows admin I moved into networking (Cisco, Checkpoint, Palo Alto...) which I did for about 15 years. I have now retired from IT.
So, although I still don't know a lot about Linux, I do know about networking
My computer - is an old workhorse. It has been with me for about 8 years and still going strong, as you can see:
Code: Select all
julian@QDM-linux2 ~ $ inxi -Fxz
System: Host: QDM-linux2 Kernel: 4.8.0-53-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.4.3 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.2 Sonya
Machine: Mobo: Intel model: D946GZIS v: AAD83227-402
Bios: Intel v: TS94610J.86A.0087.2007.1107.1049 date: 11/07/2007
CPU: Single core Intel Celeron 420 (-UP-) cache: 512 KB
flags: (lm nx sse sse2 sse3 ssse3) bmips: 3196 speed: 1598 MHz (max)
Graphics: Card: Intel 82946GZ/GL Integrated Graphics Controller
bus-ID: 00:02.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1680x1050@59.95hz
GLX Renderer: Mesa DRI Intel 946GZ
GLX Version: 2.1 Mesa 12.0.6 Direct Rendering: Yes
Audio: Card-1 Intel NM10/ICH7 Family High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Creative Labs CA0106 Soundblaster
driver: snd_ca0106 port: 1140 bus-ID: 04:00.0
Sound: Advanced Linux Sound Architecture v: k4.8.0-53-generic
Network: Card-1: Realtek RTL8169 PCI Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: 1000 bus-ID: 04:01.0
IF: enp4s1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Card-2: Intel PRO/100 VE Network Connection
driver: e100 v: 3.5.24-k2-NAPI port: 1100 bus-ID: 04:08.0
IF: enp4s8 state: down mac: <filter>
Drives: HDD Total Size: 500.1GB (3.4% used)
ID-1: /dev/sda model: WDC_WD5003ABYX size: 500.1GB
Partition: ID-1: / size: 455G used: 13G (3%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 4.28GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 46.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 177 Uptime: 1:15 Memory: 1487.5/3940.9MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
I followed the checklist in Samba Browsing Problems Checklist
viewtopic.php?f=42&t=88146&start=0
and here is the output of all the tests it required. The output for all of these commands is the same whether I can browse the shares or not - except for one command - smbtree returns no data when I have the problem.
Code: Select all
$ sudo service smbd status
● smbd.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
$
$ sudo service nmbd status
● nmbd.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
$
$ hostname
QDM-linux2
$
$ cat /etc/samba/smb.conf | grep order
# smb.conf(5) manual page in order to understand the options listed
$
$ cat hosts
127.0.0.1 localhost
127.0.1.1 QDM-linux2
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
$
$ cat lmhosts
cat: lmhosts: No such file or directory
$
$ sudo ufw status
Status: inactive
$
$
$
$ sudo nmap -sS -sU -T4 192.168.253.149
Starting Nmap 7.01 ( https://nmap.org ) at 2017-11-06 19:36 CET
Warning: 192.168.253.149 giving up on port because retransmission cap hit (6).
Nmap scan report for 192.168.253.149
Host is up (0.00014s latency).
Not shown: 1934 closed ports, 50 open|filtered ports
PORT STATE SERVICE
80/tcp open http
139/tcp open netbios-ssn
445/tcp open microsoft-ds
515/tcp open printer
548/tcp open afp
873/tcp open rsync
3689/tcp open rendezvous
8000/tcp open http-alt
8080/tcp open http-proxy
8873/tcp open dxspider
9666/tcp open unknown
22939/tcp open unknown
58080/tcp open unknown
69/udp open tftp
137/udp open netbios-ns
5353/udp open zeroconf
MAC Address: 00:16:01:BB:19:3E (Buffalo.inc)
Nmap done: 1 IP address (1 host up) scanned in 944.95 seconds
$
$
$
#####
##### this smbtree output is from when the browsing worked
#####
$ smbtree
Enter julian's password:
WORKGROUP
\\QDM-W8KITCHEN
\\QDM-W8KITCHEN\Users
\\QDM-W8KITCHEN\IPC$ Remote IPC
\\QDM-W8KITCHEN\Ddrive$
\\QDM-W8KITCHEN\D$ Default share
\\QDM-W8KITCHEN\C$ Default share
\\QDM-W8KITCHEN\ADMIN$ Remote Admin
\\HS-DHTGL93E TeraStation
\\HS-DHTGL93E\ADMIN$ IPC Service ("TeraStation")
\\HS-DHTGL93E\IPC$ IPC Service ("TeraStation")
\\HS-DHTGL93E\LBV
\\HS-DHTGL93E\speech
\\HS-DHTGL93E\pictures
\\HS-DHTGL93E\music
\\HS-DHTGL93E\mp3
\\HS-DHTGL93E\comedy
\\HS-DHTGL93E\share
\\HS-DHTGL93E\info TeraStation Utilities
\\HS-DHTGL93E\lp Network Printer for Windows
\\DESKTOP-8I8FT47
$
$
$ smbclient -L 192.168.253.149
WARNING: The "syslog" option is deprecated
Enter julian's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.21c]
Sharename Type Comment
--------- ---- -------
lp Printer Network Printer for Windows
info Disk TeraStation Utilities
share Disk
comedy Disk
mp3 Disk
music Disk
pictures Disk
speech Disk
LBV Disk
IPC$ IPC IPC Service ("TeraStation")
ADMIN$ IPC IPC Service ("TeraStation")
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.21c]
Server Comment
--------- -------
DESKTOP-8I8FT47
HS-DHTGL93E TeraStation
QDM-W8KITCHEN
Workgroup Master
--------- -------
WORKGROUP HS-DHTGL93E
$
$
$
$ cd /etc/network
/etc/network $ cat interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
$
$
$
$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
gvfs-backends is installed
Quite a long post for my first one - I hope that I have given all the information you might need to be able to help me.
Thanks
Julian