How to Connect linux and windows computers for file transfer and file sharing please tell me a way I have a router how can I use that to connect two machines both running on two different OS.
I to shall assume Ubuntu. Samba will do nicely. You could also use FTP/SFTP depending on file size.
https://help.ubuntu.com/10.04/serverguide/ftp-server.html
If you give us more specifics as to what you want to do we can give more detailed answers.
These might be good places to start.
EDIT: Based on your above comment you tried something and couldn't get it to work. So lets go through steps for Samba hosted through your Linux machine.
Start off by opening your terminal
sudo apt-get install samba
sudo nano /etc/samba/smb.conf
Edit:
;Security = user
to:
Security = user
Ctrl X to exit and Y to save the file.
Now set a samba password for your user with:
sudo smbpasswd -a username
Make your samba directory and edit the permissions on it.
sudo mkdir /home/samba
sudo chown -R username:username /home/samba
sudo chmod -R 700 /home/samba
Set your samba folder up:
sudo nano /etc/samba/smb.conf
Scroll down to the list of current setups. Think it's somewhere under the header printers and put something like:
[home share]
comment = Ubuntu File Server Share
path = /home/samba
browsable = yes
guest ok = yes
read only = no
valid users = @username
Ctrl X to exit and Y to save.
Now restart Samba
sudo service samba restart
To get your IP to connect run and note down the IP 192.168.....(whatever it is):
ifconfig
Go onto your Windows machine and Ctrl R to run. Type \ip of linux machine and Enter
Try something like that should give you a nice setup Samba file share on your internal network.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments