Results 1 to 7 of 7
Enjoy an ad free experience by logging in. Not a member yet? Register.
Networking 2 or more Linux Machines
- Join Date
- May 2011
- Austin, TX
Are you trying to simply connect just the two machines to each other (e.g., via a crossover cable, or a single switch with connections going to both)?
Do you want them to only be able to communicate with each other - or with the entirety of the internet also?
If the latter, do you have a router/switch for them to both communicate through or will one of them be acting as the router and providing the connection to the other?
How do you want them to talk? Just view each other's existence (ping, etc)? Enable remote login/commands (SSH)? Share files (FTP/SCP/SFTP/HTTPD)?
Just in case all of that is too technical:
Basically: What are you trying to actually accomplish (as a task, not just "connect on network")?
- Join Date
- Nov 2007
Then you need both machines to have TCP/IP connectivity (possibly already done via DHCP from your router) and *name resolution.* That is, some way that an arbitrary name resolves to an IP address. Windows users often take this for granted, not realizing that Window's very outdated/slow/insecure "NetBIOS" broadcasts are doing this without their configuration and/or consent.
You can Google for more information on name resolution. With Linux, you can enable "Windows-like" behavior by enabling Samba (although I am not sure why one would want to do this in an all-NIX environment.) Instead of trying to "make Linux behave like Windows," try learning how other OS'es work.
- Join Date
- Nov 2007
Here is your question:
I will start by saying that trying to network 2 kubuntu machines
If you don't care about these things, then the simplest solution is to Google "how to share files in XXX" where XXX is your Linux distro. Because Kubuntu is built from Ubuntu, you can use Ubuntu guides as well.
The simplest way to ensure name resolution is by setting each system with a static IP address, and then editing the /etc/hosts file on each system with the name you want to use and the static IP address. Then when the system needs to lookup system SERVER8, it always knows the IP it should be found at.
You can also use the SSH server as a "file sharing" method - one example.
In short, you can't get a good answer without a good question. When someone says "I want to do XYZ like it I do in Windows" they are placing extraneous requirements without asking their core question - how do you share files in Kubuntu? (Or is it really a requirement to look exactly like Windows?)
So i understand now. I did not think it would be so different to set up a local area network in Linux. So i must edit the config file so when i open the config folder it will let me see Linux machines and if samba is installed and configured properly windows machines. I do not require it to look just like windows i simply used that as the platform in an attempt to convey that task i am attempting to perform and what results i would like from the task. and i know Linux can see and read and write to both windows and Linux machines alike as i had an Pre-configured version i used on a thumb drive that i loved simply for its ability to do this. all i am trying to do is recreate this environment on a full install. i don't think that should be such a hard question to answer. for example you informed me i must edit this config file in a certain folder, OK fine. what parts in particular must be edited for me to accomplish this task? should i post a copy of that config file on the forum? and if i did would this help you assist me on what to edit and why i would edit it. this is what i seek.
Last edited by dureal99d; 05-19-2012 at 01:30 PM.