Neith my OSX workstation nor my Windows 10 workstation show my Centos 7 server. Most likely it is some dumb item I'm overlooking.
The httpd is working: http://192.168.1.22 or http://www.toddcary.com
This is my smb.conf:
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = WEB01
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = root
create mask = 0664
directory mask = 0775
[html]
path=/var/www/html
security=user
public=no
writable=yes
only guest=no
create mask=0775
valid users = tcary
selinux is disabled and the firewall is configured as
public (active)
target: default
icmp-block-inversion: no
interfaces: wlp2s0 enp0s25
sources:
services: ssh dhcpv6-client samba
ports: 80/tcp 443/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
The Windows 10 hosts file is configured as
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
192.168.1.22 centos7
Have I overlooked something?
Todd
Windows 10 does not show Centos 7 server
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: Windows 10 does not show Centos 7 server
If you want to discover your samba - enable the "nmb.service".
Also consider enabling your SELinux and configuring your "/var/www/html" as : or
If you need write access for samba, allow it via:
To allow httpd to write to the same folder, allow it via:
Also consider enabling your SELinux and configuring your "/var/www/html" as :
Code: Select all
system_u:object_r:public_content_t:s0
Code: Select all
system_u:object_r:public_content_rw_t:s0
Code: Select all
setsebool -P smbd_anon_write on
Code: Select all
setsebool -P httpd_anon_write 1
Re: Windows 10 does not show Centos 7 server
Yes, I'd forgotten to enable and start nmb-service, however I'm still not able to "see" centos7 (the name of the server) with either the Win 10 or Mac.
Is there a tool that will let me know if centos7 can "see" either the Win 10 or Mac?
Does the line in firewall
services: ssh dhcpv6-client samba
open the necessary ports for Samba?
Todd
Is there a tool that will let me know if centos7 can "see" either the Win 10 or Mac?
Does the line in firewall
services: ssh dhcpv6-client samba
open the necessary ports for Samba?
Todd
Re: Windows 10 does not show Centos 7 server
Here are the results of ipconfig /all on the Windows 10 box:
Windows IP Configuration
Host Name . . . . . . . . . . . . : NUC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Ethernet Connection (3) I218-V
Physical Address. . . . . . . . . : B8-AE-ED-76-43-96
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::ddad:b846:b4a9:8e61%15(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.16(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, February 19, 2018 2:31:54 PM
Lease Expires . . . . . . . . . . : Tuesday, February 20, 2018 2:31:53 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 230207213
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-79-E8-2C-B8-AE-ED-76-43-96
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Wireless LAN adapter Wi-Fi:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7265
Physical Address. . . . . . . . . : 34-13-E8-30-5C-BE
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 10:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : 34-13-E8-30-5C-BF
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Ethernet 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Kaspersky Security Data Escort Adapter
Physical Address. . . . . . . . . : 00-FF-1B-10-8A-24
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 12:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:9d38:953c:c68:187a:271b:51f6(Preferred)
Link-local IPv6 Address . . . . . : fe80::c68:187a:271b:51f6%19(Preferred)
Default Gateway . . . . . . . . . : ::
DHCPv6 IAID . . . . . . . . . . . : 318767104
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-79-E8-2C-B8-AE-ED-76-43-96
NetBIOS over Tcpip. . . . . . . . : Disabled
On the centos7 the arp shows 192.168.1.16, the ip of the windows box.
\rtc
Windows IP Configuration
Host Name . . . . . . . . . . . . : NUC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Ethernet Connection (3) I218-V
Physical Address. . . . . . . . . : B8-AE-ED-76-43-96
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::ddad:b846:b4a9:8e61%15(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.16(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, February 19, 2018 2:31:54 PM
Lease Expires . . . . . . . . . . : Tuesday, February 20, 2018 2:31:53 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 230207213
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-79-E8-2C-B8-AE-ED-76-43-96
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Wireless LAN adapter Wi-Fi:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7265
Physical Address. . . . . . . . . : 34-13-E8-30-5C-BE
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 10:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : 34-13-E8-30-5C-BF
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Ethernet 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Kaspersky Security Data Escort Adapter
Physical Address. . . . . . . . . : 00-FF-1B-10-8A-24
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 12:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:9d38:953c:c68:187a:271b:51f6(Preferred)
Link-local IPv6 Address . . . . . : fe80::c68:187a:271b:51f6%19(Preferred)
Default Gateway . . . . . . . . . : ::
DHCPv6 IAID . . . . . . . . . . . : 318767104
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-79-E8-2C-B8-AE-ED-76-43-96
NetBIOS over Tcpip. . . . . . . . : Disabled
On the centos7 the arp shows 192.168.1.16, the ip of the windows box.
\rtc
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: Windows 10 does not show Centos 7 server
The samba firewall service is enough.
Check the windowws machine has the same workgroup like the samba.
If you want to check the samba you can run the following from your centos7:
From the windows try to acces the Centos7 from windows explorer via:
Check the windowws machine has the same workgroup like the samba.
If you want to check the samba you can run the following from your centos7:
Code: Select all
smbclient -U tcary -L //IP_OF_CENTOS7
Code: Select all
\\IP_OF_CENTOS7\html