Announcement

Collapse
No announcement yet.

Network Problems

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

    #16
    OK. You also want to make sure the following packages are installed.
    libsmbclient
    python-smbc
    smbclient
    samba-common
    samba-common-bin
    sigpic

    Comment


      #17
      I got these installed and still no connection to printers or even windows machine.

      Comment


        #18
        so what do you get when you run this now?
        Code:
        smbtree
        I really can't tell if the issue is on the windows xp machine or on the Kubuntu side.
        Do you have other windows computers on your network that can access the shares (printer and files) on your windows xp machine?

        Originally posted by jim3297 View Post
        ...Also, The Windows Printer via SAMBA was in the Printer Configuration. But when I select browse I don't get any printers.
        Can you post a screen shot of this?
        sigpic

        Comment


          #19
          Sorry it took so long to answer. There is another Windows xp machine on the network, the wife's laptop. I just checked it and I can get to the other xp machine drives, and printer, also I can get to the shared file on the Kubuntu machine. I can't get anywhere from the Kubuntu side. When I first installed winbind, quite a while after samba, I was able to access every thing on the xp machine, but after I shut the machines off, at night, the next day I could not access anything.

          Comment


            #20
            Originally posted by jim3297 View Post
            ...When I first installed winbind, quite a while after samba, I was able to access every thing on the xp machine, but after I shut the machines off, at night, the next day I could not access anything.
            This could be the important clue. Why did you need to install winbind?

            At this point we won't change anything until we know why you needed winbind and see the output of the following.

            1. Why did you need to install winbind?

            2. Please past the output of the following for winbind here.
            Code:
            dpkg -l | grep winbind
            3. Please past the output of the following simulating the removal of winbind here.
            Code:
            sudo apt-get remove --simulate winbind
            Please wrap code tag around the output for examples 2. and 3. above.
            This shows how.
            sigpic

            Comment


              #21
              1. Why did you need to install winbind?
              It was sugested in a resonce to a google. I've been dealing with for a long time.

              2. Please past the output of the following for winbind here.

              Code:
              dpkg -l | grep winbind
              ii  libwbclient0                           2:3.6.3-2ubuntu2.9                            Samba winbind client library
              iU  winbind4                               4.0.0~alpha18.dfsg1-4ubuntu2                  service to resolve user and group information from Windows NT servers
              jim@Blevet:~$

              3. Please past the output of the following simulating the removal of winbind here.

              Code:
              sudo apt-get remove --simulate winbind
              [sudo] password for jim: 
              Reading package lists... Done
              Building dependency tree       
              Reading state information... Done
              Package winbind is not installed, so not removed
              The following packages were automatically installed and are no longer required:
                libgail18 python-gnome2 linux-headers-3.2.0-58-generic-pae libgnomeui-common
                linux-headers-3.2.0-58 libbonoboui2-common libbonoboui2-0 python-sqlalchemy
                python-sqlalchemy-ext python-pyorbit python-gconf python-gtkspell libgnomecanvas2-0
                libgnomeui-0 libgnomecanvas2-common python-poppler libgtkspell0 libpoppler-glib8
              Use 'apt-get autoremove' to remove them.
              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
              2 not fully installed or removed.
              Conf samba4 (4.0.0~alpha18.dfsg1-4ubuntu2 Ubuntu:12.04/precise [i386])
              Conf winbind4 (4.0.0~alpha18.dfsg1-4ubuntu2 Ubuntu:12.04/precise [i386])

              I think this is what you want.

              Comment


                #22
                Perfect! Thanks.

                Originally posted by jim3297 View Post
                1. Why did you need to install winbind?
                It was sugested in a resonce to a google. I've been dealing with for a long time...
                I think you meant to type "response to a google". Were you having a issue at that time? If so, what was it? Did installing winbin4 resolve the issue?

                Now past the output of the following for the simulated removal of winbind4.
                Code:
                sudo apt-get remove --simulate winbind4
                sigpic

                Comment


                  #23
                  The problem I had then is the same as know, no network from Kubuntu machine. As I said it worked immediatly after I installed windbind and quit after I shut the computer down for the night.


                  simulated removal of winbind4.

                  Code:
                  sudo apt-get remove winbind4
                  [sudo] password for jim: 
                  Reading package lists... Done
                  Building dependency tree       
                  Reading state information... Done
                  The following packages were automatically installed and are no longer required:
                    libgail18 python-gnome2 linux-headers-3.2.0-58-generic-pae libgnomeui-common
                    linux-headers-3.2.0-58 libbonoboui2-common libbonoboui2-0 python-sqlalchemy
                    python-sqlalchemy-ext python-pyorbit python-gconf python-gtkspell libgnomecanvas2-0
                    libgnomeui-0 libgnomecanvas2-common python-poppler libgtkspell0 libpoppler-glib8
                  Use 'apt-get autoremove' to remove them.
                  The following packages will be REMOVED:
                    winbind4
                  0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
                  2 not fully installed or removed.
                  After this operation, 412 kB disk space will be freed.
                  Do you want to continue [Y/n]? y
                  (Reading database ... 175347 files and directories currently installed.)
                  Removing winbind4 ...
                  Processing triggers for man-db ...
                  Processing triggers for libc-bin ...
                  ldconfig deferred processing now taking place
                  Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
                  Unknown parameter encountered: "Load printers"
                  Ignoring unknown parameter "Load printers"
                  Unknown parameter encountered: "printing"
                  Ignoring unknown parameter "printing"
                  Unknown parameter encountered: "printcap name"
                  Ignoring unknown parameter "printcap name"
                  Unknown parameter encountered: "admin users"
                  Ignoring unknown parameter "admin users"
                  Unknown parameter encountered: "guest ok"
                  Ignoring unknown parameter "guest ok"
                  Unknown parameter encountered: "guest ok"
                  Ignoring unknown parameter "guest ok"
                  Unknown parameter encountered: "writable"
                  Ignoring unknown parameter "writable"
                  Unknown parameter encountered: "public"
                  Ignoring unknown parameter "public"
                  Unknown parameter encountered: "guest ok"
                  Ignoring unknown parameter "guest ok"
                  Unknown parameter encountered: "guest ok"
                  Ignoring unknown parameter "guest ok"
                  Unknown parameter encountered: "public"
                  Ignoring unknown parameter "public"
                  Unknown parameter encountered: "create mode"
                  Ignoring unknown parameter "create mode"
                  Unknown parameter encountered: "guest ok"
                  Ignoring unknown parameter "guest ok"
                  Unknown parameter encountered: "Load printers"
                  Ignoring unknown parameter "Load printers"
                  Unknown parameter encountered: "printing"
                  Ignoring unknown parameter "printing"
                  Unknown parameter encountered: "printcap name"
                  Ignoring unknown parameter "printcap name"
                  Unknown parameter encountered: "admin users"
                  Ignoring unknown parameter "admin users"
                  Unknown parameter encountered: "guest ok"
                  Ignoring unknown parameter "guest ok"
                  Unknown parameter encountered: "guest ok"
                  Ignoring unknown parameter "guest ok"
                  Unknown parameter encountered: "writable"
                  Ignoring unknown parameter "writable"
                  Unknown parameter encountered: "public"
                  Ignoring unknown parameter "public"
                  Unknown parameter encountered: "guest ok"
                  Ignoring unknown parameter "guest ok"
                  Unknown parameter encountered: "guest ok"
                  Ignoring unknown parameter "guest ok"
                  Unknown parameter encountered: "public"
                  Ignoring unknown parameter "public"
                  Unknown parameter encountered: "create mode"
                  Ignoring unknown parameter "create mode"
                  Unknown parameter encountered: "guest ok"
                  Ignoring unknown parameter "guest ok"
                  /var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied
                  dpkg: error processing samba4 (--configure):
                   subprocess installed post-installation script returned error exit status 126
                  Errors were encountered while processing:
                   samba4
                  E: Sub-process /usr/bin/dpkg returned an error code (1)
                  I am also including smb.conf Maybe there is something here.

                  Code:
                  [Global]
                    workgroup = Mshome
                    server string = %h server (Samba, Kubuntu)
                    wins support = yes
                    wins server = yes
                    #wins client = w.x.y.z
                    dns proxy = no
                    Load printers = yes
                    printing = cups
                    printcap name = cups
                    security = share
                    null passwords = yes
                  
                  
                  [Security]
                    admin users = Jim
                    
                  
                  [share]
                    comment = Kubuntu File Server Share
                    path = /srv/samba/share
                    browsable = yes
                     guest ok = yes
                    read only = no
                    create mask = 0775
                    directory mask = 0775
                    
                    
                  [Print$]
                    comment = Printer Driver
                    path = /var/lib/samba/printers
                    browsable = yes
                    read only = yes
                    guest ok = yes
                    
                    
                  [printer]
                    comment = All Printers
                    browseable = no
                    path = /var/spool/samba
                    printable = yes
                    writable = no
                    public = yes
                    guest ok = yes
                    read only = yes
                    create mask = 0775
                    directory = 0775
                    
                  
                  [Print$]
                    comment = Printer Driver
                    path = /var/lib/samba/printers
                    browsable = yes
                    read only = yes
                    guest ok = no
                    
                  
                  [Public]
                    comment = Public Files
                    browseable = yes
                    public = yes
                    create mode = 0766
                    guest ok = yes
                    path = /home

                  Comment


                    #24
                    Originally posted by jim3297 View Post
                    The problem I had then is the same as know, no network from Kubuntu machine. As I said it worked immediatly after I installed windbind and quit after I shut the computer down for the night.


                    simulated removal of winbind4.

                    Code:
                    sudo apt-get remove winbind4
                    .
                    .
                    Do you want to continue [Y/n]? y
                    You didn't simulate this; you performed the removal.
                    Using Kubuntu Linux since March 23, 2007
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #25
                      Oops, I,ll reinstall it.

                      Comment


                        #26
                        Originally posted by jim3297 View Post
                        The reply I got was the smbtree was not installed, so I installed it and ran it and got:
                        MSHOMS
                        \\WIN_XP My Stuff
                        \\Blevet Blevet server (Samba, Kubuntu)
                        ...
                        The workgroup name in your smb.conf is different compared to the one shown in post #15 when you posted the output of smbtree. Check your windows computers to verify the workgroup name and paste the output from smbtree here.
                        Code:
                        smbtree
                        I'm looking at your smb.conf right now and comparing to mine. That will take a few minutes. I should be ready to respond by the time you respond to the above.
                        sigpic

                        Comment


                          #27
                          I think the difference is a type O.


                          Code:
                           smbtree
                          Enter jim's password: 
                          MSHOME
                                  \\WIN_XP                        My Stuff
                                  \\REMOTE                        Laptop
                                  \\BLEVET                        Blevet server (Samba, Kubuntu)

                          Comment


                            #28
                            Your smb.conf is very short compared to mine. Did you modify your original smb.conf or did you get yours from somewhere? Do you have a backup of your original smb.conf?

                            I used this to set up my samba print and file server the first time. I adjusted to meet my owns needs on my network.
                            Samba File Server
                            I'm successfully running a samba print and file server on older hardware with Kubuntu 12.04 LTS.

                            I need to buy some time. My wife is calling me to eat. I'll respond in a bit when I finish comparing the smb.conf files.
                            sigpic

                            Comment


                              #29
                              Originally posted by Snowhog View Post
                              You didn't simulate this; you performed the removal.
                              Thanks Snowhog. I missed that.
                              sigpic

                              Comment


                                #30
                                I have used your suggestion to do some of my smb.conf. It hasn't rained for a while so I need to see if I can get some grass cut. If I can I will take a couple hours. I'm leaving everything up and running. I'll be back. It looks like you live in Salem, Or, is that so. I live just south of that, in Albany, Or.

                                Comment

                                Working...
                                X