Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 70

Thread: Ubuntu 10.04 & Samba error

  1. #21
    Join Date
    Dec 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu 10.04 & Samba error

    Quote Originally Posted by verbitan View Post
    Also, I have discovered that I cannot access the server via its hostname under any protocol...so I can't SSH using hostname, only the IP, same with http, or MySQL
    This can only mean that you are not running local name services (DNS, etc.) or it is broken.

  2. #22
    Join Date
    May 2010
    Beans
    30

    Re: Ubuntu 10.04 & Samba error

    Quote Originally Posted by capscrew View Post
    This can only mean that you are not running local name services (DNS, etc.) or it is broken.
    So how can I fix it?

  3. #23
    Join Date
    Dec 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu 10.04 & Samba error

    Quote Originally Posted by verbitan View Post
    So how can I fix it?
    I would start by making sure that there is no firewall running that could block the NetBIOS broadcasts. You can check by running Wireshark on the suspected machine.

  4. #24
    Join Date
    Dec 2009
    Beans
    6,776

    Re: Ubuntu 10.04 & Samba error

    I've always used some variation of the nmap command on linux to see if the remote machine has ports open. For example:
    Code:
    nmap -PN 192.168.0.110
    Where 192.168.0.110 is the remote machine's ip address.

    This will output the following if the necessary ports are open:
    Starting Nmap 5.00 ( http://nmap.org ) at 2010-08-14 12:42 EDT
    Interesting ports on 192.168.0.110:
    Not shown: 997 closed ports
    PORT STATE SERVICE
    139/tcp open netbios-ssn
    445/tcp open microsoft-ds
    631/tcp open ipp
    I don't know if this is the best tool to use but it's the one I choose first.

  5. #25
    Join Date
    Dec 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu 10.04 & Samba error

    Quote Originally Posted by Morbius1 View Post
    I've always used some variation of the nmap command on linux to see if the remote machine has ports open. For example:
    Code:
    nmap -PN 192.168.0.110
    Where 192.168.0.110 is the remote machine's ip address.

    This will output the following if the necessary ports are open:
    I don't know if this is the best tool to use but it's the one I choose first.
    A good point. The diagnosis can be from either end of the chain.

    I feel that seeing actual broadcast packets shows that the ports are open and that broadcasts are being sent. With nmap you can only tell that the ports are open on the host.

  6. #26
    Join Date
    May 2010
    Beans
    30

    Re: Ubuntu 10.04 & Samba error

    A scan from my laptop shows this...

    Code:
    Interesting ports on 192.168.1.100:
    Not shown: 993 closed ports
    PORT      STATE SERVICE
    22/tcp    open  ssh
    25/tcp    open  smtp
    139/tcp   open  netbios-ssn
    445/tcp   open  microsoft-ds
    10000/tcp open  snet-sensor-mgmt
    20000/tcp open  unknown
    49153/tcp open  unknown

  7. #27
    Join Date
    Dec 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu 10.04 & Samba error

    Quote Originally Posted by verbitan View Post
    A scan from my laptop shows this...

    Code:
    Interesting ports on 192.168.1.100:
    Not shown: 993 closed ports
    PORT      STATE SERVICE
    22/tcp    open  ssh
    25/tcp    open  smtp
    139/tcp   open  netbios-ssn
    445/tcp   open  microsoft-ds
    10000/tcp open  snet-sensor-mgmt
    20000/tcp open  unknown
    49153/tcp open  unknown
    Does that mean there is no broadcast NetBIOS traffic to UDP ports 137 and 138? To browse you need UDP broadcast traffic.

    Edit: See here.
    Last edited by capscrew; August 14th, 2010 at 11:23 PM.

  8. #28
    Join Date
    May 2010
    Beans
    30

    Re: Ubuntu 10.04 & Samba error

    As far as I can tell yeah...Although I haven't setup any firewall

  9. #29
    Join Date
    May 2010
    Beans
    30

    Re: Ubuntu 10.04 & Samba error

    I have also tried this which seemed hopeful! But with no luck

  10. #30
    Join Date
    Dec 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu 10.04 & Samba error

    Quote Originally Posted by verbitan View Post
    As far as I can tell yeah...Although I haven't setup any firewall
    How did you "scan" the ports. Ntop allows you to scan UDP ports. Wireshark will definitely tell you whether you have UDP broadcasts.

Page 3 of 7 FirstFirst 12345 ... LastLast

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
  •