Author Topic: Basic LAN Connect Howto (Solved)  (Read 1178 times)

Offline maxpolaris

  • Full Member
  • ***
  • Posts: 95
Basic LAN Connect Howto (Solved)
« on: July 15, 2010, 01:44:01 AM »
I have just plugged 2 PC's ether-cabled to a router connected to a cable modem.
I can access the Internet from either PC ok.
In Dolphin - Network I see my 2 PC's listed as Linux and Linux_2.
What do I do now??!!  ;D

Whats the SIMPLEST way for a USER to get access to their files on each machine.
Both PC's have the same USER account and Password setup.

Any suggestion on "The Best" document, HOWTO, FAQ, or Book on Linux and Linux Networking that I should get?

Tanx!
From Me in the future to Me in the past.
http://www.pclinuxos.com/wiki/index.php/Samba_Setup


« Last Edit: July 17, 2010, 08:54:18 PM by maxpolaris »

Offline Xero

  • Sr. Member
  • ****
  • Posts: 468
Re: Basic LAN Connect Howto
« Reply #1 on: July 15, 2010, 09:52:05 AM »
There is no shame in saying "I don't know".

Offline maxpolaris

  • Full Member
  • ***
  • Posts: 95
Re: Basic LAN Connect Howto
« Reply #2 on: July 15, 2010, 10:28:44 PM »

I was under the impression Samba was only for networking between Linux and MS Windows.

Anyways thanx I'll check it out.

Offline larry1160

  • Full Member
  • ***
  • Posts: 101
Re: Basic LAN Connect Howto
« Reply #3 on: July 15, 2010, 11:12:18 PM »
ssh -XC 192.168.x.xxx

Offline maxpolaris

  • Full Member
  • ***
  • Posts: 95
Re: Basic LAN Connect Howto
« Reply #4 on: July 16, 2010, 01:34:52 AM »
XERO I could follow the instructions in that guide up to changing the name of Local Hosts which I did on both PCLinux machines. Naming them HP64 and Dad. After that I can't find specifically, Set Up A File And Print Server. Under Sharing
I only see Configure FTP and Configure Web Server. BTW proftpd and apache are not installed.
I did find under Network Sharing Configure NFS Shares: Access NFS Shared Drives and Directories and Share NFS Drives and Directories. Then under Local Disks Share your Hard Disk Partitions. Not sure why Drives and Directories are together and Partitions are separated like that. It seems to me Drive Partition Folder is the logical hierarchy.

Anyways I selected Local Disks Share Partitions and checked NFS and SMB selected ok and the Window just closed leaving me back in Local Disks, without a goodbye. I don't know if that was the right thing to do or not. Since I did the above stuff. In Dolphin I have Network (Linux-1 and Linux-2)shouldn't they now be HP64 and Dad? Network Services (Remote Fish and SFTP) Samba Shares (Awire and Workgroup) and finally Add a Network Folder.

This is curious, I have a Laptop WINXP WinNetworking that is connected via wireless to this router I'm using now and was on a non wireless switch via ethercable to a different network named AWIRE (a wired network). But there is nothing on Awire. That switch is powered off and all PC's disconnected from it. Hmmm So complex confusing and abstract. I have so many possible options to try now but have no clue where to go from here. I know if I just go poking around I'm going to tangle everything up.
« Last Edit: July 16, 2010, 02:01:41 AM by maxpolaris »

Offline maxpolaris

  • Full Member
  • ***
  • Posts: 95
Re: Basic LAN Connect Howto
« Reply #5 on: July 16, 2010, 01:53:51 AM »
Larry 1160 thanx for that suggestion I tried SSH before posting anything here.
I did the above stuff I relayed to Xero and tried again.
I have
192.168.1.1 Gateway Wireless router
192.168.1.2 WinXP Laptop Wirelessy connected to Gateway accessing Internet
192.168.1.3 This PCLinux Machine ether cabled to Gateway accessing Internet
192.168.1.4 Another PCLinux Machine ether cabled to Gateway accessing Internet

From 192.168.1.3
[norm@localhost Pictures]$ ssh -XC 192.168.1.4
ssh: connect to host 192.168.1.4 port 22: Connection refused

From 192.168.1.4
[norm@localhost ~]$ ssh -XC 192.168.1.3
ssh: connect to host 192.168.1.3 port 22: Connection refused

What do you think I need to enable or setup?

Thank you.


Offline maxpolaris

  • Full Member
  • ***
  • Posts: 95
Re: Basic LAN Connect Howto
« Reply #6 on: July 16, 2010, 02:23:57 AM »
Larry1160 Thanx I got it.
Network Services: OpenSSH Daemon Config
Then I just accepted the defaults ( Now I'm wondering about my selection Login Without Password) because I was prompted for a password?

Anyways it worked and I am viewing directories on another machine! SUCCESS!
Thanx for suggesting that again.

Can you clarify, on a new install just OpenSSH Daemon Config and thats it?
Or did that sharing stuff I did also play a role in being able to SSH?

Now I have to play and explore this new power I have! ;D

Offline airship

  • New Friend
  • *
  • Posts: 7
Re: Basic LAN Connect Howto (Still baffled)
« Reply #7 on: July 27, 2010, 09:43:59 AM »
I'm new to this discussion (27th July 2010) after breaking my brain for the past 3 days trying to link 2 PCs via a wired router. This worked fine using NFS until I upgraded my BACKUP PC to PCLinuxOS 2010 KDE. I also did that with my MAIN PC and now I simply cannot make the two talk to each other either with NFS or SAMBA. After much faffing around I can see the required directory from BACKUP on the 'Access NFS Shares Drives and Directories' utility panel after clicking Search Servers. But when I try and mount that directory as /mnt/Backups it just says failed. But it used to work before upgrading.
If anyone can help with an idiot's guide to NFS (or SAMBA 'cos that don't work either) under KDE, I'd be most grateful. It seems the detailed outline given at the head of this thread is for Gnomers.
MikeR

Offline maxpolaris

  • Full Member
  • ***
  • Posts: 95
Re: Basic LAN Connect Howto (Solved)
« Reply #8 on: August 11, 2010, 05:01:07 AM »
Airship, it seems to me just about everything I read on Linux networking is based on the classic Server/Client model.
I've never setup a real Server/Client network and so far have had limited success with limited efforts on local peer2peer setups.
For now SSH seems to do everything I really need.  Basic read write copy and execute.
I'm holding off on networking until I get around to installing a 2nd NIC on a couple of machines and setting up a Server/Client topology.
From what I gather that is the most secure and flexible route and will make it easier to follow and make sense of what people are talking about regarding
mail servers, file servers, application servers, DNS Servers etc etc etc.