How to connect to a Windows network?

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
Ham13
Level 1
Level 1
Posts: 39
Joined: Sat Aug 23, 2014 2:55 pm

How to connect to a Windows network?

Post by Ham13 » Thu Jan 10, 2019 12:57 pm

Hello All,

I just updated my 17.3 system to 19.1. So far the only problem I have is that I can no longer connect to my windows and other 18.3 Mint system on the Windows network. I checked all I can think of as far as firewall and modem settings. The PC running 18.3 does connect to the Windows network. 19.1 connects to the internet OK. If I click on the Windows Network icon, after going to the network, it errors out. The message is "Cannot mount location - no file or directory found". I have looked on the net for a solution but, am now very confused. How can I fix my problem. I'm also going to add a network printer that is connected to the Windows pc. Windows 8.1.

Thanks,
Marty

altair4
Level 19
Level 19
Posts: 9373
Joined: Tue Feb 03, 2009 10:27 am

Re: How to connect to a Windows network?

Post by altair4 » Thu Jan 10, 2019 1:30 pm

Mint 19 and Samba File Sharing Changes: viewtopic.php?f=42&t=270442
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

Ham13
Level 1
Level 1
Posts: 39
Joined: Sat Aug 23, 2014 2:55 pm

Re: How to connect to a Windows network?

Post by Ham13 » Thu Jan 10, 2019 5:12 pm

Altair4,

Thank you for your response. Edited the smb.conf file then rebooted. No I get "Failure to retrieve share list from server". Sudo service smbd status returns unit smbd. service not found. Still cannot see Windows pc nor can I get by its IP,

Marty

altair4
Level 19
Level 19
Posts: 9373
Joined: Tue Feb 03, 2009 10:27 am

Re: How to connect to a Windows network?

Post by altair4 » Thu Jan 10, 2019 6:00 pm

If you can't access the machine by it's ip address you have bigger problems. Sounds like the two machines are not in the same subnet to me. That's a networking problem not a samba problem.

Please post the output of the following commands:

Code: Select all

testparm -s

Code: Select all

smbtree
And can you ping the machine:

Code: Select all

ping -c3 ip-address-of-WIn8-machine
If you followed the HowTo you should see your other Linux machines since they don't use "Windows Network".

EDIT: Almost forgot. Turn off your Linux firewall.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

Ham13
Level 1
Level 1
Posts: 39
Joined: Sat Aug 23, 2014 2:55 pm

Re: How to connect to a Windows network?

Post by Ham13 » Fri Jan 11, 2019 4:34 pm

OK. I now have firewall problems. I can connect to the network with the firewall disabled, but not with it enabled. The same for a shared printer on the network. I can ping all the boxes on the network. I have applied the rules to allow unwanted to pass samba. No help there. Applied rule network services samba. Firewall is ver 18.04. Seems the problem is on the ln side. In addition I no longer see the Linux boxes on the network window. How do I fix this?

Thanks,
Marty

altair4
Level 19
Level 19
Posts: 9373
Joined: Tue Feb 03, 2009 10:27 am

Re: How to connect to a Windows network?

Post by altair4 » Fri Jan 11, 2019 5:56 pm

I know nothing about Linux firewalls. It's not that I don't think they are necessary it's just how I deploy Linux in my part of the asylum.

You might want to see this post for a possible solution: viewtopic.php?p=1396779#p1396779

As far as the other Linux systems as long as those that are earlier than Mint19 have the avahi registration defined at /etc/avahi/services it should all be automatic. The only thing that can stop it is if avahi-daemon is not running on all your machines or ports 445 and 5353 are closed.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

Post Reply

Return to “Ethernet”