Debugging CIFS / samba on Windows

From: Peter (BOUGHTONP)18 Jun 2016 22:14
To: graphitone 11 of 52
Nope, no recent Windows Updates applied.

Network discovery is on.

From: Peter (BOUGHTONP)18 Jun 2016 22:30
To: graphitone 12 of 52
There's a whole bunch of tunnel adapter bollocks included, which is in the attached file in case it's relevant, along with the wireless adapter output, which is using 192.168.43.x and shouldn't be affecting things?
Windows IP Configuration

   Host Name . . . . . . . . . . . . : Storm
   Primary Dns Suffix  . . . . . . . : 
   Node Type . . . . . . . . . . . . : Mixed
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Wireless LAN adapter Wireless Network Connection:

[snip]

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
   Physical Address. . . . . . . . . : 00-90-F5-9B-5A-57
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Autoconfiguration IPv4 Address. . : 169.254.184.205(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . : 
   NetBIOS over Tcpip. . . . . . . . : Disabled
   
[snip]
Attachments:
From: Peter (BOUGHTONP)18 Jun 2016 23:44
To: ALL13 of 52
I setup a WebDAV share and can access that from Windows, though it needs to be mapped to a drive letter and seems ridiculously slow - simply opening a text file can take a couple of seconds. :/

Accessing NFS shares on Windows seems like a minefield, and there's an iSCSI option but that seems to have so much configuration... :&

So if I can't figure out WTF is stopping CIFS connecting then that leaves me with FTP. :'(

From: CHYRON (DSMITHHFX)19 Jun 2016 01:01
To: Peter (BOUGHTONP) 14 of 52
Have you tried accessing it from a different Windows pc?
From: Peter (BOUGHTONP)19 Jun 2016 01:27
To: CHYRON (DSMITHHFX) 15 of 52
I was accessing it from this Windows PC one a month ago, and it was working perfectly.

Regrettably I don't know of any protocols that possess the appropriate temporal aspect to let me record all the settings and changes made before things got screwed up.

From: graphitone19 Jun 2016 07:29
To: Peter (BOUGHTONP) 16 of 52
You've got an apipa on the Ethernet connection and a class b subnet, I take it you're using the wireless to connect from the windows machine to the network, it shouldn't make a difference but have you tried disabling the Ethernet adapter?
From: Peter (BOUGHTONP)19 Jun 2016 12:31
To: graphitone 17 of 52
Nope, the wireless connection goes to the Internet.

The NAS is connected via Ethernet to the same switch as the Windows machine. (The NAS doesn't connect to wifi.)

From: CHYRON (DSMITHHFX)19 Jun 2016 14:47
To: Peter (BOUGHTONP) 18 of 52
Can you restore from backup to when it was working?
From: Peter (BOUGHTONP)19 Jun 2016 15:00
To: CHYRON (DSMITHHFX) 19 of 52
Only if you can supply me with a time machine so I can go back and create a restore point...
From: ANT_THOMAS19 Jun 2016 15:21
To: Peter (BOUGHTONP) 20 of 52
Turned off system restore?

Definitely don't have access to another windows system just to try?
From: CHYRON (DSMITHHFX)19 Jun 2016 16:02
To: Peter (BOUGHTONP) 21 of 52
Pretty sure Ant can build you one with a rasberry pi.
From: Peter (BOUGHTONP)19 Jun 2016 16:57
To: ANT_THOMAS 22 of 52
Nope, but there's only one restore point - created automatically on Friday evening - so that doesn't help. (Ticked the "Show more" checkbox and nothing else appears. Damned thing.)

I have no other active Windows boxes, and I'm not faffing around finding and swapping the harddrive I took out of my netbook since I'm approximately 5000% certain the NAS is correctly configured and the issue is with this Windows instance.

From: patch19 Jun 2016 18:23
To: Peter (BOUGHTONP) 23 of 52
Does the network interface use DHCP or a static address? Either way, you shouldn't be getting a 169.254 address on the interface, so either check that DHCP is still working, or assign a new address to the interface.
From: Peter (BOUGHTONP)19 Jun 2016 18:56
To: patch 24 of 52
No DHCP server, afaik. I did originally intend to setup DHCP+DNS on my Pi but didn't have time initially and then everything was working with 169.254 so I just left it.
From: ANT_THOMAS19 Jun 2016 19:27
To: Peter (BOUGHTONP) 25 of 52
Do you still not have a phone line?
From: graphitone19 Jun 2016 19:43
To: patch 26 of 52
Aye, s'what I was thinking.
From: koswix19 Jun 2016 19:43
To: Peter (BOUGHTONP) 27 of 52
Can you connect to anything else on the Ethernet adapter? Config looks a bit... nonstandard.
From: ANT_THOMAS19 Jun 2016 19:46
To: koswix 28 of 52
Don't be shocked.
From: patch19 Jun 2016 19:54
To: graphitone 29 of 52
The network engineer in me thinks that 169.254 should never be used so that it's obvious when they crop up that something is wrong. But then there's at least one example of paid work that I've done which uses them for the wireless access points VLAN. Such a cowboy.
From: Chris (CHRISSS)19 Jun 2016 19:55
To: Peter (BOUGHTONP) 30 of 52
Give it a proper IP address and see if that helps.