PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 03:05:36 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: help networking between PCLOS computers  (Read 853 times)
FritoBandito
Full Member
***
Offline Offline

Posts: 178



« on: July 10, 2011, 07: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?
Logged
muungwana
Hero Member
*****
Offline Offline

Posts: 5403


« Reply #1 on: July 10, 2011, 09:00:35 PM »


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

 smbtree -d 2 -N
Logged

.. 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 ..
Texstar
Administrator
Super Villain
*****
Offline Offline

Posts: 11805



« Reply #2 on: July 11, 2011, 02: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

Logged

Follow the development of PCLinuxOS on Twitter
Help fund the PCLinuxOS project!

"I'm not so good on advice, can I interest you in a sarcastic reply?"
FritoBandito
Full Member
***
Offline Offline

Posts: 178



« Reply #3 on: July 11, 2011, 09: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:
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:
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
Logged
muungwana
Hero Member
*****
Offline Offline

Posts: 5403


« Reply #4 on: July 11, 2011, 09: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
Logged

.. 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 ..
FritoBandito
Full Member
***
Offline Offline

Posts: 178



« Reply #5 on: July 13, 2011, 05: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.
Logged
muungwana
Hero Member
*****
Offline Offline

Posts: 5403


« Reply #6 on: July 13, 2011, 06: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
Logged

.. 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 ..
thorper
Hero Member
*****
Offline Offline

Posts: 745


Linux Counter #490490


« Reply #7 on: July 22, 2011, 09: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.
Logged

Too many cops, too few donuts.
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM