Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, this is the first time I've tried using a forum of any kind, so please bear with me.
I just started using Ubuntu Linux and I can't ever see going back to, ahem, Windows. In Windows, however, I could get a couple computers to recognize each other following their "wizards" I'll admit I'm a little confused in Linux.
I have two Acer laptops running Ubuntu 10.04 and a Netgear hub. Right now I'm just trying to get the two computers to see each other, wired.
Both computers have Internet access. I've found the Network folder and "Connect to Server..." under Places, and "Network Connections" and "Network Proxy" under Preferences. I'm not getting much sense out of the help files. The Network folder only has "Windows Network" in it. In "Network Connections" I have one item, "Auto eth0" (both computers)
Do I add folders somewhere where they can be seen, or add permissions? I know the answer must be painfully simple, what am I missing?
The WINDOWS directories sharing is called SAMBA in the linux world, just google for it to have more info, it's quite straightforward to set it under UBUNTU.
But be aware that you've got now real unixes system with a bunch of tools like rsync, scp, ssh... they could looks tough at first but once you've test them, you can't live without. Especially ssh, it permits to connect to a remote system, thus controlling your thousand and a half computers with just one keyboard...
For file/disk sharing, you can use either NFS or CIFS/SMB (MS) in Linux. There is also some perversion of other protocols built into some GUI tools, which allows you to access filesystems on other hosts. You can also connect hosts in other ways. You can login to one host from another, whereupon the commands you execute will run on that other host. There are also ways to move/copy files around from host to host.
Before anyone gets into too many details of specific methods, do you have a particular kind of 'connection' in mind?
It's just a simple home network, a router with a couple computers tied to it. Do I have to have one of the computers assigned as the host? How do I get the computer's ip? Is that the same as the the computer name?
If you are only interested in sharing files I would do the following.
1. Go to Places -> Connect to Server and fill in the info below.
2. Server = IP Address of target machine (username@192.168.1.2)
Port = 22
Folder = Folders you would like to share i.e. /home/user or maybe just /
3. I would check the "Add Bookmark" box and then name it accordingly. This bookmark will show up in "Places"
You can do this on both of your Ubuntu machines and by doing so you will have complete read and write access as is you were sitting in front of the computer.
The other computer was on, I'm just making sure this doesn't turn into one of those computer tech jokes.
Let me make sure I have my facts straight. Where you say username, that means what I'm logged in as, in my case its bruce on both computers. The other computer's IP is 192.168.0.3, and this one is 192.168.0.2
From what I've read about ip addresses, 192.168 is the same on any home network and the last numbers are determined by your router. Just because I thought I might learn something, I turned on my old desktop. This thing is nine years old, it's dual boot with Windows XP and my last connection to Microsoft. I don't use it much. It's IP is 192.168.0.4, yes, I have to admit this, I just noticed, 2, 3 and 4 are lit up on my router.
So I tried the same thing with my old computer. Same message as before only with a 4 instead of a 3.
The service type was Public FTP, is that the default? I looked at the options, I noticed SSH was one of them. I tried that and got:
Cannot display location "sftp://bruce%40bruce@192.168.0.3/home/bruce"
Connection refused by server.
Let me add to a question I asked earlier. According to the help files, inside my Network folder I should have at least two objects, "Unix Network (NFS)" and "Windows Network (SMB)"
Like SSH, I noticed these were mentioned earlier. I have the windows thing on all three of my computers but the Linux or Unix thing is missing on all of them. How do I get the Linux/Unix thing?
In the server box you will enter the user name that you would log onto that computer with if you were sitting in front of it, followed by the ip address. It should look something like "username@192.168.1.2"
Everything else should be the same. I posted an image of what it should look like just to make it easy. If you still have problems after that we can go from there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.