Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: [SOLVED] Samba stopped working

  1. #11
    Join Date
    Nov 2005
    Location
    Westland, MI
    Beans
    59
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Samba stopped working

    Quote Originally Posted by dmizer View Post
    okay ... i don't know why it was working before but:

    • your ifconfig indicates that you're getting internet on eth0 with a local ip of 192.168.10.10.
    • your smb.conf has these two lines:

    Code:
    bind interfaces only = yes
    interfaces = em1
    what this means is that smb.conf is set to only accept incomming samba connections from the em1 interface. but you do not have an ethernet connection on em1, your ethernet connection is eth1.

    you could do two things to fix this.
    1) simply remove those options.
    2) change "interfaces = em1" to "interfaces = eth1"

    then restart samba:
    Code:
    sudo /etc/init.d/samba restart
    Bingo! (Except I had to change it to eth0, no biggie). That's odd that it worked before too, oh well who cares? I must have read over that config file a dozen times and I never caught that. Thanks for the help!

  2. #12
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Samba stopped working

    Quote Originally Posted by starfleetcaptainrob View Post
    (Except I had to change it to eth0, no biggie).[snip]
    oops ... i'll fix that

    glad you're working again!

  3. #13
    Join Date
    Sep 2010
    Beans
    1

    Re: [SOLVED] Samba stopped working

    wow, this worked immediately for me....which begs the question how the hell has it been working for the last 3 months with eth1 set when I had no eth1 connection!

    Thanks for the post

  4. #14
    Join Date
    Mar 2009
    Location
    Cape Cod, MA USA
    Beans
    42
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [SOLVED] Samba stopped working

    I had the similar symptoms--computers on the network, including VMs, could not see each other (ubuntu or windows, although windows 7 computers could see each other only).

    I found the following in smb.conf networking section:
    ; interfaces=127.0.0.0/8 eth0
    ; bind interfaces only = yes"

    I commented these lines and restarted samba (for me, on lucid, it was "sudo smbd restart") and all was well.

    This all happened after a samba update via update manager followed by shutdown/restart of all computers in anticipation of the Hurricane Irene.

    Thanks for the help.

Page 2 of 2 FirstFirst 12

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
  •