LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   New to Networking, teething problems. (https://www.linuxquestions.org/questions/linux-networking-3/new-to-networking-teething-problems-654107/)

asininity 07-07-2008 11:37 AM

New to Networking, teething problems.
 
I have two computers one connects wirelessly to my router the other is wired, the wired one is a dual boot windows/linux(Lint Mint) box the other (wireless) a linux box(Ubuntu8.04).

How do I network a linux and a windows PC together? I installed samba and I can see the windows workgroup in linux but can't access anything and the only way I can access anything in linux from windows is to open up the permissions so everyone can access the file, which isn't healthy!

Also how do you network two linux PCs together? For when the dual boot is in Mint?

I know I'm missing something but every time I search the internet all the guides say is connect them to the router and thats it.

Any help is much appreciated.

Cheers.

MS3FGX 07-07-2008 12:39 PM

I suspect the problem you are having with the guides is that you aren't looking for the right thing. You don't need a guide telling you how to network the machines, you have already done that. You are beyond networking, and are now talking about protocols to run on top of the existing network.

What you really want is a Samba setup guide. Such as the Official HOWTO, or this one from the Ubuntu forums.

asininity 07-07-2008 01:54 PM

Thanks for that much appreciated! I'll take a look, will those how to's work with linux to linux networking as well?

MS3FGX 07-07-2008 02:15 PM

For Linux-to-Linux file transfers, you would be better off using NFS. It is a much better choice for pure-Unix environments, as it is much more robust and includes features that Windows machines cannot support.

That said, you can certainly use Samba to transfer files between two Linux machines if you chose to. I have a mixed network with one primary fileserver running Samba; even though I could connect to it via NFS with my Linux clients, I just use Samba for everything for the sake of simplicity.

asininity 07-07-2008 03:38 PM

Cool thanks for that, any decent guide for NFS around?

resetreset 07-08-2008 07:29 AM

Quote:

Originally Posted by asininity (Post 3206964)
Cool thanks for that, any decent guide for NFS around?

I think its just a option for mount, but theres stuff about STATEs that you have to know about I think (unplugging a machine with a mount connected), search.....

shahz 07-08-2008 07:33 AM

what do you want to do with two machines if file transfring then

NFS
FTP
SAMBA

try one of them

thanks

asininity 07-11-2008 02:32 PM

Useful as ever thanks anyway.

ramram29 07-11-2008 02:55 PM

I would suggest samba. You need to make sure the WORGROUP names are the same and that the username and passwords that can access the shared directories are the same and that they have full permission for those directories. Apart from that there may be a few global configuration options in smb.conf but that's what you need to aim for.

What I suggest is to create a shared directory in your Linux box then you can access it from Windows to upload and download files.


All times are GMT -5. The time now is 03:44 PM.