Announcement

Collapse
No announcement yet.

How do I get this smb share to mount

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Re: How do I get this smb share to mount

    Found the wins dat and deleted it
    Rebooted, but still no good

    neil@Kubuntu:~$ nmblookup Kubuntu
    querying Kubuntu on 192.168.1.255
    192.168.1.12 Kubuntu<00>
    neil@Kubuntu:~$ nmblookup -R -U 192.168.1.12 Kubuntu
    querying Kubuntu on 192.168.1.12
    192.168.1.12 Kubuntu<00>
    192.168.1.15 Kubuntu<00>
    169.254.3.33 Kubuntu<00>
    neil@Kubuntu:~$

    Comment


      #32
      Re: How do I get this smb share to mount

      Uhm... I'm starting to get lost.

      Code:
      $ ping 192.168.1.15
      This shouldn't work. If there where a real 192.168.1.15, it will show up in the broadcast...

      Code:
      $ ifconfig
      Can we see the contents of the wins.dat?

      Is any other of the windows machines configured as a wins server?. Maybe it's giving the linux machine a bad wins file. Can you try to shutdown the windows machines, delete the wins.dat, restar samba, and try the above commands?. Or disconect the linux machine from the network, delete the wins.dat, restart samba?.

      A workaround for the problem could be removing "wins" from the smb.conf name resolve order option. But it won't resolve the real problem.

      Javier.

      Comment


        #33
        Re: How do I get this smb share to mount

        VERSION 1 0
        "HOME#1e" 1180694602 255.255.255.255 e4R
        "SU#00" 1180726719 192.168.1.10 64R
        "KUBUNTU#03" 1180694602 192.168.1.15 192.168.1.12 169.254.3.33 66R
        "NPSONY#20" 1180726800 192.168.1.11 64R
        "KUBUNTU#20" 1180694602 192.168.1.15 192.168.1.12 169.254.3.33 66R
        " __MSBROWSE__ #01" 1180726719 255.255.255.255 e4R
        "HOME#00" 1180694602 255.255.255.255 e4R
        "SU#20" 1180726719 192.168.1.10 64R
        "NPSONY#00" 1180726800 192.168.1.11 64R
        "KUBUNTU#00" 1180694602 192.168.1.15 192.168.1.12 169.254.3.33 66R

        Even after deletion, it comes back exactly the same.
        I already have removed the WINS entry in the smb.conf file.
        Doing the restart with the other XP machines off the network

        Comment


          #34
          Re: How do I get this smb share to mount

          With all other machines of the network, and the kubuntu box stilll connected to the router.
          Smb4k, now does not see any network, not even itself with the 'wrong' IP address.

          As soon as you delete the wins.dat file, if youwait maybe 30 seconds with that folder open, the wins.dat file re appears with exactly the same lines in it.

          Comment


            #35
            Re: How do I get this smb share to mount

            Do you have a DNS or NIS server enabled?.

            Try to modify the following line in the smb.conf:

            Code:
            name resolve order = wins bcast
            Stop samba

            Code:
            $ sudo /etc/init.d/samba stop
            Delete wins.dat
            Restart samba.

            Code:
            $ sudo /etc/init.d/samba start
            And check if it works ok. If it does, then the problem is not in samba, it's in the linux name resolution system.

            This is starting to get personal .

            Javier.

            Comment


              #36
              Re: How do I get this smb share to mount

              Dont get too hopefull, but you may have cracked it.
              Now have a clean wins dat file:
              VERSION 1 0
              "HOME#1e" 1180696489 255.255.255.255 e4R
              "KUBUNTU#03" 1180696489 192.168.1.12 66R
              "KUBUNTU#20" 1180696489 192.168.1.12 66R
              "HOME#00" 1180696489 255.255.255.255 e4R
              "KUBUNTU#00" 1180696489 192.168.1.12 66R

              and smb4k is now giving the correct IP address for the Kubuntu local machine.
              Lets see what happens when Windoze come back on the scene!!

              Comment


                #37
                Re: How do I get this smb share to mount

                All windows machine now online, all seen by Kubuntu
                all correct IP addresses

                neil@Kubuntu:~$ nmblookup -R -U 192.168.1.12 Kubuntu
                querying Kubuntu on 192.168.1.12
                192.168.1.12 Kubuntu<00>
                neil@Kubuntu:~$ nmblookup Kubuntu
                querying Kubuntu on 192.168.1.255
                192.168.1.12 Kubuntu<00>
                neil@Kubuntu:~$


                Thanks so much...what an epic.

                If you are ever in Jersey, pop in for a few beers /bottle of wine

                Comment


                  #38
                  Re: How do I get this smb share to mount

                  Don't be so happy .

                  What I did is make that wins don't use the linux name resolve system (by deleting the host line from name resolve order).

                  But there is still something missconfigured in your computer. Just for the sake of completness, can you try the following commands?:

                  Code:
                  $ ping kubuntu
                  $ cat /etc/resolv.conf
                  No more fixing for today , just trying to understand what has gone wrong.

                  Javier.

                  Comment


                    #39
                    Re: How do I get this smb share to mount

                    Well that works fine, can still ping all computers via name

                    and resolve.conf shows the two DNS servers from my local ISP.

                    neil@Kubuntu:~$ cat /etc/resolv.conf
                    # generated by NetworkManager, do not edit!



                    nameserver 195.226.131.251
                    nameserver 195.226.128.3


                    Needed to set thes up to get konqueror to work properly.
                    It would do a Google search, but then none of the found links would connect.
                    Adding my ISP's DNS's to the system settings/Network settings Domain name Servers Tab, solved this

                    Comment


                      #40
                      Re: How do I get this smb share to mount

                      Well... let's call it a fact of linux.

                      Javier.

                      Comment

                      Working...
                      X