Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27

Thread: Cannot see Ubuntu server on Network (Windows)

  1. #21
    Join Date
    Sep 2012
    Beans
    20

    Re: Cannot see Ubuntu server on Network (Windows)

    Code:
    > testparm.samba3 -sv | grep movie-NAS
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
    Processing section "[printers]"
    Processing section "[print$]"
    Processing section "[Storage]"
    Loaded services file OK.
    Server role: ROLE_STANDALONE

  2. #22
    Join Date
    Dec 2009
    Beans
    5,461

    Re: Cannot see Ubuntu server on Network (Windows)

    > testparm -sv | grep "netbios name"
    bash: testparm: command not found
    I do not know why it's giving you that error unless you don't have samba installed or maybe are running samba4.

    testparm.samba3 seems to work for some odd reason so what is the oputput of this command:
    Code:
     testparm.samba3 -sv | grep "netbios name"
    If that comes back blank then there is something definitaly wrong with your install. Debian / Ubuntu takes your hostname and makes it the samba netbios name - it does this automatically. You can override this process by adding a line to smb.conf and specifying the netbios name explicitly but I'm not aware of any way to remove it.

    And I'm also not ware of any way not to have a host name so the whole thing is perplexing. If this particular server is otherwise fully functional and can be accessed by ip address then I would give it a static one and have all clients access it that way.

  3. #23
    Join Date
    Sep 2012
    Beans
    20

    Re: Cannot see Ubuntu server on Network (Windows)

    Sorry, misunderstood you.

    Code:
    > testparm.samba3 -sv | grep "netbios name"
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
    Processing section "[printers]"
    Processing section "[print$]"
    Processing section "[Storage]"
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    	netbios name = MOVIE-NAS
    I actually thought of trying a different distro, but now it has become an issue to solve this issue. If I need to reformat/re-install, any other distro that you can recommend that will allow a RAID use. The server is purely to act as a file server / NAS.

  4. #24
    Join Date
    Dec 2009
    Beans
    5,461

    Re: Cannot see Ubuntu server on Network (Windows)

    There is still something wrong with your install if testparm cannot be run but I just noticed that your firewall has the nmbd ( name service ) ports closed - UDP: 137 and 138.

    Turn off your firewall. The output of nmap for samba should look something like this:
    Nmap scan report for 192.168.0.100
    Host is up (0.0000030s latency).
    Not shown: 1990 closed ports
    PORT STATE SERVICE
    139/tcp open netbios-ssn
    445/tcp open microsoft-ds
    137/udp open netbios-ns
    138/udp open|filtered netbios-dgm

  5. #25
    Join Date
    Sep 2012
    Beans
    20

    Re: Cannot see Ubuntu server on Network (Windows)

    Hi,

    I should not have a firewall installed. I never selected it to be installed (as far as I know). How can I check.

    Lemme search the net a bit.

  6. #26
    Join Date
    Sep 2012
    Beans
    20

    Re: Cannot see Ubuntu server on Network (Windows)

    Seems Ubuntu installs ufw by default, but it remains inactive till enabled.

    Code:
    > ufw status
    Status: inactive

  7. #27
    Join Date
    Dec 2009
    Beans
    5,461

    Re: Cannot see Ubuntu server on Network (Windows)

    I don't know what to tell you. This is what you posted earlier:
    > sudo nmap -sS -sU -T4 192.168.0.211

    Starting Nmap 5.21 ( http://nmap.org ) at 2012-10-11 16:39 SAST
    Nmap scan report for 192.168.0.211
    Host is up (0.0018s latency).
    Not shown: 1994 closed ports
    PORT STATE SERVICE
    22/tcp open ssh
    139/tcp open netbios-ssn
    445/tcp open microsoft-ds
    3389/tcp open ms-term-serv
    10000/tcp open snet-sensor-mgmt
    10000/udp open unknown
    You are missing the nmbd ports I mentioned in my last post. Your system doesn't close these ports by itself it's something you did or something that you installed that did it.

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •