Koozali.org: home of the SME Server

cannot see sme 9 in local network

Offline beek

  • 15
  • +0/-0
cannot see sme 9 in local network
« on: December 15, 2014, 04:50:28 PM »
hello,

in my network, I do not see the sme server. :(
i see all other computers in the network.

try to connect with windows 7 and the firewall is off

SME server is set to Gateway and server.

Workgroup settings.

Windows Workgroup name = beek
server name = server
Workgroup and Domain Controller = No
Roaming profiles = No

Erik

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: cannot see sme 9 in local network
« Reply #1 on: December 15, 2014, 05:21:42 PM »
hi, welcome here

please give us as many details as you can..

start telling us something about lan/wan conf in your server and clients, thank you

Offline beek

  • 15
  • +0/-0
Re: cannot see sme 9 in local network
« Reply #2 on: December 15, 2014, 07:24:15 PM »
Networking Parameters sme server
Server Mode   servergateway
Local IP address / subnet mask   192.168.2.1/255.255.255.0
External IP address / subnet mask   192.168.1.201/255.255.255.0
Gateway   192.168.1.1
Additional local networks   192.168.2.0/255.255.255.0
DHCP server   enabled
Beginning of DHCP address range   192.168.2.65
End of DHCP address range   192.168.2.75
Server names
DNS server   192.168.2.1
Web server   www.erik.loc
Proxy server   proxy.erik.loc:3128
FTP server   ftp.erik.loc
SMTP, POP, and IMAP mail servers   mail.erik.loc

Windows settings.

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : 192.168.2.1
   IPv4 Address. . . . . . . . . . . : 192.168.2.69
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.2.1

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: cannot see sme 9 in local network
« Reply #3 on: December 15, 2014, 07:46:58 PM »
Can you connect to the server directly by IP address?  Try doing start > run > \\192.168.2.1
« Last Edit: December 15, 2014, 07:49:29 PM by DanB35 »
......

Offline beek

  • 15
  • +0/-0
Re: cannot see sme 9 in local network
« Reply #4 on: December 15, 2014, 08:09:56 PM »
no
network error
windows cannot access \\192.168.2.1

Offline beek

  • 15
  • +0/-0
Re: cannot see sme 9 in local network
« Reply #5 on: December 15, 2014, 08:26:49 PM »
my smb.conf

#------------------------------------------------------------
#              !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------

[global]

add machine script = /sbin/e-smith/signal-event machine-account-create '%u'

bind interfaces only = yes

case sensitive = no
deadtime = 10080

display charset = ISO8859-1

dns proxy = no

domain logons = no
domain master = no
dos charset = 850

encrypt passwords = yes

guest account = public

guest ok = no
hosts allow = 127.0.0.1 192.168.2.0/255.255.255.0

interfaces = 127.0.0.1 192.168.2.1/255.255.255.0

log file = /var/log/samba/log.%m
logon drive = Z:

map to guest = never

max log size = 50

name resolve order = wins lmhosts bcast

netbios name = vuurmuur
oplocks = true
kernel oplocks = true
level2 oplocks = true

os level = 35
passdb backend = smbpasswd:/etc/samba/smbpasswd

pid directory = /var/run
preferred master = auto

preserve case = yes
private dir = /etc/samba

security = user
server string = SME Server
short preserve case = yes
smb passwd file = /etc/samba/smbpasswd
smb ports = 139

socket options = TCP_NODELAY

strict locking = no
unix charset = UTF8
unix password sync = Yes
pam password change = Yes

passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
check password script = /sbin/e-smith/samba_check_password

unix extensions = no

wins support = no

workgroup = erik
printcap name = /etc/printcap
load printers = yes
printing = lprng
print command = /usr/bin/lpr -b -h -r -P%p %s

Offline Peasant

  • *
  • 143
  • +2/-0
Re: cannot see sme 9 in local network
« Reply #6 on: December 18, 2014, 11:17:38 PM »
Can you ping the server from the Windows 7 PC?

From the command prompt:

ping 192.168.2.1
Jim

Offline beek

  • 15
  • +0/-0
Re: cannot see sme 9 in local network
« Reply #7 on: December 21, 2014, 12:24:18 PM »
yes i can ping it and connect trough ssh (putty)

Offline Peasant

  • *
  • 143
  • +2/-0
Re: cannot see sme 9 in local network
« Reply #8 on: December 22, 2014, 12:13:18 PM »
Can you check your workgroup settings? In your first post you have your workgroup listed as beek, but in your smb.conf it is listed as erik.
Jim

Offline beek

  • 15
  • +0/-0
Re: cannot see sme 9 in local network
« Reply #9 on: December 22, 2014, 07:36:36 PM »
both setting are now on erik and still not working

Offline beek

  • 15
  • +0/-0
Re: cannot see sme 9 in local network
« Reply #10 on: December 22, 2014, 07:39:03 PM »
i build a new machine and this is working good.
so witch files do i need to copy to the old one so that the okd machine is working

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: cannot see sme 9 in local network
« Reply #11 on: December 22, 2014, 08:11:42 PM »
can you tell us more, does your first server is done from a backup of sme8, does the second is installed without backup????

If the second is ok, the first should do.

Of course you have reconfigured your server

Code: [Select]
signal-event post-upgrade; signal-event reboot
« Last Edit: December 22, 2014, 08:13:18 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: cannot see sme 9 in local network
« Reply #12 on: December 22, 2014, 08:13:01 PM »
beek
Quote
i build a new machine and this is working good.

So the problem is not with SME server, but more likely your configuration.

Please show us the same configuration settings for your new server as you have shown us for your original server (ie all the settings from the Configuration panel in server manager & smb.conf etc) and we may be able to spot where you have gone wrong.

I would ask you to describe your network setup more thoroughly
 ie
do you have other servers on the LAN ?
is there a Windows server ?
do you have a seperate gatewall firewall device or are you using a bridged modem attached to the SME server ?
What mode is your SME server in , server only or gateway server mode ?

One odd thing I notice in your original settings is that you have a gateway specified that is on a different IP range (192.168.1.1) than the LAN IP for the server & the gateway specified in your workstations (both set as 192.168.2.1). That does not necessarily make sense as you say the first server is set in server gateway mode so the gateway & SME server IP should be the same (192.168.2.1), unless perhaps you have a static IP setup with a DMZ.

Quote
so witch files do i need to copy to the old one so that the okd machine is working

It is not that simple with SME server, copying & replacing selected config files will most likely mess up your server. You could do a complete backup & restore but that will transfer all the same settings & you will end up with the same issue.

One last possibility, after changing the workgroup name did you restart all servers & workstations on your network, allowing SME server to boot up fully BEFORE starting other workstations (& servers if any) ?

You need to provide more information as mentioned above in order for us to resolve your configuration issues.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Peasant

  • *
  • 143
  • +2/-0
Re: cannot see sme 9 in local network
« Reply #13 on: December 22, 2014, 08:22:32 PM »
Quote
One odd thing I notice in your original settings is that you have a gateway specified that is on a different IP range (192.168.1.1) than the LAN IP for the server & the gateway specified in your workstations (both set as 192.168.2.1). That does not necessarily make sense as you say the first server is set in server gateway mode so the gateway & SME server IP should be the same (192.168.2.1), unless perhaps you have a static IP setup with a DMZ.

The default gateway specified on his workstations is 192.168.2.1, which is the internal LAN adaptor of the server (which is in servergateway). The external LAN adaptor has a gateway of 192.168.1.1. It looks like it is a test machine set up on an internal network to me.
Jim

Offline beek

  • 15
  • +0/-0
Re: cannot see sme 9 in local network
« Reply #14 on: December 23, 2014, 07:25:21 PM »
i got one server and that is the sme server and there are 2 windows 7 workstations en some nas disks and a media player in my network.

on both servers is a fresh install without restoring
after the server/gateway i have a router from my isp.
what have te settings from the router to do with not seeing the server in the network environment.

the gateway is on the sme server and routing to the isp route (192.168.1.1)

network setting first server (not working):

Networking Parameters
Server Mode   servergateway
Local IP address / subnet mask   192.168.2.1/255.255.255.0
External IP address / subnet mask   192.168.1.201/255.255.255.0
Gateway   192.168.1.1
Additional local networks   192.168.2.0/255.255.255.0
DHCP server   enabled
Beginning of DHCP address range   192.168.2.65
End of DHCP address range   192.168.2.75
Server names
DNS server   192.168.2.1
Web server   www.erik
Proxy server   proxy.erik:3128
FTP server   ftp.erik
SMTP, POP, and IMAP mail servers   mail.erik

second server (working):

Networking Parameters
Server Mode   servergateway
Local IP address / subnet mask   192.168.2.2/255.255.255.0
External IP address / subnet mask   192.168.1.201/255.255.0.0
Gateway   192.168.1.1
Additional local networks   192.168.2.0/255.255.255.0
DHCP server   disabled
Server names
DNS server   192.168.2.2
Web server   www.erik
Proxy server   proxy.erik:3128
FTP server   ftp.erik
SMTP, POP, and IMAP mail servers   mail.erik