Author Topic: help networking between PCLOS computers  (Read 1186 times)

Offline FritoBandito

  • Full Member
  • ***
  • Posts: 178
help networking between PCLOS computers
« on: July 10, 2011, 06:30:15 PM »
Hi I followed a PCLOS magaizine article about how to network.

I setup an SMB share on 2 computers, setup my host definations (names) on both computers, shared both harddrives to all users, actually went and selected some folders to be shared but I cant seem to see the other computer.

Something pops up under MDKWORKGROUP but both sambas are setup to use MYNETWORK, in the SMB4K settings.

any ideas?

Online muungwana

  • Hero Member
  • *****
  • Posts: 6245
Re: help networking between PCLOS computers
« Reply #1 on: July 10, 2011, 08:00:35 PM »

run this command on one of the computers and post your result

 smbtree -d 2 -N
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12519
Re: help networking between PCLOS computers
« Reply #2 on: July 11, 2011, 01:13:44 AM »
Hi I followed a PCLOS magaizine article about how to network.

I setup an SMB share on 2 computers, setup my host definations (names) on both computers, shared both harddrives to all users, actually went and selected some folders to be shared but I cant seem to see the other computer.

Something pops up under MDKWORKGROUP but both sambas are setup to use MYNETWORK, in the SMB4K settings.

any ideas?


This worked for me. Maybe it will work for you too?

http://www.pclinuxos.com/forum/index.php/topic,93375.0.html


Thanks to everyone who donates. You keep the servers running.

Offline FritoBandito

  • Full Member
  • ***
  • Posts: 178
Re: help networking between PCLOS computers
« Reply #3 on: July 11, 2011, 08:16:01 PM »
Hi I followed a PCLOS magaizine article about how to network.

I setup an SMB share on 2 computers, setup my host definations (names) on both computers, shared both harddrives to all users, actually went and selected some folders to be shared but I cant seem to see the other computer.

Something pops up under MDKWORKGROUP but both sambas are setup to use MYNETWORK, in the SMB4K settings.

any ideas?


This worked for me. Maybe it will work for you too?

http://www.pclinuxos.com/forum/index.php/topic,93375.0.html


nope, now when I try to look at my server, I see only my one workgroup, but all that is inside it is "localhost" not "Desktop" (the netbios name of the server).
When i click on localhost I get "failed to retrieve share list from server".




run this command on one of the computers and post your result

 smbtree -d 2 -N


I used to get this:
Code: [Select]
smbtree -d 2 -N
smbtree: /usr/lib/libtdb.so.1: no version information available (required by smbtree)
smbtree: /usr/lib/libtdb.so.1: no version information available (required by smbtree)
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
added interface eth0 ip=fe80::6ef0:49ff:fe7c:d2e2%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=192.168.2.12 bcast=192.168.2.255 netmask=255.255.255.0
tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied
Got a positive name query response from 192.168.2.12 ( 192.168.2.12 )
Got a positive name query response from 192.168.2.12 ( 192.168.2.12 )
Got a positive name query response from 192.168.2.12 ( 192.168.2.12 )
EANDM
Got a positive name query response from 192.168.2.12 ( 192.168.2.12 )
        \\LOCALHOST                     localhost
                \\LOCALHOST\HPPSC1310           HP psc 1310
                \\LOCALHOST\IPC$                IPC Service (localhost)
                \\LOCALHOST\pdf-gen             PDF Generator (only valid users)
                \\LOCALHOST\print$       

but now that I have run Tex's thing i get this:
Code: [Select]
smbtree -d 2 -N
smbtree: /usr/lib/libtdb.so.1: no version information available (required by smbtree)
smbtree: /usr/lib/libtdb.so.1: no version information available (required by smbtree)
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
added interface eth0 ip=fe80::6ef0:49ff:fe7c:d2e2%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=192.168.2.12 bcast=192.168.2.255 netmask=255.255.255.0
tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied
Got a positive name query response from 192.168.2.12 ( 192.168.2.12 )
Got a positive name query response from 192.168.2.12 ( 192.168.2.12 )
Got a positive name query response from 192.168.2.12 ( 192.168.2.12 )
EANDM
Got a positive name query response from 192.168.2.12 ( 192.168.2.12 )
        \\LOCALHOST                     localhost
failed negprot: NT_STATUS_INVALID_NETWORK_RESPONSE

Online muungwana

  • Hero Member
  • *****
  • Posts: 6245
Re: help networking between PCLOS computers
« Reply #4 on: July 11, 2011, 08:44:39 PM »
i though you said you have two computers? those results says there is only one computer with samba running.

That one computer with samba running has a "localhost" as a netbios name, the name is supposed to be unique.

follow again texstar's instructions and use a netbios name other than "localhost" and then rerun the below command and give your output

 smbtree -d 2 -N
« Last Edit: July 11, 2011, 08:46:26 PM by muungwana »
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline FritoBandito

  • Full Member
  • ***
  • Posts: 178
Re: help networking between PCLOS computers
« Reply #5 on: July 13, 2011, 04:54:01 PM »
i though you said you have two computers? those results says there is only one computer with samba running.

That one computer with samba running has a "localhost" as a netbios name, the name is supposed to be unique.

follow again texstar's instructions and use a netbios name other than "localhost" and then rerun the below command and give your output

 smbtree -d 2 -N

I have 2 computers with samba running (checked in services and everything), and neither of them have the netbios name of localhost (they both have unique names).
I redid tex's instructions but I have the same results.

Online muungwana

  • Hero Member
  • *****
  • Posts: 6245
Re: help networking between PCLOS computers
« Reply #6 on: July 13, 2011, 05:18:45 PM »

open the terminal,type "testparm" and press "enter" to run the command and give your output(you will be asked to press enter again so pay attention to the command.

You are doing something wrong somewhere, check to see you have firewall running and  turn it off on both computers
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline thorper

  • Hero Member
  • *****
  • Posts: 851
  • Linux Counter #490490
Re: help networking between PCLOS computers
« Reply #7 on: July 22, 2011, 08:31:45 AM »
I have been trying to setup sharing between 2 PCLinuxOS 2011.6 KDE machines following both this thread and Tex's thread

http://www.pclinuxos.com/forum/index.php/topic,93375.0.html

So far I have had no luck. The best I have managed is I can see the "Share" folder on the host machine from the receiving machine but not it's contents. I have noticed that the workgroup defaults to MDVGROUP on the host but on the receiving machine there is an entry for Mdvgroup followed by an entry for MDVGROUP. This is following Tex's instructions about select Network from Dolphin then select samba-shares.

I have also removed the samba entry in PCC several times and reentered everything without success. Both machine have different names, I changed hostnames again following a post by Tex.

I have even tried to setup file sharing using the NFS option without success. I am at a complete lose as to what to do. Maybe I need to wipe the slate clean and start again, although i'm not 100% sure what needs to be done to reset both machines back to a blank start point.
Too many cops, too few donuts.