Announcement

Collapse
No announcement yet.

KUBUNTU on my home network

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

    KUBUNTU on my home network

    I have three machines on my home network.  Like many people who connect their machines together via their cable modem router I store my iTunes library on the PC in the kids room, my home movies and important stuff on the Mac and, previous to installing the amazing Kubuntu on the second PC, this was used for miscellany - like games.

    The machine which is now Kubutu, despite the fact I think this is the best Linux distro I've ever seen, might be short lived and for one very simple and annoying reason.

    I seem to be reading, around the place by googling, that it isn't possible at this stage to connect to samba shares on a Mac.  Please prove me wrong!

    I tried simply entering smb://192.168.10.2 - the address of my Mac - into the address bar.  Nothing happened.

    I tried browsing networked folders.  This time Kubuntu sees the shared folders on the Windows machine in the kids room and it also sees that the Mac is configured to share too - but when I single click the Mac network icon in the Kubunu browser, in the status bar it says "No files, no folders" and if I right click the Mac icon and choose "Open remote desktop connection to this machine" it presents me with the RDP host preference dialogue box, but when I click OK it says "Connection attempt to host failed."

    At this point I get asked to enter (or browse for) the address of the RDP or VNC server in the Remote Desktop Connection window.  Despite Kubunu automatically discovering the .local name of the Mac on the network (smb://macmini.local) it can't seem to make the final leap and actually connect to it.

    Kubutu connects to the Windows machine via samba just fine, so what's so different about the version of Samba the Mac is running which Kubuntu doesn't like, and how can I fix it?

    Thanks in advance.  Jim

    Mac OS X Tiger 10.4.7
    Windows XP toilet pack 2
    Kubuntu 6.06 LTS fully updated.

    #2
    Re: KUBUNTU on my home network

    Hi Jim,
    I have two questions for you.
    1. Can you ping each computer from each computer.
    2. Do all three computer have the same Domain Name such as:
    ms.home
    mac.home
    linux.home

    Where ms, mac, and linux are the Host names and 'home' is the domain name.
    It will not work if all the computers do not have the same domain name.

    Jim

    Comment


      #3
      Re: KUBUNTU on my home network

      Originally posted by YumaJim
      Hi Jim,
      I have two questions for you.
      1. Can you ping each computer from each computer.
      2.  Do all three computer have the same Domain Name such as:
            ms.home
            mac.home
            linux.home

         Where ms, mac, and linux are the Host names and 'home' is the domain name.
          It will not work if all the computers do not have the same domain name.

      Jim
      Yes. I can ping each machine from each machine and yes they all have the same domain name. To clarify. The smb shared folder on the Mac is visible on the Linux machine if I simply enter smb://192.168.10.2/macintosh into the address bar of any KDE window. Confusingly, however, if I type mount //192.168.10.2/macintosh the sun goes supernova and my leg starts making a strange hum. Not really, but it's just as weird that I can mount the share one way and not the other, or am I being too newb?

      Comment


        #4
        Re: KUBUNTU on my home network

        Jim,
        Are you using 'host' files on each machine to do name resolution?
        Under KDE this is in System Settings, Network Settings, Domain Name System - Use Add at
        bottom of screen. On windows it's in the 'Windows directory. I have no clue about the Mac.

        regards,
        Jim

        Comment


          #5
          Re: KUBUNTU on my home network

          Originally posted by YumaJim
          Jim,
          Are you using 'host' files on each machine to do name resolution?
          Under KDE this is in System Settings, Network Settings, Domain Name System - Use Add at
          bottom of screen. On windows it's in the 'Windows directory. I have no clue about the Mac.

          regards,
          Jim
          I've done what you said, but it doesn't seem to have allowed me to mount the Mac as a drive. Am I being incredibly dumb?
          Attached Files

          Comment


            #6
            Re: KUBUNTU on my home network

            [quote author=jimgardner1973 link=topic=7890.msg32250#msg32250 date=1155984455]
            Originally posted by YumaJim
            Jim,
            Are you using 'host' files on each machine to do name resolution?
            Under KDE this is in System Settings, Network Settings, Domain Name System - Use Add at
            bottom of screen. On windows it's in the 'Windows directory. I have no clue about the Mac.

            regards,
            Jim
            I've done what you said, but it doesn't seem to have allowed me to mount the Mac as a drive.  Am I being incredibly dumb?
            I was just having the same problem myself and I found that I had to comment out the static ip lines in the '/etc/host' file that had dynmanic ip addresses assigned. In other words if your router
            is assigning dynamic addresses to a given computer remove that computers static info from the /etc/host file.
            regards,
            Jim

            Comment


              #7
              Re: KUBUNTU on my home network

              JIM,
              On the Kubutu machine I also found that in order to share a directory, I had to add an Applet
              to the kicker panel (right click panel). The Applet is called 'Network Folders'. I have one folder 'public' shared.

              regards,
              Jim

              Comment


                #8
                Re: KUBUNTU on my home network

                YumaJim. Thank you so much for your help so far, but I must admit to being still in the dark as to what exactly I need to do.

                Linux speak is very complicated and not made easier by any amount of help guides and documentation. I won't branch off into a rant about "no wonder Linux isn't more popular", but suffice to say I'm a little dismayed as to why, despite my best efforts, such a simple thing as mounting a remote drive, should be so complicated.

                Please, spell out for me in plain English, what exactly I need to do in order to "comment out the static ip lines in the '/etc/host' file that had dynmanic ip addresses assigned" and "remove that computers static info from the /etc/host file"

                Is there a file called "host" in /etc/ which I can open with pico? If so where do I look and what do I add / remove?

                Thanks again. Jim.

                Comment


                  #9
                  Re: KUBUNTU on my home network

                  I finally got my Samba setup working correctly.
                  Read the Samba HOWTO at the following link:
                  http://hr.uoregon.edu/davidrl/samba.html

                  Start reading at 'Setting up a Simple Samba server'.
                  It was very helpful for me. There are a couple
                  of things that are different in Kubuntu but,
                  they are rather simple to figure out.

                  Comment


                    #10
                    Re: KUBUNTU on my home network

                    Originally posted by YumaJim
                    I finally got my Samba setup working correctly.
                    Read the Samba HOWTO at the following link:
                    http://hr.uoregon.edu/davidrl/samba.html

                    Start reading at 'Setting up a Simple Samba server'.
                    It was very helpful for me. There are a couple
                    of things that are different in Kubuntu but,
                    they are rather simple to figure out.
                    Thanks again mate.

                    I'm still confused as to why something which is so easy to do in (spit spit) Windows, should be such a chew on in Linux - but hey ho, them's the breaks.

                    Cheers. Jim.

                    Comment


                      #11
                      Re: KUBUNTU on my home network

                      Originally posted by jimgardner1973
                      Originally posted by YumaJim
                      I finally got my Samba setup working correctly.
                      Read the Samba HOWTO at the following link:
                      http://hr.uoregon.edu/davidrl/samba.html

                      Start reading at 'Setting up a Simple Samba server'.
                      It was very helpful for me. There are a couple
                      of things that are different in Kubuntu but,
                      they are rather simple to figure out.
                      Thanks again mate.

                      I'm still confused as to why something which is so easy to do in (spit spit) Windows, should be such a chew on in Linux - but hey ho, them's the breaks.

                      Cheers. Jim.
                      Hi Jim,
                      I'm surly hoping that you got your Samba shares working. I just had one more thought
                      cross my mind. I'm running a firewall called GuardDog and beleive me it really works as it was
                      keeping me from accessing the Samba share from my :-X xp machine until I setup GuardDog
                      for Samba.
                      Jim

                      Comment


                        #12
                        Re: KUBUNTU on my home network

                        That had crossed my mind before I posted the original thread and all is find there. I configured port forwarding correctly for samba sharing.

                        I never did get it working and have re-tasked the machine to give ubuntu a whirl. Still can't get it to see a samba network connection as a mounted drive - but I'm past caring. It's a complete headache trying to get any help on such a fairly straight forward problem.

                        Thanks for your concern though - It's appreciated.

                        Comment


                          #13
                          Re: KUBUNTU on my home network

                          Jim,

                          Been fighting this problem for a while myself and given up several times but when I saw this: On the Kubutu machine I also found that in order to share a directory, I had to add an Applet
                          to the kicker panel (right click panel). The Applet is called 'Network Folders'. I have one folder 'public' shared.
                          it started to click.

                          Mouse over the bar with the Home Files and Personal Folder (Kicker Panel) and such in it, Right Click over an unused space and in the menu that is presented go up to Add Applet to panel. Once the window comes up, scroll down and highlite Network Folders and click on Add to Panel. It should put an icon with a globe with a network line at the bottem somewhere in the panel. Once you find it click on it and if you already have the Samba Shares default name and password set, you should be able to see and access your local network.

                          HTH
                          Dave.

                          Comment


                            #14
                            Re: KUBUNTU on my home network

                            Thanks for taking the time to try and help depatty, but my issue is not so much being unable to "discover" the shared folder on my Mac from the Ubuntu machine - it actually appears in the network folder right alongside the Windows XP machine also on the router hub. Unfortunately that's about all I get. The Mac's shared folder contents is empty.

                            On top of that I can't manually mount the samba share as a network drive in the command line. So I've no way of knowing if the fault is that the version of Samba the Mac is running is incompatible with the Ubuntu machine, or visa versa.

                            I wish this was as simple to do in Ubuntu as it is in Windows. Jeez - there's something I thought I'd never say.

                            Comment


                              #15
                              Re: KUBUNTU on my home network

                              Jim,

                              Sorry about that.

                              What version of OS X are you using?  I am on 10.3.9 or there about.  The problem I was having was trying to use Kubuntu on my iBook and access other linux/xp machines on the network, which by adding the kicker panel "network folders" seems to have cured the problem.

                              After getting your reply I went and rebooted my iBook to OS X and downloaded the latest beta of Kubuntu to try on my pclos X86 box.  Sure enough it could see but not mount the "Homes" folder.  Or rather told me that it didn't exist.  Went into the System Settings under the K-menu and set the default user name and password in the Sharing panel and still no go.  Then tried going to smb://daves-ibook/ and adding the name of my home folder manually like smb://daves-ibook/dave and KDE threw up a box asking for user name and password.  Entered those and it let me right in.  Now (an hour later) after being away from the machine for a bit it will even let me in via the smb://daves-ibook/homes url. 

                              Darn if I know.  Hope you get your problem straightened out.   Only reason I am using Kubuntu now is the iBook. I am tired of Apples constant addition of DRM to every phase of the OS and refuse to support them any more.  I have been using PCLOS for a year or more now on X86 hardware and have had few problems but as its not available for the ppc architecture, here I am in Ubuntu land... ;-)

                              Luck,
                              Dave

                              Comment

                              Working...
                              X