Setting Up and Sharing Files on the Network - Not fixed but solved  [Solved]

Message
Author
User avatar
CharlesV
Administrator
Posts: 7972
Joined: Sun Jul 07, 2019 5:11 pm

Re: Setting Up and Sharing Files on the Network

#21 Post by CharlesV »

When you start UFW, you will see on the main screen under Firewall a dropdown with Home, Office and Public. I have seen people turn off Home and have Office or Public still be engaged and be a problem.

For testing, choose home, turn if off. Then public, and turn that off, and then Office and once again turn it off.

Then see if you can see computer1 in the network. It SHOULD show up, or something else is going on.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Falcon
Posts: 478
Joined: Mon Apr 22, 2019 9:34 pm

Re: Setting Up and Sharing Files on the Network

#22 Post by Falcon »

Office and Public were still on, so I turned them off. When I browse the network on computer #2, computer #1 still does not show up.

User avatar
CharlesV
Administrator
Posts: 7972
Joined: Sun Jul 07, 2019 5:11 pm

Re: Setting Up and Sharing Files on the Network

#23 Post by CharlesV »

Is computer1 in the same network as 2 & 3 ?

meaning - no vpn's or other network restriction?

What are your IP addresses and subnets for computer1, 2 and 3?

And do you have Ap isolation on in your wifi?
( ie can you ping computer1 from computer2 ? )
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Falcon
Posts: 478
Joined: Mon Apr 22, 2019 9:34 pm

Re: Setting Up and Sharing Files on the Network

#24 Post by Falcon »

No VPN.

For computer #1 External IP Address 74.67.104.227. Address from Router 192.168.50.178 This computer is on wi-fi

For computer #2 External IP Address 74.67.104.227. Address from Router 192.168.50.246 This computer is on wi-fi

For computer #3 External IP Address 74.67.104.227. 192.168.50.12 This computer is on ethernet from the router.

From the Terminal on computer #2, I typed "Ping 192.168.50.178" and got a growing list of what looked like responses from computer #1.

User avatar
CharlesV
Administrator
Posts: 7972
Joined: Sun Jul 07, 2019 5:11 pm

Re: Setting Up and Sharing Files on the Network

#25 Post by CharlesV »

Packets received and no losses ?

please run

Code: Select all

testparm


in a terminal and post the results. (both computers1 & 2 )
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Falcon
Posts: 478
Joined: Mon Apr 22, 2019 9:34 pm

Re: Setting Up and Sharing Files on the Network

#26 Post by Falcon »

Here are the results for computer #1

Code: Select all

arthog@mx:~
$ testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
	log file = /var/log/samba/log.%m
	logging = file
	map to guest = Bad User
	max log size = 1000
	obey pam restrictions = Yes
	pam password change = Yes
	panic action = /usr/share/samba/panic-action %d
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
	passwd program = /usr/bin/passwd %u
	server role = standalone server
	unix password sync = Yes
	usershare allow guests = Yes
	idmap config * : backend = tdb


[homes]
	browseable = No
	comment = Home Directories
	create mask = 0700
	directory mask = 0700
	valid users = %S


[printers]
	browseable = No
	comment = All Printers
	create mask = 0700
	path = /var/spool/samba
	printable = Yes


[print$]
	comment = Printer Drivers
	path = /var/lib/samba/printers
warthog@mx:~

User avatar
Falcon
Posts: 478
Joined: Mon Apr 22, 2019 9:34 pm

Re: Setting Up and Sharing Files on the Network

#27 Post by Falcon »

Here are the results for computer #2

Code: Select all

mobilhog@Mobilhog:~
$ testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
	log file = /var/log/samba/log.%m
	logging = file
	map to guest = Bad User
	max log size = 1000
	obey pam restrictions = Yes
	pam password change = Yes
	panic action = /usr/share/samba/panic-action %d
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
	passwd program = /usr/bin/passwd %u
	server role = standalone server
	unix password sync = Yes
	usershare allow guests = Yes
	idmap config * : backend = tdb


[homes]
	browseable = No
	comment = Home Directories
	create mask = 0700
	directory mask = 0700
	valid users = %S


[printers]
	browseable = No
	comment = All Printers
	create mask = 0700
	path = /var/spool/samba
	printable = Yes


[print$]
	comment = Printer Drivers
	path = /var/lib/samba/printers
mobilhog@Mobilhog:~

User avatar
CharlesV
Administrator
Posts: 7972
Joined: Sun Jul 07, 2019 5:11 pm

Re: Setting Up and Sharing Files on the Network

#28 Post by CharlesV »

and both the same, as well as the same for my test vm ... This screams of samba not running or being blocked on computer1
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
CharlesV
Administrator
Posts: 7972
Joined: Sun Jul 07, 2019 5:11 pm

Re: Setting Up and Sharing Files on the Network

#29 Post by CharlesV »

If you look in /var/log/samba/

You should see a log.smbd are there any errors in that log?
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Falcon
Posts: 478
Joined: Mon Apr 22, 2019 9:34 pm

Re: Setting Up and Sharing Files on the Network

#30 Post by Falcon »

var/log/samba folder is empty. No log.smbd.

Locked

Return to “Software / Configuration”