Announcement

Collapse
No announcement yet.

Wired Network issues

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

    Wired Network issues

    Hi all,

    I have an odd network issues.
    I have installed Kubuntu 7.04 on two amd 64 bit pc, wired to a router with switch capability. One Kubuntu release is 32 bit and one at 64 bit.
    Both can connect perfectly to internet, but they can't see each other in local network.

    What I mean is that they can also ping between them correctly, but the shares aren't seen and everytime I try to browse the local network with samba, it say that there isn't any network or a firewall is enabled.

    I haven't changed anything from original installation, but I searched through all control panel and set all ip address and dns correctly. I also have compiled the hosts file, but they can't see each other.

    Where I made mistakes?

    #2
    Re: Wired Network issues

    Did you install the samba server?.

    By default kubuntu only ships with a samba client, that means that you can browse the shares and connect to other machine shares, but you can't share folders or printers, nor been seen on the net.

    The server package is called samba in adept.

    If you do have de server installed, con you try the following command:

    Code:
    $ smbclient -L computername
    Where computer name is the name of one of the computers. Try both, it's own name and the other name. You can also try the IP addresses. Report back it results, it can give us some extra info.

    And that's all that I can thing of for now...

    Javier.

    Comment


      #3
      Re: Wired Network issues

      Hi,

      I just installed samba server (I thought that was installed automatically ) and also the nfs server, but I get the same problem of before. I think I made error configuring all network parameters, but I can't figure what

      anyway this is the answer to your test:

      $ smbclient -L kamd64bis
      Error connecting to 192.168.1.77 (Connection refused)
      Connection to kamd64bis failed

      and the same if I try with the other pc...

      This is a ping results:

      $ ping kamd64bis
      PING kamd64bis (192.168.1.77) 56(84) bytes of data.
      64 bytes from kamd64bis (192.168.1.77): icmp_seq=1 ttl=64 time=0.120 ms
      64 bytes from kamd64bis (192.168.1.77): icmp_seq=2 ttl=64 time=0.119 ms
      64 bytes from kamd64bis (192.168.1.77): icmp_seq=3 ttl=64 time=0.100 ms
      64 bytes from kamd64bis (192.168.1.77): icmp_seq=4 ttl=64 time=0.108 ms
      64 bytes from kamd64bis (192.168.1.77): icmp_seq=5 ttl=64 time=0.106 ms
      64 bytes from kamd64bis (192.168.1.77): icmp_seq=6 ttl=64 time=0.094 ms
      64 bytes from kamd64bis (192.168.1.77): icmp_seq=7 ttl=64 time=0.105 ms
      64 bytes from kamd64bis (192.168.1.77): icmp_seq=8 ttl=64 time=0.106 ms

      --- kamd64bis ping statistics ---
      8 packets transmitted, 8 received, 0% packet loss, time 7022ms
      rtt min/avg/max/mdev = 0.094/0.107/0.120/0.011 ms

      and similar results if I ping this pc with other one.

      Comment


        #4
        Re: Wired Network issues

        You will need to configure your server. If you like to know what's going on in your system, check the famous (or infamous) Unicorn's page:

        http://www.penguin.ch/dokuwiki/doku....ridge:smb_conf

        If you like a more GUI approach, I find this tutorial nice:

        http://kubuntu101.blogspot.com/2005/...ing-samba.html

        And then you will need to workaround a bug and add users:

        http://lukeplant.me.uk/blog.php?id=1107301661

        Hope that all this helps...

        Javier.

        Comment


          #5
          Re: Wired Network issues

          The info you gave to me are useful, but I'm yet stuck now, because the shared folder are seen also from the other kubuntu system, but the folder inside are not visible. It say that the shared folder doesn't exist when I click on it!

          Comment


            #6
            Re: Wired Network issues

            I don't know where there is the mistake, this is my configuration:

            Load smb config files from smb.conf
            Processing section "[printers]"
            Processing section "[print$]"
            Processing section "[CONDIVISO]"
            Processing section "[LUXINTENEBRA]"
            Loaded services file OK.
            Server role: ROLE_STANDALONE
            Press enter to see a dump of your service definitions

            [global]
            workgroup = CASA
            server string = %h server (Samba, Ubuntu)
            encrypt passwords = No
            obey pam restrictions = Yes
            passdb backend = tdbsam
            passwd program = /usr/bin/passwd %u
            passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdate d\ssuccessfully* .
            syslog = 0
            log file = /var/log/samba/log.%m
            max log size = 1000
            dns proxy = No
            panic action = /usr/share/samba/panic-action %d
            username = %S
            invalid users = root
            read only = No
            create mask = 0664
            directory mask = 0775

            [printers]
            comment = All Printers
            path = /var/spool/samba
            create mask = 0700
            printable = Yes
            browseable = No

            [print$]
            comment = Printer Drivers
            path = /var/lib/samba/printers

            [CONDIVISO]
            path = /media/sda1/Condiviso/
            admin users = ivan
            write list = anto
            guest ok = Yes
            case sensitive = No
            strict locking = No
            msdfs proxy = no

            [LUXINTENEBRA]
            path = /media/sda1/LuxinTenebra/
            admin users = ivan
            write list = anto
            guest ok = Yes
            case sensitive = No
            strict locking = No
            msdfs proxy = no

            Where the two sharing are on a NTFS disk.

            Can someone help me please?

            Thank you

            Comment


              #7
              Re: Wired Network issues (SOLVED)

              Ok, solved also this problem!

              I configured by console the sharing inside the smb.conf file and added manually with smbpasswd user and password and now work all fine with the correct autentication!

              Thank you for the links

              Comment

              Working...
              X